File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,16 @@ workflow SEQINSPECTOR {
3636 // MODULE: Run Seqkit sample to perform subsampling
3737 //
3838 if (params. sample_size > 0 ) {
39- ch_sample_sized = ch_samplesheet. join(
40- SEQTK_SAMPLE (
41- ch_samplesheet. map {
42- meta, reads -> [meta, reads, params. sample_size]
43- }
44- ). reads, by : [0 ]
45- )
39+ ch_sample_sized = SEQTK_SAMPLE (
40+ ch_samplesheet. map {
41+ meta, reads -> [meta, reads, params. sample_size]
42+ }
43+ ). reads
4644 ch_versions = ch_versions. mix(SEQTK_SAMPLE . out. versions. first())
4745 } else {
4846 // No do subsample
4947 ch_sample_sized = ch_samplesheet. map {
50- meta, reads -> [meta, reads, [] ]
48+ meta, reads -> [meta, reads]
5149 }
5250 }
5351
@@ -56,7 +54,7 @@ workflow SEQINSPECTOR {
5654 //
5755 FASTQC (
5856 ch_sample_sized. map {
59- meta, reads, subsampled -> [meta, reads ]
57+ meta, subsampled -> [meta, subsampled ]
6058 }
6159 )
6260 ch_multiqc_files = ch_multiqc_files. mix(FASTQC . out. zip)
You can’t perform that action at this time.
0 commit comments