mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Added the statistical tests and conversion to vcf
This commit is contained in:
parent
6678ad4426
commit
bdff37c3d7
3 changed files with 8 additions and 2 deletions
|
@ -21,17 +21,22 @@ process VARDICTJAVA {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
|
def args_conversion = task.ext.args_conversion ?: ''
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
vardict-java \\
|
vardict-java \\
|
||||||
$args \\
|
$args \\
|
||||||
-c 1 -S 2 -E 3 -h \\
|
-c 1 -S 2 -E 3 \\
|
||||||
-b $bam \\
|
-b $bam \\
|
||||||
-th $task.cpus \\
|
-th $task.cpus \\
|
||||||
-N $prefix \\
|
-N $prefix \\
|
||||||
-G $reference_fasta \\
|
-G $reference_fasta \\
|
||||||
$regions_of_interest \\
|
$regions_of_interest \\
|
||||||
|
| teststrandbias.R \\
|
||||||
|
| var2vcf_valid.pl \\
|
||||||
|
$args_conversion \\
|
||||||
|
-N $prefix \\
|
||||||
| gzip -c > ${prefix}.vcf.gz
|
| gzip -c > ${prefix}.vcf.gz
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
|
|
@ -4,5 +4,6 @@ process {
|
||||||
|
|
||||||
withName: VARDICTJAVA {
|
withName: VARDICTJAVA {
|
||||||
ext.args = ''
|
ext.args = ''
|
||||||
|
ext.args_conversion = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -4,6 +4,6 @@
|
||||||
- vardictjava
|
- vardictjava
|
||||||
files:
|
files:
|
||||||
- path: output/vardictjava/test.vcf.gz
|
- path: output/vardictjava/test.vcf.gz
|
||||||
md5sum: 2179dcaee6183495b421293f42db11b5
|
md5sum: 3f1f227afc532bddeb58f16fd3013fc8
|
||||||
- path: output/vardictjava/versions.yml
|
- path: output/vardictjava/versions.yml
|
||||||
md5sum: aac455b8c9c9194c5fed80e4fd495b96
|
md5sum: aac455b8c9c9194c5fed80e4fd495b96
|
||||||
|
|
Loading…
Reference in a new issue