Skip to content
Snippets Groups Projects
Commit 65c885b7 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

set core usage

parent 8f3e73f4
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,9 @@ task Fastqsplitter {
String dockerImage = "quay.io/biocontainers/fastqsplitter:1.0.0--py_0"
Int? compressionLevel
Int? threadsPerFile
Int cores = 2 # fastqplitter utilizes one thread per input file and one or more threads per output file + one thread for the application.
# fastqplitter utilizes one thread per input file and one or more threads per output file + one thread for the application.
# Since a compression level of 1 is used, each output file uses approx 0.5 cores.
Int cores = 1 + ceil(0.5 * len(outputPaths))
}
command {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment