ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GFaSeqGet.h
(Generate patch)
# Line 1 | Line 1
1   #ifndef GFASEQGET_H
2   #define GFASEQGET_H
3
3   #include "GList.hh"
4  
5   #define MAX_FASUBSEQ 0x20000000
# Line 81 | Line 80
80    const char* subseq(uint cstart, int& clen);
81    const char* getRange(uint cstart=1, uint cend=0) {
82        if (cend==0) cend=(seq_len>0)?seq_len : MAX_FASUBSEQ;
83 <      if (cstart>cend) { swap(cstart, cend); }
83 >      if (cstart>cend) { Gswap(cstart, cend); }
84        int clen=cend-cstart+1;
85        //int rdlen=clen;
86        return subseq(cstart, clen);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines