diff --git a/workflow/conf/biohpc.config b/workflow/conf/biohpc.config index cb26993120b8d7194be723a5dd600f8befb7789a..d9ac406b8bf1044a0d5ffcfcd507c4186ecfc9d2 100755 --- a/workflow/conf/biohpc.config +++ b/workflow/conf/biohpc.config @@ -15,8 +15,13 @@ process { module = ['cellranger/3.0.2', 'bcl2fastq/2.19.1'] queue = '128GB,256GB,256GBv1,384GB' } + withLabel: fastqc { + module = ['fastqc/0.11.5', 'parallel'] + executor = 'local' + } withLabel: multiqc { module = ['multiqc/1.7'] + executor = 'local' } } diff --git a/workflow/main.nf b/workflow/main.nf index 2888d67d797a2deb6afe8519a4ee324f18f9e2d5..9ff48c4b39472951a3bd45ef17befeaa38818304 100755 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -80,7 +80,8 @@ process mkfastq { output: - file("**/outs/fastq_path/**/*") into fastqPaths + file("**/outs/fastq_path/**/*") into mkfastqPaths + file("**/outs/**/*.fastq.gz") into fastqPaths file("**/outs/fastq_path/Stats/Stats.json") into bqcPaths script: @@ -99,7 +100,7 @@ process fastqc { publishDir "$outDir/${task.process}", mode: 'copy' input: - file("outs/fastq_path/*/*") from fastqPaths + file fastqPaths output: diff --git a/workflow/scripts/fastqc.sh b/workflow/scripts/fastqc.sh index 11ada09e1b5e393dd59d8743ad7de2ca31a6670f..ce975dfb8a3c559cdcaf8d7d2931ae02b5030890 100644 --- a/workflow/scripts/fastqc.sh +++ b/workflow/scripts/fastqc.sh @@ -1,4 +1,4 @@ #!/bin/bash find . -name '*.fastq.gz' | awk '{printf("fastqc \"%s\"\n", $0)}' | parallel -j 25 --verbose -find . -name '*fastqc.*' | xargs -I '{}' mv '{}' ./ +#find . -name '*fastqc.*' | xargs -I '{}' mv '{}' ./