Skip to content

Commit

Permalink
modified: src/bioseq.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kemin711 committed Jan 13, 2017
1 parent 7d3bf66 commit 615cb05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Binary file modified orpara-0.1.0.tar.gz
Binary file not shown.
10 changes: 8 additions & 2 deletions src/bioseq.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,17 @@ class bioseq {
*/
virtual ostream& print(ostream &ous, int width=80) const;

/** The biologiest way of thinking.
/** The biologist way of thinking.
* inclusive range [b,e], different from C++ substr!
* 1-based index
* @return a copy of the underlying substring.
*/
string substr(int b, int e) const;
/**
* C-style index, same as C::substr() function
* @param b 0-based index of start
* @param len length of the string.
* @return a copy of the underlying substring.
*/
string substring(const int b, const int len) const throw (bioseqexception);
/**
Expand Down Expand Up @@ -876,7 +880,9 @@ class DNAQual : public DNA {
DNAQual(const string &n, const string &s)
: DNA(n,s), qual(0), rc(0) {}
/**
* @pram t is the title for the sequence.
* @param t is the title for the sequence.
* @param s DNA sequence string.
* @param n name of DNA sequence.
* No quality is given.
*/
DNAQual(const string &n, const string &s, const string &t)
Expand Down

0 comments on commit 615cb05

Please sign in to comment.