Struct barcode_count::info::SequenceFormat [−][src]
pub struct SequenceFormat {
pub format_string: String,
pub regions_string: String,
pub length: usize,
pub constant_region_length: u8,
pub format_regex: Regex,
pub barcode_num: usize,
pub barcode_lengths: Vec<u8>,
pub sample_length_option: Option<u8>,
pub random_barcode: bool,
pub sample_barcode: bool,
}Fields
format_string: Stringregions_string: Stringlength: usizeconstant_region_length: u8format_regex: Regexbarcode_num: usizebarcode_lengths: Vec<u8>sample_length_option: Option<u8>random_barcode: boolsample_barcode: boolImplementations
Creates a new empty SequenceFormat struct
Example
use barcode_count::info::SequenceFormat;
let sequence_format = SequenceFormat::new();Parses the format file into all fields of the SequenceFormat struct, including the regex search, barcode sizes, and sequence format strings.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SequenceFormat
impl Send for SequenceFormat
impl Sync for SequenceFormat
impl Unpin for SequenceFormat
impl UnwindSafe for SequenceFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
