BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioProteinSecondaryStructureAlignment.h
Go to the documentation of this file.
00001 #ifndef BIOPROTEINSECONDARYSTRUCTUREALIGNMENT_H
00002 #define BIOPROTEINSECONDARYSTRUCTUREALIGNMENT_H
00003 
00004 #include <iostream>
00005 #include <fstream>
00006 #include <sstream>
00007 #include <string>
00008 #include <vector>
00009 #include "BioUtilities.h"
00010 #include "BioMatrix.h"
00011 
00012 class BioProteinSecondaryStructureAlignment
00013 {
00014  private:
00015           string seq1_,seq2_; 
00016 
00017                 string outSeq1_,outSeq2_;
00018 
00019          int gapPenalty;
00020 
00021          BioMatrix substitutionMatrix;
00022 
00023        static string secstr;
00024 
00025       vector < vector < int > > tempMatrix;
00026 
00027       int status;
00028 
00029       void formScoringMatrix();
00030 
00031       void setSubstitutionMatrix();
00032 
00033       int getAccValMov(long,long,int);
00034 
00035       void init();         
00036 
00037          void formAccumulationMatrix();
00038 
00039          void backTrack();
00040 
00041          void show(ostream & = cout);
00042  public:
00043       BioProteinSecondaryStructureAlignment();
00044 
00045       BioProteinSecondaryStructureAlignment(string,string,int GP=-11);
00046 
00047       void setSequence1(string);
00048       void setSequence2(string);      
00049 
00050       void showAlignment(ostream & = cout);
00051 
00052       void setGapPenalty(int GP =-11);
00053 
00054        float getIdentity();       
00055 };
00056 
00057 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines