Re: [Bioc-devel] VariantAnnotation: DNAStringSets for ref/alt alleles in 'VRanges' class

2013-11-04 Thread Julian Gehring
Hi Michael, Sure, I'll try to dig into it and construct a patch that adds this feature. I stumbled upon this after converting data between the 'VCF' and 'VRanges' class. The primary use case I had in mind is having a more efficient storing and processing for short InDels, or defining variants

Re: [Bioc-devel] VariantAnnotation: DNAStringSets for ref/alt alleles in 'VRanges' class

2013-11-04 Thread Michael Lawrence
This was a consideration. I guess I've never got much use out of them being DNAStringSets, so I just went with the simple character vectors. It makes sense to support DNAStringSet. I could imagine someone e.g. wanting to represent mutations at the protein-level, and structural variants will require

[Bioc-devel] VariantAnnotation: DNAStringSets for ref/alt alleles in 'VRanges' class

2013-11-04 Thread Julian Gehring
Hi, Would it be reasonable to (optionally) allow storing the reference and alternative alleles in the 'VRanges' class as a 'DNAStringSet'? Currently, 'character' and 'Rle' are possible. Having a 'DNAStringSet' would make it more consistent with the rest of the 'VariantAnnotation' framework a