40 #ifndef _GTFFEATUREREADER_H_
41 #define _GTFFEATUREREADER_H_
43 #include "../SequenceFeature.h"
44 #include "../FeatureReader.h"
A very simple implementation of the SequenceFeature class.
const std::string & getSequenceId() const
const std::string & getType() const
Interface for feature readers.
A simple reader implementing the Gene Transfer Format.
static const std::string GTF_TRANSCRIPT_ID
bool hasMoreFeature() const
void getFeaturesOfSequence(const std::string &seqId, SequenceFeatureSet &features)
static const std::string GTF_PHASE
void getAllFeatures(SequenceFeatureSet &features)
static const std::string GTF_GENE_ID
const BasicSequenceFeature nextFeature()
void getFeaturesOfType(const std::string &type, SequenceFeatureSet &features)
GtfFeatureReader(std::istream &input)
A simple ensemble of sequence features.
void addFeature(const SequenceFeature &feature)
Add a feature to the container. The feature will be copied and the copy owned by the container.