Skip to content

Commit

Permalink
Fix passing on adapter seq to mirtrace module
Browse files Browse the repository at this point in the history
  • Loading branch information
apeltzer committed Apr 17, 2024
1 parent ee857c5 commit aecb218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/local/mirtrace.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workflow MIRTRACE {
//Directly using val(reads) as in previous versions is not reliable as staging between work directories is not 100% reliable if not explicitly defined via nextflow itself
//mirtrace is a bit peculiar in parsing these config files, so looked it up in the source how its done. this way should work
ch_mirtrace_config =
reads.map { adapter, ids, reads -> [ids,reads]}
reads.map { adapter, ids, reads -> [adapter, ids,reads]}
.transpose()
.collectFile { adapter, id, path -> "./${path.getFileName().toString()},${id},${adapter},${params.phred_offset}\n" } // operations need a channel, so, should be outside the module

Expand Down

0 comments on commit aecb218

Please sign in to comment.