Added the statistical tests and conversion to vcf

This commit is contained in:
Nicolas Vannieuwkerke 2022-04-28 15:33:27 +02:00
parent 6678ad4426
commit bdff37c3d7
3 changed files with 8 additions and 2 deletions

View file

@ -21,17 +21,22 @@ process VARDICTJAVA {
script:
def args = task.ext.args ?: ''
def args_conversion = task.ext.args_conversion ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
vardict-java \\
$args \\
-c 1 -S 2 -E 3 -h \\
-c 1 -S 2 -E 3 \\
-b $bam \\
-th $task.cpus \\
-N $prefix \\
-G $reference_fasta \\
$regions_of_interest \\
| teststrandbias.R \\
| var2vcf_valid.pl \\
$args_conversion \\
-N $prefix \\
| gzip -c > ${prefix}.vcf.gz
cat <<-END_VERSIONS > versions.yml

View file

@ -4,5 +4,6 @@ process {
withName: VARDICTJAVA {
ext.args = ''
ext.args_conversion = ''
}
}

View file

@ -4,6 +4,6 @@
- vardictjava
files:
- path: output/vardictjava/test.vcf.gz
md5sum: 2179dcaee6183495b421293f42db11b5
md5sum: 3f1f227afc532bddeb58f16fd3013fc8
- path: output/vardictjava/versions.yml
md5sum: aac455b8c9c9194c5fed80e4fd495b96