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

rewrite tabix

parent 7f939c34
No related branches found
Tags v0.3
No related merge requests found
......@@ -182,17 +182,24 @@ task Fastq {
task Tabix {
input {
String inputFile
File inputFile
String outputFilePath = "indexed.vcf.gz"
String type = "vcf"
String dockerTag = "0.2.6--ha92aebf_0"
}
command {
tabix ~{inputFile} -p ~{type}
set -e
if [ ! -f ~{outputFilePath} ]
then
ln ~{inputFile} ~{outputFilePath}
fi
tabix ~{outputFilePath} -p ~{type}
}
output {
File index = inputFile + ".tbi"
File indexedFile = outputFilePath
File index = outputFilePath + ".tbi"
}
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