#include <DnaStr.h>
Public Member Functions | |
DnaStr (const string &str, dsu::Strand_t strnd) | |
simply maintains a const reference to the double strand sequence and sets an internal variable to remember which strand to conduct operations on. | |
const string & | getStr () const |
get const reference to double strand | |
double | gcPcnt (int=1, int=-1) const |
gc | |
dsu::Strand_t | getStrnd () const |
query which side of the strand the object is set to operate on | |
const char | operator[] (int idx) const |
access a single base at a specified location in the string | |
unsigned | length () const |
query length of strand | |
bool | isStart (const char[3]) const |
check for a start codon sorry, this should be made static | |
bool | isStart (int) const |
check for a start codon begining at a specified location in the strand | |
bool | isStop (const char[3]) const |
check for a stop codon sorry, this should be made static | |
bool | isStop (int bp) const |
check for stop codon starting a specified locationi in strand | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const DnaStr &str) |
print 5' to 3' |
positive or negative)
|
gc
|
|
check for a start codon sorry, this should be made static
|
|
check for a stop codon sorry, this should be made static
|