@@ -16,21 +16,21 @@ process MANTA_GERMLINE {
1616 path(config)
1717
1818 output:
19- tuple val(meta), path(" *candidate_small_indels.vcf.gz" ) , emit: candidate_small_indels_vcf
20- tuple val(meta), path(" *candidate_small_indels.vcf.gz.tbi" ), emit: candidate_small_indels_vcf_tbi
21- tuple val(meta), path(" *candidate_sv.vcf.gz" ) , emit: candidate_sv_vcf
22- tuple val(meta), path(" *candidate_sv.vcf.gz.tbi" ) , emit: candidate_sv_vcf_tbi
23- tuple val(meta), path(" *diploid_sv.vcf.gz" ) , emit: diploid_sv_vcf
24- tuple val(meta), path(" *diploid_sv.vcf.gz.tbi" ) , emit: diploid_sv_vcf_tbi
25- path " versions.yml " , emit: versions
19+ tuple val(meta), path(" *candidate_small_indels.vcf.gz" ) , emit: candidate_small_indels_vcf
20+ tuple val(meta), path(" *candidate_small_indels.vcf.gz.tbi" ) , emit: candidate_small_indels_vcf_tbi
21+ tuple val(meta), path(" *candidate_sv.vcf.gz" ) , emit: candidate_sv_vcf
22+ tuple val(meta), path(" *candidate_sv.vcf.gz.tbi" ) , emit: candidate_sv_vcf_tbi
23+ tuple val(meta), path(" *diploid_sv.vcf.gz" ) , emit: diploid_sv_vcf
24+ tuple val(meta), path(" *diploid_sv.vcf.gz.tbi" ) , emit: diploid_sv_vcf_tbi
25+ tuple val( " ${ task.process } " ), val( " manta " ), eval( " configManta.py --version " ), topic: versions , emit: versions_manta
2626
2727 when:
2828 task. ext. when == null || task. ext. when
2929
3030 script:
3131 def args = task. ext. args ?: ' '
3232 def prefix = task. ext. prefix ?: " ${ meta.id} "
33- def input_files = input. collect{" --bam ${ it } " }. join(' ' )
33+ def input_files = input. collect{ bam -> " --bam ${ bam } " }. join(' ' )
3434 def options_manta = target_bed ? " --callRegions $target_bed " : " "
3535 def config_option = config ? " --config ${ config} " : " "
3636 """
@@ -56,11 +56,6 @@ process MANTA_GERMLINE {
5656 ${ prefix} .diploid_sv.vcf.gz
5757 mv manta/results/variants/diploidSV.vcf.gz.tbi \\
5858 ${ prefix} .diploid_sv.vcf.gz.tbi
59-
60- cat <<-END_VERSIONS > versions.yml
61- "${ task.process} ":
62- manta: \$ ( configManta.py --version )
63- END_VERSIONS
6459 """
6560
6661 stub:
@@ -72,10 +67,5 @@ process MANTA_GERMLINE {
7267 touch ${ prefix} .candidate_sv.vcf.gz.tbi
7368 echo "" | gzip > ${ prefix} .diploid_sv.vcf.gz
7469 touch ${ prefix} .diploid_sv.vcf.gz.tbi
75-
76- cat <<-END_VERSIONS > versions.yml
77- "${ task.process} ":
78- manta: \$ ( configManta.py --version )
79- END_VERSIONS
8070 """
8171}
0 commit comments