Skip to content

Commit 99c807d

Browse files
authored
Merge pull request #186 from apeltzer/fastqc-optional
Add Skipping FastQC
2 parents e64a57d + 02b7748 commit 99c807d

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88

99
### `Added`
1010

11+
* [#186](https://github.com/nf-core/eager/pull/186) - Make FastQC skipping [possible]
12+
/(https://github.com/nf-core/eager/issues/182)
1113
### `Fixed`
1214
* [#172](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
1315

docs/usage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ Turns off the computation of library complexity estimation.
299299

300300
Turns off adaptor trimming and paired-end read merging. Equivalent to setting both `--skip_collapse` and `--skip_trim`.
301301

302+
### `--skip_fastqc`
303+
304+
Turns off FastQC in the beginning to speed up the pipeline.
305+
302306
### `--skip_damage_calculation`
303307

304308
Turns off the DamageProfiler module to compute DNA damage profiles.

main.nf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ params.email = false
148148
params.plaintext_email = false
149149

150150
// Skipping parts of the pipeline for impatient users
151+
params.skip_fastqc = false
151152
params.skip_adapterremoval = false
152153
params.skip_preseq = false
153154
params.skip_damage_calculation = false
@@ -532,6 +533,8 @@ process fastqc {
532533
publishDir "${params.outdir}/FastQC", mode: 'copy',
533534
saveAs: {filename -> filename.indexOf(".zip") > 0 ? "zips/$filename" : "$filename"}
534535

536+
when: !params.skip_fastqc
537+
535538
input:
536539
set val(name), file(reads) from ch_read_files_fastqc.mix(ch_read_files_converted_fastqc)
537540

@@ -650,7 +653,7 @@ process fastqc_after_clipping {
650653
publishDir "${params.outdir}/FastQC/after_clipping", mode: 'copy',
651654
saveAs: {filename -> filename.indexOf(".zip") > 0 ? "zips/$filename" : "$filename"}
652655

653-
when: !params.bam && !params.skip_adapterremoval
656+
when: !params.bam && !params.skip_adapterremoval && !params.skip_fastqc
654657

655658
input:
656659
set val(name), file(reads) from ch_clipped_reads_for_fastqc

0 commit comments

Comments
 (0)