Skip to content

Commit

Permalink
Update workflows/demultiplex.nf
Browse files Browse the repository at this point in the history
Co-authored-by: Gregor Sturm <[email protected]>
  • Loading branch information
apeltzer and grst authored Oct 31, 2024
1 parent c53abee commit 1df1a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/demultiplex.nf
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ workflow DEMULTIPLEX {
// Prepare metamap with fastq info
ch_meta_fastq = ch_raw_fastq.map { meta, fastq_files ->
// Determine the publish directory based on the lane information
meta.publish_dir = publish_dir = meta.lane ? "${params.outdir}/${meta.fcid}/L00${meta.lane}" : "${params.outdir}/${meta.fcid}" //Must be fcid because id gets modified
meta.publish_dir = meta.lane ? "${params.outdir}/${meta.fcid}/L00${meta.lane}" : "${params.outdir}/${meta.fcid}" //Must be fcid because id gets modified
meta.fastq_1 = "${meta.publish_dir}/${fastq_files[0].getName()}"

// Add full path for fastq_2 to the metadata if the sample is not single-end
Expand Down

0 comments on commit 1df1a08

Please sign in to comment.