Struct barcode_count::info::SequenceFormat [−][src]
pub struct SequenceFormat {
pub format_string: String,
pub regions_string: String,
pub length: usize,
pub format_regex: Regex,
pub regex_string: String,
pub barcode_num: usize,
pub random_barcode: bool,
// some fields omitted
}Fields
format_string: Stringregions_string: Stringlength: usizeformat_regex: Regexregex_string: Stringbarcode_num: usizerandom_barcode: boolImplementations
Creates a new SequenceFormat struct which holds the sequencing format information, such as, where the barcodes are located within the sequence
Returns a Vec of the size of all counted barcodes within the seqeunce format
Returns the sample barcode length found in the format file string
Returns the amount of nucleotides within the constant regions from the format file