Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DbSeqAccess Class Referenceabstract

Random access to sequence segments through a database. More...

#include <randseqaccess.hh>

Inheritance diagram for DbSeqAccess:
RandSeqAccess

Public Member Functions

virtual AnnoSequencegetSeq (string speciesname, string chrName, int start, int end, Strand strand)=0
 
virtual SequenceFeatureCollectiongetFeatures (string speciesname, string chrName, int start, int end, Strand strand)=0
 
- Public Member Functions inherited from RandSeqAccess
int getNumSpecies ()
 
void setLength (int idx, string chrName, int len)
 
int getChrLen (int idx, string chrName)
 
void setSpeciesNames (vector< string > speciesNames)
 
string getSname (size_t idx)
 
int getMaxSnameLen ()
 
int getIdx (string speciesname)
 
void printStats ()
 
bool withEvidence (string speciesname)
 
AnnoSequencegetSeq (size_t speciesIdx, string chrName, int start, int end, Strand strand)
 

Protected Member Functions

 DbSeqAccess (vector< string > s=vector< string >())
 

Protected Attributes

string dbaccess
 
- Protected Attributes inherited from RandSeqAccess
int numSpecies
 
vector< map< string, int > > chrLen
 
vector< string > speciesNames
 
map< string, size_t > speciesIndex
 
SpeciesCollection extrinsicFeatures
 

Detailed Description

Random access to sequence segments through a database.

The sequences must be stored in a database.

Author
Stefanie Koenig

Member Function Documentation

◆ getFeatures()

virtual SequenceFeatureCollection * DbSeqAccess::getFeatures ( string  speciesname,
string  chrName,
int  start,
int  end,
Strand  strand 
)
pure virtual

Implements RandSeqAccess.

◆ getSeq()

virtual AnnoSequence * DbSeqAccess::getSeq ( string  speciesname,
string  chrName,
int  start,
int  end,
Strand  strand 
)
pure virtual

Implements RandSeqAccess.


The documentation for this class was generated from the following files: