Struct mutexpect::PointMutationClassifier [−][src]
pub struct PointMutationClassifier<'a> { /* fields omitted */ }
Implementations
pub fn classify_by_position(
&self,
genomic_position: usize,
seq: &[char],
intron: &Option<Interval>
) -> MutationType
pub fn classify_by_position(
&self,
genomic_position: usize,
seq: &[char],
intron: &Option<Interval>
) -> MutationType
Classify the effect of a point mutation
Parameters:
genomic_position
: The orginal genomic position on a chromosome where the mutation takes place
seq
: The reference sequence around the mutation site, with the mutated locus in the middle
other_nucleotide
: The nucleotide that will replace the old nucleotide
cds_index_hint
: (optional) The internal array-index of the CDS that this mutation falls into. If you provide this, and it is correct, no search for a matching CDS needs to be done.
Returns: The corresponding MutationType