BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 #ifndef BIOPROTEINSUBSTITUTIONMATRIX_H 00002 #define BIOPROTEINSUBSTITUTIONMATRIX_H 00003 00004 #include <iostream> 00005 #include <sstream> 00006 #include <map> 00007 #include "BioMatrix.h" 00008 00009 00010 using namespace std; 00011 00012 class BioProteinSubstitutionMatrix 00013 { 00014 static bool isInitialised; 00015 static string aminoAcidSeq_; 00016 static map <const string ,string> ProteinSubstitutionMatrix; 00017 public: 00018 static void Initialize(); 00019 static void Clear(); 00020 static BioMatrix getSubstitutionMatrix(const string&); 00021 static unsigned int getNumberOfSubstitutionMatrices(); 00022 static string getSubstitutionMatrixName(unsigned int); 00023 static int getSubstitutionValue(const string&, char, char); 00024 static int getAminoAcidPosition(char); 00025 ~BioProteinSubstitutionMatrix(); 00026 00027 }; 00028 #endif