Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #632 from alneberg/Fastqc_threading
Browse files Browse the repository at this point in the history
2 threads and 2 cpus for each FastQC process
  • Loading branch information
maxulysse authored Sep 4, 2018
2 parents 0fd73f7 + 56f8f54 commit d8af9d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions configuration/uppmax-localhost.config
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ process {
memory = {params.singleCPUMem * 2 * task.attempt}
}
withName:RunFastQC {
cpus = 2 // FastQC is only capable of running one thread per fastq file.
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
}
withName:RunFreeBayes {
Expand Down
1 change: 1 addition & 0 deletions configuration/uppmax-slurm.config
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ process {
queue = 'core'
}
withName:RunFastQC {
cpus = 2 // FastQC is only capable of running one thread per fastq file.
errorStrategy = { task.exitStatus == 143 ? 'retry' : 'ignore' }
}
withName:RunFreeBayes {
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ process RunFastQC {

script:
"""
fastqc -q ${fastqFile1} ${fastqFile2}
fastqc -t 2 -q ${fastqFile1} ${fastqFile2}
"""
}

Expand Down

0 comments on commit d8af9d1

Please sign in to comment.