VariantAnnotation icon indicating copy to clipboard operation
VariantAnnotation copied to clipboard

Import Error for bcftools Compressed Files

Open DarioS opened this issue 4 years ago • 1 comments

VCF files that are filtered using bcftools and have their data compressed by specifying -O z as part of the command can't be imported into R because of the error "scanBcfHeader(bf) : [internal] _hts_rewind() failed". Decompressing the file and re-compressing it using the R function bgzip enables it to be successfully imported, but it seems an inefficient workaround and it's unclear why it's required. This issue has been reported for an older version of VariantAnnotation #22

DarioS avatar Aug 05 '19 08:08 DarioS