bpp-seq3
3.0.0
|
BLOSUM 50 Substitution Matrix. More...
#include <Bpp/Seq/AlphabetIndex/BLOSUM50.h>
Public Member Functions | |
BLOSUM50 () | |
BLOSUM50 (const BLOSUM50 &blosum) | |
BLOSUM50 & | operator= (const BLOSUM50 &blosum) |
BLOSUM50 * | clone () const override |
virtual | ~BLOSUM50 () |
std::shared_ptr< const Alphabet > | getAlphabet () const override |
Get the alphabet associated to this index. More... | |
const Alphabet & | alphabet () const override |
Get the alphabet associated to this index. More... | |
Methods from the AlphabetIndex2 interface. | |
double | getIndex (int state1, int state2) const override |
Get the index associated to a pair of states. More... | |
double | getIndex (const std::string &state1, const std::string &state2) const override |
Get the index associated to a pair of states. More... | |
const Matrix< double > & | getIndexMatrix () const override |
bool | isSymmetric () const override |
Private Attributes | |
LinearMatrix< double > | distanceMatrix_ |
std::shared_ptr< const ProteicAlphabet > | alpha_ |
BLOSUM 50 Substitution Matrix.
Reference: Henikoff, S. and Henikoff, J.G. Amino acid substitution matrices from protein blocks Proc. Natl. Acad. Sci. USA 89, 10915-10919 (1992)
Data from AAIndex2 database, Accession Number HENS920104.
Definition at line 29 of file BLOSUM50.h.
BLOSUM50::BLOSUM50 | ( | ) |
Definition at line 14 of file BLOSUM50.cpp.
Referenced by clone().
|
inline |
Definition at line 38 of file BLOSUM50.h.
|
inlinevirtual |
Definition at line 52 of file BLOSUM50.h.
|
inlineoverridevirtualinherited |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 104 of file AlphabetIndex2.h.
References bpp::ProteicAlphabetIndex2::alpha_.
|
inlineoverridevirtual |
Implements bpp::ProteicAlphabetIndex2.
Definition at line 50 of file BLOSUM50.h.
References BLOSUM50().
|
inlineoverridevirtualinherited |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 102 of file AlphabetIndex2.h.
References bpp::ProteicAlphabetIndex2::alpha_.
Referenced by bpp::AAIndex2Entry::getIndex(), getIndex(), bpp::GranthamAAChemicalDistance::getIndex(), and bpp::MiyataAAChemicalDistance::getIndex().
|
overridevirtual |
Get the index associated to a pair of states.
state1 | First state to consider, as a string value. |
state2 | Second state to consider, as a string value. |
Implements bpp::AlphabetIndex2.
Definition at line 26 of file BLOSUM50.cpp.
References distanceMatrix_, and bpp::ProteicAlphabetIndex2::getAlphabet().
|
overridevirtual |
Get the index associated to a pair of states.
state1 | First state to consider, as a int value in the Alphabet |
state2 | Second state to consider, as a int value in the Alphabet |
Implements bpp::AlphabetIndex2.
Definition at line 21 of file BLOSUM50.cpp.
References distanceMatrix_, and bpp::ProteicAlphabetIndex2::getAlphabet().
|
overridevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 31 of file BLOSUM50.cpp.
References distanceMatrix_.
|
inlineoverridevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 63 of file BLOSUM50.h.
Definition at line 43 of file BLOSUM50.h.
References distanceMatrix_, and bpp::ProteicAlphabetIndex2::operator=().
|
privateinherited |
Definition at line 84 of file AlphabetIndex2.h.
Referenced by bpp::ProteicAlphabetIndex2::alphabet(), bpp::ProteicAlphabetIndex2::getAlphabet(), and bpp::ProteicAlphabetIndex2::operator=().
|
private |
Definition at line 33 of file BLOSUM50.h.
Referenced by getIndex(), getIndexMatrix(), and operator=().