Struct barcode_count::info::BarcodeConversions[][src]

pub struct BarcodeConversions {
    pub samples_barcode_hash: HashMap<String, String>,
    pub sample_seqs: HashSet<String>,
    pub counted_barcodes_hash: Vec<HashMap<String, String>>,
    pub counted_barcode_seqs: Vec<HashSet<String>>,
}

Fields

samples_barcode_hash: HashMap<String, String>sample_seqs: HashSet<String>counted_barcodes_hash: Vec<HashMap<String, String>>counted_barcode_seqs: Vec<HashSet<String>>

Implementations

Reads in comma separated barcode file (CSV). The columns need to have headers. The first column needs to be the nucleotide barcode and the second needs to be the ID

Reads in comma separated barcode file (CSV). The columns need to have headers. The first column needs to be the nucleotide barcode the second needs to be the ID, and the third needs to be the barcode index location

Panics

This panics if the third column of the barcode conversion file does not contain integers. Also panics if not all integers for barcode numbers is within this columns

Creates a hashmap of all sample barcode sequences in order to compare for sequencing errors

Creates a hashmap of all counted barcode sequences in order to compare for sequencing errors

Trait Implementations

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 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.