Struct vcf_rider::fasta::Fasta
[−]
[src]
pub struct Fasta { pub id: String, pub sequence: Vec<u8>, pub background: Vec<f64>, }
Struct representing a fasta: its id, then the sequence (encoded by a vector of u8, with ACGTN -> 01234) and the background frequencies of nucleotides (needed to compute TBA values)
Fields
id: String
The id of this fasta
sequence: Vec<u8>
The u8 encoded sequence
background: Vec<f64>
Background frequencies of ACGT in this fasta