noodles_fasta/sequence/
record.rs

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

/// A sequence record.
pub trait Record {
    /// Returns the name.
    fn name(&self) -> &[u8];

    /// Returns the description.
    fn description(&self) -> Option<&[u8]>;

    /// Returns the sequence.
    fn sequence(&self) -> &[u8];

    /// Returns the quality scores.
    fn quality_scores(&self) -> &[u8];
}