dseq.h
Go to the documentation of this file.00001 #ifndef DNA_SEQUENCE
00002 #define DNA_SEQUENCE
00003 #include <iostream>
00004 #include "gberr.h"
00005
00006
00007
00008 class dseq
00009 {
00010 public:
00011
00012
00013
00014 int input(istream &ins, char ln[]) throw(gberr);
00015
00016 void write(ostream &ous, const int bpl=70) const;
00017 dseq();
00018 dseq(const dseq &ds);
00019 dseq &operator=(const dseq &ds);
00020 ~dseq();
00021 void subseq(char *&sb, int s, int f) const;
00022
00023
00024 private:
00025 char *seq;
00026 int len;
00027 int A, C, G, T, O;
00028 static const int LL=82;
00029 };
00030
00031 #endif