Skip to content
Prev 9472 / 21318 Next

[Bioc-devel] Build error in released version

Hi Julie,
On 07/05/2016 01:03 PM, Zhu, Lihua (Julie) wrote:
The exact mapping location is stored in the GAligmentPairs object and
will be preserved when the user coerces to GRangesList, either with
grglist(.) or as(. , "GRangesList"). I was thinking in using * only
when coercing to GRanges, either with granges(.) or as(. , "GRanges").
There is really no good way to represent features that span multiple
chromosomes with a GRanges object. These features are better represented
with a GRangesList object. That's really what GRangesList objects are
for.

So after giving it a 2nd thought, I'm tempted to either (a) just let
coercion of GAligmentPairs to GRanges fail (with an informative error
message) when some pairs span more than 1 chromosome, or (b) drop
these pairs with a warning, or (c) add an extra argument to granges()
to let the user decide between (a) and (b).

Hopefully that makes sense.

H.