Skip to content
Snippets Groups Projects
Unverified Commit 9842a743 authored by Ruben Vorderman's avatar Ruben Vorderman Committed by GitHub
Browse files

Merge pull request #137 from biowdl/update_fastqsplitter

Update fastqsplitter
parents af7dc0fb 6a604833
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ that users understand how the changes affect the new version.
version 1.0.0-dev
---------------------------
+ Fastqsplitter: fix mkdir command to work with biocontainer's busybox mkdir
+ Cutadapt: simplify interface
+ Bigger memory multiplier in mutect to take in account bigger vmem usage
+ Cutadapt: Remove default adapter
......
......@@ -26,7 +26,7 @@ task Fastqsplitter {
input {
File inputFastq
Array[String]+ outputPaths
String dockerImage = "quay.io/biocontainers/fastqsplitter:1.1.0--py37h516909a_0"
String dockerImage = "quay.io/biocontainers/fastqsplitter:1.1.0--py37h516909a_1"
Int? compressionLevel
Int? threadsPerFile
# fastqplitter utilizes one thread per input file and one or more threads per output file + one thread for the application.
......@@ -34,15 +34,18 @@ task Fastqsplitter {
Int cores = 1 + ceil(0.5 * length(outputPaths))
}
command {
# Busybox mkdir does not accept multiple paths.
command <<<
set -e
mkdir -p $(dirname ~{sep=' ' outputPaths})
for FILE in ~{sep=' ' outputPaths}
do mkdir -p $(dirname $FILE)
done
fastqsplitter \
~{"-c " + compressionLevel} \
~{"-t " + threadsPerFile} \
-i ~{inputFastq} \
-o ~{sep=' -o ' outputPaths}
}
>>>
output {
Array[File] chunks = outputPaths
......
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