Skip to content

[Bioc-devel] VariantAnnotation/Rsamtools empty ranges bug and suggested patch

2 messages · Valerie Obenchain

#
Hi Richard,

Thanks for identifying the bugs and for providing solutions.

Parsing empty INFO or GENO :

For this bug I put a check in the unpackVcf x="list", hdr="character" 
method, which is a couple of levels up from what you suggest below. The 
reason is that we want 'info' and 'geno' arguments to serve as an on/off 
switch for parsing the fields. By checking lengths at the entry point, 
we set can info=FALSE and/or geno=FALSE and the fields will not be 
parsed. Fixed in Rsamtools 1.7.9.


Dropping ranges at 'end' :

This problem appears to be in the indexTabix() function. I'm working on 
it now and will come back here when it's fixed.

Valerie
On 12/13/2011 04:22 AM, Richard Pearson wrote:
#
Now fixed in Rsamtools 1.7.12 in devel and 1.6.3 in release.

Valerie
On 12/15/11 10:07, Valerie Obenchain wrote: