[−][src]Struct mutexpect::PointMutationClassifier
Implementations
impl<'a> PointMutationClassifier<'a>
[src]
pub fn new(gene_info: &'a SeqAnnotation, middle_index: usize) -> Self
[src]
pub fn classify_by_position(
&self,
genomic_position: usize,
seq: &[char],
intron: &Option<Interval>
) -> MutationType
[src]
&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
pub fn classify_coding_mutation(
&self,
genomic_position: usize,
seq: &[char],
other_nucleotide: char,
cds: &CDS
) -> MutationType
[src]
&self,
genomic_position: usize,
seq: &[char],
other_nucleotide: char,
cds: &CDS
) -> MutationType
Auto Trait Implementations
impl<'a> RefUnwindSafe for PointMutationClassifier<'a>
impl<'a> Send for PointMutationClassifier<'a>
impl<'a> Sync for PointMutationClassifier<'a>
impl<'a> Unpin for PointMutationClassifier<'a>
impl<'a> UnwindSafe for PointMutationClassifier<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,