noodles_cram/record/feature/
substitution.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! CRAM record substitution feature.

mod base;

pub use self::base::Base;

/// A substitution feature value.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Value {
    /// A substitution code used when reading and writing.
    Code(u8),
    /// A substitution-read base pair used when staging the record for writing.
    Bases(Base, Base),
}