bpp-seq
2.2.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) |
virtual | ~BLOSUM50 () |
Methods from the AlphabetIndex2 interface. | |
double | getIndex (int state1, int state2) const throw (BadIntException) |
Get the index associated to a pair of states. More... | |
double | getIndex (const std::string &state1, const std::string &state2) const throw (BadCharException) |
Get the index associated to a pair of states. More... | |
const Alphabet * | getAlphabet () const |
Get the alphabet associated to this index. More... | |
BLOSUM50 * | clone () const |
LinearMatrix< double > * | getIndexMatrix () const |
bool | isSymmetric () const |
Private Attributes | |
LinearMatrix< double > | distanceMatrix_ |
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 64 of file BLOSUM50.h.
BLOSUM50::BLOSUM50 | ( | ) |
Definition at line 51 of file BLOSUM50.cpp.
Referenced by clone().
|
inline |
Definition at line 74 of file BLOSUM50.h.
|
inlinevirtual |
Definition at line 86 of file BLOSUM50.h.
|
inlinevirtual |
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex2.
Definition at line 96 of file BLOSUM50.h.
References alpha_.
|
virtual |
Get the index associated to a pair of states.
state1 | First state to consider, as a int value. |
state2 | Second state to consider, as a int value. |
Implements bpp::AlphabetIndex2.
Definition at line 58 of file BLOSUM50.cpp.
|
virtual |
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 66 of file BLOSUM50.cpp.
|
virtual |
Implements bpp::AlphabetIndex2.
Definition at line 74 of file BLOSUM50.cpp.
References distanceMatrix_.
|
inlinevirtual |
Implements bpp::AlphabetIndex2.
Definition at line 99 of file BLOSUM50.h.
Definition at line 79 of file BLOSUM50.h.
References alpha_, and distanceMatrix_.
|
private |
Definition at line 69 of file BLOSUM50.h.
Referenced by getAlphabet(), and operator=().
|
private |
Definition at line 68 of file BLOSUM50.h.
Referenced by getIndexMatrix(), and operator=().