perbase 1.4.0

Fast and correct perbase BAM/CRAM analysis.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! A set of implementations of `Position` for different use cases
pub mod mate_fix;
pub mod pileup_position;
pub mod range_positions;

use serde::Serialize;
use smartstring::alias::String;
/// A serializable object meant to hold all information about a position.
pub trait Position: Default + Serialize {
    /// Create a new position with all other values zeroed
    fn new(ref_seq: String, pos: u32) -> Self;
}