BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioProteinSequenceGlobalAlignment.h
Go to the documentation of this file.
00001 #ifndef BIOPROTEINSEQUENCEGLOBALALIGNMENT_H
00002 #define BIOPROTEINSEQUENCEGLOBALALIGNMENT_H
00003 
00004 #include <string>
00005 #include "BioProteinSequence.h"
00006 #include "BioSwissProt.h"
00007 #include "BioFasta.h"
00008 #include "BioProteinSequenceAlignment.h"
00009 
00010 class BioProteinSequenceGlobalAlignment : public BioProteinSequenceAlignment
00011 {
00012  private:
00013         void formAccumulationMatrix();
00014 
00015         void backTrack();
00016 
00017         void show(ostream & = cout);
00018  public:
00019        BioProteinSequenceGlobalAlignment();
00020 //      ~BioProteinSequenceGlobalAlignment(){};
00021 
00022                 BioProteinSequenceGlobalAlignment(BioProteinSequence,BioProteinSequence,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00023                 BioProteinSequenceGlobalAlignment(BioProteinSequence,BioProteinSequence,string,string,int GP=-11,int extn=-9999);
00024                 BioProteinSequenceGlobalAlignment(BioProteinSequence,BioProteinSequence,int MS,int MMS,int GP=-11,int extn=-9999);
00025                 BioProteinSequenceGlobalAlignment(BioProteinSequence,string,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00026                 BioProteinSequenceGlobalAlignment(BioProteinSequence,string,string,string,int GP=-11,int extn=-9999);
00027                 BioProteinSequenceGlobalAlignment(BioProteinSequence,string,int MS,int MMS,int GP=-11,int extn=-9999);
00028 
00029     BioProteinSequenceGlobalAlignment(BioSwissProt,BioSwissProt,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00030     BioProteinSequenceGlobalAlignment(BioSwissProt,BioSwissProt,string,string,int GP=-11,int extn=-9999);
00031     BioProteinSequenceGlobalAlignment(BioSwissProt,BioSwissProt,int MS,int MMS,int GP=-11,int extn=-9999);
00032     BioProteinSequenceGlobalAlignment(BioSwissProt,string,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00033     BioProteinSequenceGlobalAlignment(BioSwissProt,string,string,string,int GP=-11,int extn=-9999);
00034     BioProteinSequenceGlobalAlignment(BioSwissProt,string,int MS,int MMS,int GP=-11,int extn=-9999);
00035 
00036 
00037     BioProteinSequenceGlobalAlignment(BioFasta,BioFasta,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00038     BioProteinSequenceGlobalAlignment(BioFasta,BioFasta,string,string,int GP=-11,int extn=-9999);
00039     BioProteinSequenceGlobalAlignment(BioFasta,BioFasta,int MS,int MMS,int GP=-11,int extn=-9999);
00040     BioProteinSequenceGlobalAlignment(BioFasta,string,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00041     BioProteinSequenceGlobalAlignment(BioFasta,string,string,string,int GP=-11,int extn=-9999);
00042     BioProteinSequenceGlobalAlignment(BioFasta,string,int MS,int MMS,int GP=-11,int extn=-9999);
00043 
00044 
00045     BioProteinSequenceGlobalAlignment(string,string,string mat="BLOSUM62",int GP=-11,int extn=-9999);
00046     BioProteinSequenceGlobalAlignment(string,string,string,string,int GP=-11,int extn=-9999);
00047           BioProteinSequenceGlobalAlignment(string,string,int MS,int MMS,int GP=-11,int extn=-9999);
00048                 
00049     void showAccumulationMatrix(ostream & = cout);
00050 
00051     void showAlignment(ostream & = cout);
00052 
00053     long getNumberOfIdentities();
00054     long getNumberOfSimilarities();
00055     float getIdentity();
00056     float getScore();
00057 
00058     string getAlignedSequence1();
00059     string getAlignedSequence2();
00060         string getConsensusSequence(); //Added on 12.04.2012
00061 };
00062 
00063 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines