Struct lightmotif::abc::Protein
source · pub struct Protein;
Expand description
The standard protein alphabet composed of 20 residues and a wildcard.
Trait Implementations§
source§impl Alphabet for Protein
impl Alphabet for Protein
source§impl PartialEq for Protein
impl PartialEq for Protein
source§impl Score<Protein, <Avx2 as Backend>::LANES> for Pipeline<Protein, Avx2>
impl Score<Protein, <Avx2 as Backend>::LANES> for Pipeline<Protein, Avx2>
source§fn score_into<S, M>(
&self,
seq: S,
pssm: M,
scores: &mut StripedScores<<Avx2 as Backend>::LANES>
)where
S: AsRef<StripedSequence<Protein, <Avx2 as Backend>::LANES>>,
M: AsRef<ScoringMatrix<Protein>>,
fn score_into<S, M>(
&self,
seq: S,
pssm: M,
scores: &mut StripedScores<<Avx2 as Backend>::LANES>
)where
S: AsRef<StripedSequence<Protein, <Avx2 as Backend>::LANES>>,
M: AsRef<ScoringMatrix<Protein>>,
Compute the PSSM scores into the given striped score matrix.
source§fn score<S, M>(&self, seq: S, pssm: M) -> StripedScores<C>
fn score<S, M>(&self, seq: S, pssm: M) -> StripedScores<C>
Compute the PSSM scores for every sequence positions.
source§impl Score<Protein, <Dispatch as Backend>::LANES> for Pipeline<Protein, Dispatch>
impl Score<Protein, <Dispatch as Backend>::LANES> for Pipeline<Protein, Dispatch>
source§fn score_into<S, M>(
&self,
seq: S,
pssm: M,
scores: &mut StripedScores<<Dispatch as Backend>::LANES>
)where
S: AsRef<StripedSequence<Protein, <Dispatch as Backend>::LANES>>,
M: AsRef<ScoringMatrix<Protein>>,
fn score_into<S, M>(
&self,
seq: S,
pssm: M,
scores: &mut StripedScores<<Dispatch as Backend>::LANES>
)where
S: AsRef<StripedSequence<Protein, <Dispatch as Backend>::LANES>>,
M: AsRef<ScoringMatrix<Protein>>,
Compute the PSSM scores into the given striped score matrix.
source§fn score<S, M>(&self, seq: S, pssm: M) -> StripedScores<C>
fn score<S, M>(&self, seq: S, pssm: M) -> StripedScores<C>
Compute the PSSM scores for every sequence positions.
impl Copy for Protein
impl Eq for Protein
impl StructuralEq for Protein
impl StructuralPartialEq for Protein
Auto Trait Implementations§
impl RefUnwindSafe for Protein
impl Send for Protein
impl Sync for Protein
impl Unpin for Protein
impl UnwindSafe for Protein
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more