Skip to content

Commit 1a64623

Browse files
committed
Fix FASTQ concatenation
1 parent c5fd154 commit 1a64623

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

subworkflows/local/bsj_detection.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ workflow BSJ_DETECTION {
228228
.mix( ch_bsj_bed_combined.map{ meta, f -> true } )
229229
// If no circular RNAs were found, stop the pipeline
230230
.filter{ it }
231-
.view()
232231
.ifEmpty{
233232
error (
234233
"No circular RNAs were found by at least ${params.min_tools} tools and in at least ${params.min_samples} samples.\n" +

subworkflows/local/utils_nfcore_circrna_pipeline/main.nf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ workflow PIPELINE_INITIALISATION {
8686
.map { samplesheet ->
8787
validateInputSamplesheet(samplesheet)
8888
}
89-
.map {
90-
meta, fastqs ->
91-
return [ meta, fastqs.flatten() ]
92-
}
9389
.set { ch_samplesheet }
9490

9591
emit:

workflows/circrna/main.nf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,19 @@ workflow CIRCRNA {
7575
.branch {
7676
meta, fastqs ->
7777
single : fastqs.size() == 1
78-
return [ meta, fastqs ]
78+
return [ meta, fastqs.flatten() ]
7979
multiple: fastqs.size() > 1
80-
return [ meta, fastqs ]
80+
return [ meta, fastqs.flatten() ]
8181
}
8282
.set { ch_fastq }
8383

8484
// MODULE:
8585
// Concatenate FastQ files from same sample if required
8686
CAT_FASTQ (ch_fastq.multiple)
8787
.reads
88-
.mix(ch_fastq.single)
88+
.mix(
89+
ch_fastq.single
90+
)
8991
.set { ch_cat_fastq }
9092
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions)
9193

0 commit comments

Comments
 (0)