File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
utils_nfcore_circrna_pipeline Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ workflow BSJ_DETECTION {
228
228
.mix( ch_bsj_bed_combined. map{ meta , f -> true } )
229
229
// If no circular RNAs were found, stop the pipeline
230
230
.filter{ it }
231
- .view()
232
231
.ifEmpty{
233
232
error (
234
233
" No circular RNAs were found by at least ${ params.min_tools} tools and in at least ${ params.min_samples} samples.\n " +
Original file line number Diff line number Diff line change @@ -86,10 +86,6 @@ workflow PIPELINE_INITIALISATION {
86
86
.map { samplesheet ->
87
87
validateInputSamplesheet(samplesheet)
88
88
}
89
- .map {
90
- meta, fastqs ->
91
- return [ meta, fastqs. flatten() ]
92
- }
93
89
.set { ch_samplesheet }
94
90
95
91
emit :
Original file line number Diff line number Diff line change @@ -75,17 +75,19 @@ workflow CIRCRNA {
75
75
.branch {
76
76
meta, fastqs ->
77
77
single : fastqs. size() == 1
78
- return [ meta, fastqs ]
78
+ return [ meta, fastqs. flatten() ]
79
79
multiple : fastqs. size() > 1
80
- return [ meta, fastqs ]
80
+ return [ meta, fastqs. flatten() ]
81
81
}
82
82
.set { ch_fastq }
83
83
84
84
// MODULE:
85
85
// Concatenate FastQ files from same sample if required
86
86
CAT_FASTQ (ch_fastq. multiple)
87
87
.reads
88
- .mix(ch_fastq. single)
88
+ .mix(
89
+ ch_fastq. single
90
+ )
89
91
.set { ch_cat_fastq }
90
92
ch_versions = ch_versions. mix(CAT_FASTQ . out. versions)
91
93
You can’t perform that action at this time.
0 commit comments