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