trfr/
record.rs

1/// The record fields in a `trf` table
2#[derive(Debug, Default, PartialEq)]
3pub struct Record {
4    /// The name of the fasta record
5    pub seq_id: String,
6    /// Start index of the repeat
7    pub start: usize,
8    /// End index of the repeat
9    pub end: usize,
10    /// The period of the repeat
11    pub period: u16,
12    /// Number of copies aligned with the consensus pattern
13    pub copy_number: f32,
14    /// Size of consensus pattern (may differ slightly from the period size).
15    pub consensus_pattern_size: u16,
16    /// Percent of matches between adjacent copies overall
17    pub perc_matches: u8,
18    /// Percent of indels between adjacent copies overall
19    pub perc_indels: u8,
20    /// Alignment score
21    pub alignment_score: u32,
22    /// Percentages of the nucleotides
23    pub perc_a: u8,
24    pub perc_c: u8,
25    pub perc_g: u8,
26    pub perc_t: u8,
27    /// Entropy measure based on percent composition
28    pub entropy: f32,
29    /// The repeat pattern itself
30    pub consensus_pattern: String,
31    /// The longer repeat sequence extracted from the reads
32    pub repeat_seq: String,
33}