Skip to content
Snippets Groups Projects
Commit 2de465dc authored by Cats's avatar Cats
Browse files

add task for chunked-scatter

parent b8694fad
No related branches found
No related tags found
No related merge requests found
version 1.0
task ChunkedScatter {
input {
File inputFile
String prefix = "./scatter"
Int? chunkSize
Int? overlap
Int? minimumBasesPerFile
String dockerImage = "alpine:latest" #TODO
}
command {
set -e
mkdir -p ~{prefix}
chunked-scatter \
-p ~{prefix} \
-i ~{inputFile} \
~{"-c " + chunkSize} \
~{"-o " + overlap} \
~{"-m " + minimumBasesPerFile}
}
output {
Array[File] scatters = glob(prefix + "_*.bed")
}
runtime {
memory: 4
docker: dockerImage
}
}
\ No newline at end of file
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