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