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

Make sure index task works

parent 23b324ea
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ task Index {
input {
File fasta
}
File indexedFile = "reference.fasta"
String indexedFile = "reference.fasta"
command {
set -e
......@@ -128,9 +128,9 @@ task Index {
}
output {
BwaIndex index = {
"fastaFile": indexedFile,
"indexFiles": [
BwaIndex index = object {
fastaFile: indexedFile,
indexFiles: [
indexedFile + ".amb",
indexedFile + ".ann",
indexedFile + ".bwt",
......@@ -139,4 +139,10 @@ task Index {
]
}
}
runtime {
docker: "quay.io/biocontainers/bwa:0.7.17--hed695b0_7"
cpu: 1
memory: "~{size(fasta, 'G') + 1}GiB"
}
}
\ 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