Skip to content

Commit

Permalink
fix map
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Mar 2, 2023
1 parent 8524d37 commit 59b3d0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflows/sarek.nf
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,9 @@ workflow SAREK {

cram_applybqsr = Channel.empty().mix(
BAM_TO_CRAM.out.alignment_index.join(input_only_table, failOnDuplicate: true, failOnMismatch: true),
input_recal_convert.cram) // Join together converted cram with input tables
.map{ meta, cram, crai -> [ meta - meta.subMap('data_type') + [data_type: "cram"], cram, crai ]}
input_recal_convert.cram)
// Join together converted cram with input tables
.map{ meta, cram, crai, table -> [ meta - meta.subMap('data_type') + [data_type: "cram"], cram, crai, table ]}
}

if (!(params.skip_tools && params.skip_tools.split(',').contains('baserecalibrator'))) {
Expand Down

0 comments on commit 59b3d0d

Please sign in to comment.