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

Fix bug on missing index

parent 693e61b8
......@@ -67,7 +67,7 @@ object VcfFilter {
if (inputVcf == null) throw new IllegalStateException("No inputVcf, use -I")
if (outputVcf == null) throw new IllegalStateException("No outputVcf, use -o")
val reader = new VCFFileReader(inputVcf)
val reader = new VCFFileReader(inputVcf, false)
val writer = new AsyncVariantContextWriter(new VariantContextWriterBuilder().setOutputFile(outputVcf).build)
for (record <- reader) {
Supports Markdown
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