BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /**************************************************************************** 00002 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00003 * The BioBhasha : A Programming Language for Biologist 00004 * Version 1.0 (19th December 2001) 00005 * Dr. Prasad, B.V.L.S. 00006 * Contact: prasadbvls@helixgenomics.com 00007 * Version 1.1 (23th January 2003) 00008 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00009 * *****************************************************************************/ 00010 #ifndef BIOFTLBASERANGE_H 00011 #define BIOFTLBASERANGE_H 00012 00013 #include "BioFTLSingleBaseRange.h" 00014 #include "BioDnaSequence.h" 00015 00016 //Written by IRIS::SwapnaK 00017 class BioFTLBaseRange : public BioFTLSingleBaseRange 00018 { 00019 00020 string rangeString_; 00021 string joinFunction(BioDnaSequence&, string &); 00022 string complementFunction(BioDnaSequence&, string &); 00023 string getRange(BioDnaSequence& , int start,int end); 00024 00025 public: 00026 BioFTLBaseRange(); 00027 00028 BioFTLBaseRange(const string& ); 00029 virtual ~BioFTLBaseRange(); 00030 00031 void setBioFTLBaseRange(const string& ); 00032 string getSequence(BioDnaSequence&); 00033 // string getSequence(BioMultipleGenBank& ); 00034 00035 bool findPartial(); 00036 bool findStartingPartial(); 00037 bool findEndingPartial(); 00038 string getBaseRange(); 00039 void showBaseRange(ostream& os = cout,string x= " "); 00040 void showSequence(BioDnaSequence& , ostream& os = cout); 00041 00042 }; 00043 00044 #endif