Skip to content

Commit

Permalink
update subworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ramprasadn committed Jan 25, 2024
1 parent cb91dc8 commit 38340ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion subworkflows/local/call_mobile_elements.nf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ workflow CALL_MOBILE_ELEMENTS {

// Fix the vcf by adding header, sorting and indexing
BCFTOOLS_REHEADER_ME (
RETROSEQ_CALL.out.vcf.map{ meta, vcf -> [ meta, vcf, [] ] },
RETROSEQ_CALL.out.vcf.map{ meta, vcf -> [ meta, vcf, [], [] ] },
ch_genome_fai
)
BCFTOOLS_SORT_ME ( BCFTOOLS_REHEADER_ME.out.vcf )
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/call_repeat_expansions.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ workflow CALL_REPEAT_EXPANSIONS {

// Fix header and rename sample
BCFTOOLS_REHEADER_EXP (
EXPANSIONHUNTER.out.vcf.map{ meta, vcf -> [ meta, vcf, [] ]},
EXPANSIONHUNTER.out.vcf.map{ meta, vcf -> [ meta, vcf, [], [] ]},
ch_genome_fai
)
RENAMESAMPLE_EXP ( BCFTOOLS_REHEADER_EXP.out.vcf )
Expand Down
4 changes: 2 additions & 2 deletions subworkflows/local/variant_calling/call_sv_manta.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ workflow CALL_SV_MANTA {
.combine(bai_file_list)
.map { it -> it + [ [], [] ] }
.set { manta_input }
MANTA ( manta_input, ch_genome_fasta, ch_genome_fai )
MANTA ( manta_input, ch_genome_fasta, ch_genome_fai, [] )
} else {
ch_case_info.combine(bam_file_list)
.combine(bai_file_list)
.combine(bed_input)
.set { manta_input }
MANTA ( manta_input, ch_genome_fasta, ch_genome_fai )
MANTA ( manta_input, ch_genome_fasta, ch_genome_fai, [] )
}

ch_versions = MANTA.out.versions
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/variant_evaluation.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ workflow VARIANT_EVALUATION {
.map { row ->
evregions = row.evaluationregions[0].isEmpty() ? [] : row.evaluationregions[0]
bedregions = row.bedregions[0].isEmpty() ? [] : row.bedregions[0]
return [[samplename:row.samplename[0], bedregions:bedregions, evaluationregions:evregions], row.vcf[0], []]
return [[samplename:row.samplename[0], bedregions:bedregions, evaluationregions:evregions], row.vcf[0], [], []]
}
.set { ch_rtgvcfs_dbs }

Expand Down

0 comments on commit 38340ba

Please sign in to comment.