Closed vsbuffalo closed 4 months ago
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
.
The documentation shows the return types of positional values. In your examples, gff::Record::start
and bed::Record::start_position
define positions as 1-based.
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.