noodles_gff/record/
phase.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! GFF record phase.

/// A GFF record phase.
///
/// The phase is used for CDS (coding sequence) features to describe where the next codon begins
/// relative to the 5' end.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Phase {
    /// The codon begins at the first nucleotide (`0`).
    Zero,
    /// The codon begins at the second nucleotide (`1`).
    One,
    /// The codon begins at the third nucleotide (`2`).
    Two,
}