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 BIOFTLSINGLEBASE_H 00011 #define BIOFTLSINGLEBASE_H 00012 00013 00014 using namespace std; 00015 #include <string> 00016 #include <iostream> 00017 #include <vector> 00018 #include "BioDnaSequence.h" 00019 00020 00021 class BioFTLSingleBase 00022 { 00023 int basePosition_; 00024 00025 int lowerBoundBasePosition_; 00026 int upperBoundBasePosition_; 00027 00028 bool complement_; 00029 00030 protected: 00031 void setBioFTLSingleBase(const string& bou_); 00032 00033 00034 public: 00035 BioFTLSingleBase(){} 00036 BioFTLSingleBase(const string& bou_); 00037 void setBasePosition(int value); 00038 00039 int getBasePosition(); 00040 int getLowerBoundBasePosition(); 00041 int getUpperBoundBasePosition(); 00042 00043 string getBase(BioDnaSequence& ); 00044 00045 bool findSingleDot(const string& ); 00046 void showSingleBase(ostream & = cout,string x = " "); 00047 }; 00048 00049 00050 #endif