BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 #ifndef BIOPROTEINSTRUCTUREALIGNMENT_H 00002 #define BIOPROTEINSTRUCTUREALIGNMENT_H 00003 00004 #include "BioProteinChain.h" 00005 #include "BioOutputStream.h" 00006 #include "BioProteinSequenceLocalAlignment.h" 00007 #include "BioProteinSequenceGlobalAlignment.h" 00008 00009 class BioProteinStructureAlignment 00010 { 00011 00012 float rmsd_; 00013 //BioMatrix translation_,centroid_,rotation_; 00014 string subMatrix_ ; 00015 00016 float localSeqIdentity_, globalSeqIdentity_; 00017 00018 BioProteinChain tempRefCoords; 00019 BioProteinChain tempQueCoords; 00020 00021 float superimpose(float **coords1, float **coords2, int npoints); 00022 void computeMainChainAlignment(BioProteinChain& tempRefCoords, BioProteinChain& tempQueCoords); 00023 void computeCAlphaAlignment(BioProteinChain& tempRefCoords, BioProteinChain& tempQueCoords); 00024 00025 00026 00027 public: 00028 00029 BioProteinStructureAlignment(const string& f1, const string& f2, const string& = "BLOSUM62"); 00030 BioProteinStructureAlignment( BioProteinChain& tempRefCoords, BioProteinChain& tempQueCoords); 00031 float getMainChainRmsd(); 00032 float getCAlphaRmsd(); 00033 /* 00034 BioMatrix getRotationMatrix(); 00035 BioMatrix getTranslationMatrix(); 00036 BioMatrix getCentroid(); 00037 */ 00038 float getLocalSequenceIdentity(); 00039 float getGlobalSequenceIdentity(); 00040 //BioProteinChain getRotatedProteinChain(); 00041 //void showStructureAlignment(); 00042 00043 ~BioProteinStructureAlignment(); 00044 }; 00045 00046 #endif