Skip to content

Commit

Permalink
Revert "Reads metadata fix"
Browse files Browse the repository at this point in the history
This reverts commit 1fc6261.
  • Loading branch information
sgsutcliffe committed Sep 23, 2024
1 parent d676e97 commit d23da98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workflows/snvphylnfc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ workflow SNVPHYL {
fastq_2 ? tuple(meta, [ file(fastq_1), file(fastq_2) ], reference_assembly) :
tuple(meta, [ file(fastq_1) ], file(reference_assembly))}

// Channel of read tuples (meta, [fastq_1, fastq_2*]):
reads = input.map { meta, reads, reference_assembly -> tuple(meta, reads) }

// Channel of sample tuples (meta, assembly):
sample_assemblies = input.map { meta, reads, reference_assembly -> tuple(meta, reference_assembly ? reference_assembly : null) }
Expand All @@ -122,9 +124,6 @@ workflow SNVPHYL {
return [meta, reads, reference_assembly]
}

// Channel of read tuples (meta, [fastq_1, fastq_2*]):
reads = input.map { meta, reads, reference_assembly -> tuple(meta, reads) }

INDEXING(
reference_genome
)
Expand Down

0 comments on commit d23da98

Please sign in to comment.