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

make samtools suitable for containers

parent 135c6dbc
No related branches found
No related tags found
No related merge requests found
......@@ -56,13 +56,15 @@ task Index {
task Merge {
input {
Array[File]+ bamFiles
String outputBamPath
String outputBamPath = "merged.bam"
Boolean force = true
String dockerTag = "1.8--h46bd0b3_5"
}
command {
set -e
mkdir -p ~{outputBamPath}
samtools merge ~{true="-f" false="" force} ~{outputBamPath} ~{sep=' ' bamFiles}
}
......
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