You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for writing noodles! Really exciting to have great Rust interfaces to so many bioinformatic formats.
I've noticed is it's currently hard to figure out from docs whether
If all readers convert to a common position/range system (i.e. 1-indexed, right-inclusive), or whether this is for the user to do (e.g. for 1-based, right-inclusive formats like GFF/GTF need different downstream processing than 0-based, right-exclusive formats like BED).
Relatedly, can we count on core::Position and core:Region to have this standardized?
I would be happy to help contribute to documentation on this issue, if helpful.
The text was updated successfully, but these errors were encountered:
I believe the type system resolves any coordinate system ambiguity.
All positions in noodles are normalized to be 1-based, wrapped by, as you mentioned, core::Position. The 1-based coordinate system, by definition, uses closed (or inferred unbounded) intervals. This is noted in core::region::Interval.
Thank you for writing noodles! Really exciting to have great Rust interfaces to so many bioinformatic formats.
I've noticed is it's currently hard to figure out from docs whether
core::Position
andcore:Region
to have this standardized?I would be happy to help contribute to documentation on this issue, if helpful.
The text was updated successfully, but these errors were encountered: