Struct parasailors::Profile [] [src]

pub struct Profile<'a> {
    // some fields omitted
}

A container for a parasail query profile. Can be reused to re-align the same sequence against multiple references.

Unsafe

Don't mutate the struct. Doing so could cause memory leaks.

Examples

let query_sequence = b"AAATTAGACCGCAANGNNAAA";
let identity_matrix = Matrix::new(MatrixType::Identity);
let profile = Profile::new(query_sequence, &identity_matrix);

Methods

impl<'a> Profile<'a>
[src]

fn new(query_seq: &'a [u8], matrix: &'a Matrix) -> Self

Creates a new profile container and ties its lifetime to the query sequence.