Closed GoogleCodeExporter closed 8 years ago
I agree, the reversed operation/length is surprising and confusing.
I'm just guessing here: the "cigarstring" property is probably being built
from the "cigar" property, which has tuples of (operation, length).
I think the solution that creates the most consistency with the SAM spec is to
change the "cigar" property to return tuples of (length, operation)
(Of course, IMHO, the spec is the one who got it backwards, but this library
should probably shoot for consistency with the spec)
Original comment by bucha...@gmail.com
on 27 Feb 2013 at 8:52
Thanks for pointing this out!
I had the different convention for cigar strings in my head when I wrote this
from exonerate, where CIGAR is indeed (operation, length), and not (length,
operation).
For reasons of backwards compatibility, I do not want to change .cigar, but
instead changed the newer .cigarstring so that the string representation is
consistent with the sam format.
Best wishes,
Andreas
Original comment by andreas....@gmail.com
on 26 Jun 2013 at 8:43
Original issue reported on code.google.com by
kreitzma...@gmail.com
on 22 Feb 2013 at 11:18