Skip to content
Snippets Groups Projects
Commit 67b0e41e authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Move fastqc before trim

parent 1f07208d
Branches
Tags
2 merge requests!65Develop,!64Resolve "samtools sort: couldn't allocate memory for bam_mem"
...@@ -284,12 +284,12 @@ if (fastqsForce != "") { ...@@ -284,12 +284,12 @@ if (fastqsForce != "") {
.ifEmpty { exit 1, "override inputBag file not found: ${fastqsForce}" } .ifEmpty { exit 1, "override inputBag file not found: ${fastqsForce}" }
.collect().into { .collect().into {
fastqs_parseMetadata fastqs_parseMetadata
fastqs_trimData fastqs_fastqc
} }
} else { } else {
fastqs.into { fastqs.into {
fastqs_parseMetadata fastqs_parseMetadata
fastqs_trimData fastqs_fastqc
} }
} }
...@@ -542,7 +542,6 @@ process trimData { ...@@ -542,7 +542,6 @@ process trimData {
output: output:
path ("*.fq.gz") into fastqsTrim path ("*.fq.gz") into fastqsTrim
path ("*.fastq.gz", includeInputs:true) into fastqs_fastqc
path ("*_trimming_report.txt") into trimQC path ("*_trimming_report.txt") into trimQC
path ("readLength.csv") into readLengthInfer_fl path ("readLength.csv") into readLengthInfer_fl
...@@ -1659,17 +1658,16 @@ process fastqc { ...@@ -1659,17 +1658,16 @@ process fastqc {
path (fastq) from fastqs_fastqc path (fastq) from fastqs_fastqc
val fastqCountError_fastqc val fastqCountError_fastqc
val fastqReadError_fastqc val fastqReadError_fastqc
val speciesError_fastqc
val pipelineError_fastqc val pipelineError_fastqc
output: output:
path ("*.fastq.gz", includeInputs:true) into fastqs_trimData
path ("*_fastqc.zip") into fastqc path ("*_fastqc.zip") into fastqc
path ("rawReads.csv") into rawReadsInfer_fl path ("rawReads.csv") into rawReadsInfer_fl
when: when:
fastqCountError_fastqc == 'false' fastqCountError_fastqc == 'false'
fastqReadError_fastqc == 'false' fastqReadError_fastqc == 'false'
speciesError_fastqc == 'false'
pipelineError_fastqc == 'false' pipelineError_fastqc == 'false'
script: script:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment