Struct barcode_count::parse::RawSequenceRead[][src]

pub struct RawSequenceRead {
    pub sequence: String,
    // some fields omitted
}
Expand description

A struct to hold the raw sequencing information and transform it if there are sequencing errors

Fields

sequence: String

Implementations

Replaces the ’N’s in the sequencing format with the barcodes to fix any sequencing errrors that would cause the regex search not to work

Fixes the constant region by finding the closest match within the full seqeuence that has fewer than the max errors allowed, then uses the format string to flip the barcodes into the ’N’s and have a fixed constant region string

Each DNA base read score within FASTQ is the ascii number - 33. This returns the number scores associated with the ascii values

Score Error Probability 40 0.0001 30 0.001 20 0.01 10 0.1

Test for if any of the barcode average quality score falls below the min_average cutoff

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. 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.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.