Commit f737d360 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

No tabix on unzipped vcf files

parent c8992164
......@@ -183,13 +183,14 @@ class GenerateIndexes(val root: Configurable) extends QScript with BiopetQScript
add(curl)
cv.variant :+= curl.output
val tabix = new Tabix(this)
tabix.input = curl.output
tabix.p = Some("vcf")
tabix.isIntermediate = true
add(tabix)
configDeps :+= tabix.outputIndex
cv.deps ::= tabix.outputIndex
if (curl.output.getName.endsWith(".vcf.gz")) {
val tabix = new Tabix(this)
tabix.input = curl.output
tabix.p = Some("vcf")
tabix.isIntermediate = true
add(tabix)
configDeps :+= tabix.outputIndex
}
}
dbsnpUri match {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment