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: bool

Implementations

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

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.