gtars-core 0.5.6

Core library for gtars: tools for high performance genomic interval analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Coordinate convention for genomic intervals.
///
/// Different ecosystems use different coordinate systems:
/// - BED/Python: 0-based half-open, floor midpoint
/// - GRanges/R: 1-based closed, banker's rounding midpoint
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub enum CoordinateMode {
    #[default]
    Bed,
    GRanges,
}