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

Merge pull request #224 from biowdl/chunkedscatter

Update image for chunked scatter.
parents 3b583e41 a0fccc3c
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 4.0.0-develop
---------------------------
+ Update the image for chunked-scatter and make use of new features from 0.2.0.
+ Tuned resource requirements for GATK VariantEval, MultiQC, Picard metrics and
STAR.
+ Added a new task for [scatter-regions](https://github.com/biowdl/chunked-scatter)
......
......@@ -28,27 +28,28 @@ task ChunkedScatter {
Int? overlap
Int? minimumBasesPerFile
String memory = "256M"
Int timeMinutes = 2
String dockerImage = "quay.io/biocontainers/chunked-scatter:0.1.0--py_0"
String dockerImage = "quay.io/biocontainers/chunked-scatter:0.2.0--py_0"
}
command {
set -e
mkdir -p ~{prefix}
chunked-scatter \
--print-paths \
-p ~{prefix} \
-i ~{inputFile} \
~{"-c " + chunkSize} \
~{"-o " + overlap} \
~{"-m " + minimumBasesPerFile}
~{"-m " + minimumBasesPerFile} \
~{inputFile}
}
output {
Array[File] scatters = glob(prefix + "*.bed")
Array[File] scatters = read_lines(stdout())
}
runtime {
memory: "4G"
cpu: 1
memory: memory
time_minutes: timeMinutes
docker: dockerImage
}
......@@ -60,6 +61,7 @@ task ChunkedScatter {
overlap: {description: "Equivalent to chunked-scatter's `-o` option.", category: "advanced"}
minimumBasesPerFile: {description: "Equivalent to chunked-scatter's `-m` option.", category: "advanced"}
timeMinutes: {description: "The maximum amount of time the job will run in minutes.", category: "advanced"}
memory: {description: "The amount of memory this job will use.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
category: "advanced"}
}
......@@ -75,7 +77,7 @@ task ScatterRegions {
Int? scatterSize
Int timeMinutes = 2
String memory = "256M"
String dockerImage = "biowdl/chunked-scatter:latest"
String dockerImage = "quay.io/biocontainers/chunked-scatter:0.2.0--py_0"
}
String finalSize = if defined(scatterSize) then "~{scatterSize}" else "~{scatterSizeMillions}000000"
......
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