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

run tabix if vcf index is missing in gridss

parent f234b0e8
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,12 @@ task GRIDSS {
~{normalBam} \
~{tumorBam}
samtools index ~{outputPrefix}_assembly.bam ~{outputPrefix}_assembly.bai
# For some reason the VCF index is sometimes missing
if [ ! -e ~{outputPrefix}.vcf.gz.tbi ]
then
tabix ~{outputPrefix}.vcf.gz
fi
}
output {
......
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