Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Initial release of nf-core/seqinspector, created with the [nf-core](https://nf-c
- [#150](https://github.com/nf-core/seqinspector/pull/150) Fix pipeline linting issues
- [#162](https://github.com/nf-core/seqinspector/pull/162) Fix bugs in qc_bam and prepare_genome subworkflows and add tests
- [#163](https://github.com/nf-core/seqinspector/pull/163) Run fastqscreen with subsampled data if available
- [#167](https://github.com/nf-core/seqinspector/pull/167) RunDirParser is now skipped if no Run Directory information is available

### `Changed`

Expand Down
3 changes: 3 additions & 0 deletions workflows/seqinspector.nf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ workflow SEQINSPECTOR {
// From samplesheet channel serving (sampleMetaObj, sampleReadsPath) tuples:
// --> Create new rundir channel serving (rundirMetaObj, rundirPath) tuples
ch_rundir = ch_samplesheet
.filter { meta, _reads -> meta.rundir.size() > 0 }
.map { meta, _reads -> [meta.rundir, meta] }
.groupTuple()
.map { rundir, metas ->
Expand All @@ -82,6 +83,8 @@ workflow SEQINSPECTOR {
[dir_meta, rundir]
}

ch_rundir.ifEmpty { log.warn "No samples with rundir found, skipping RUNDIRPARSER" }

RUNDIRPARSER(ch_rundir)

ch_multiqc_files = ch_multiqc_files.mix(RUNDIRPARSER.out.multiqc)
Expand Down