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

make scatterregions work in container

parent 99767ad1
No related branches found
No related tags found
1 merge request!92Dockerize GATK. Scattering now works with containers. Tabix another docker image.
......@@ -236,7 +236,6 @@ task ReorderGlobbedScatters {
task ScatterRegions {
input {
Reference reference
String outputDirPath
Int? scatterSize
File? regions
Boolean notSplitContigs = false
......@@ -245,20 +244,22 @@ task ScatterRegions {
Float memoryMultiplier = 3.0
String dockerTag = "0.2--0"
}
String scatterTempDir = "scatters"
command {
set -e -o pipefail
mkdir -p ~{outputDirPath}
mkdir -p ~{scatterTempDir}
biopet-scatterregions -Xmx~{memory}G \
-R ~{reference.fasta} \
-o ~{outputDirPath} \
-o ~{scatterTempDir} \
~{"-s " + scatterSize} \
~{"-L " + regions} \
~{true="--notSplitContigs" false="" notSplitContigs}
}
output {
Array[File] scatters = glob(outputDirPath + "/scatter-*.bed")
Array[File] scatters = glob(scatterDir + "/scatter-*.bed")
File scatterDir = scatterTempDir
}
runtime {
......
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