Skip to content

Commit

Permalink
Simply use the whole base name to name the channel
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Nov 6, 2023
1 parent e222d3b commit e09862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/readmapping.nf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ workflow READMAPPING {
// SUBWORKFLOW: Uncompress and prepare reference genome files
//
ch_fasta
| map { [ [ id: it.baseName.tokenize(".")[0..1].join(".") ], it ] }
| map { [ [ id: it.baseName ], it ] }
| set { ch_genome }

PREPARE_GENOME ( ch_genome )
Expand Down

0 comments on commit e09862e

Please sign in to comment.