From b69d210255324d80cfca3986849a716492c76d1e Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Mon, 17 Jun 2013 10:50:07 -0400 Subject: [PATCH] Bugfix: allow gzip VCF output in multi-threaded GATK output -- VariantContextWriterStorage was gzipping the intermediate files that would be merged in, but the mergeInto function couldn't read those outputs, and we'd throw a very strange error. Now tmp. VCFs aren't compressed, even if the final VCF is. Added integrationtest to ensure this behavior works going forward. -- [delivers #47399279] --- .../storage/VariantContextWriterStorage.java | 24 +++++++++++++++---- .../gatk/EngineFeaturesIntegrationTest.java | 15 ++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/public/java/src/org/broadinstitute/sting/gatk/io/storage/VariantContextWriterStorage.java b/public/java/src/org/broadinstitute/sting/gatk/io/storage/VariantContextWriterStorage.java index 84709d6d8..80841bae7 100644 --- a/public/java/src/org/broadinstitute/sting/gatk/io/storage/VariantContextWriterStorage.java +++ b/public/java/src/org/broadinstitute/sting/gatk/io/storage/VariantContextWriterStorage.java @@ -67,12 +67,16 @@ public class VariantContextWriterStorage implements Storage 0); + } } \ No newline at end of file