40 #ifndef _GFFFEATUREREADER_H_
41 #define _GFFFEATUREREADER_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 Finding Feature format.
static const std::string GFF_DBXREF
static const std::string GFF_STRAND
static const std::string GFF_ALIAS
void getFeaturesOfSequence(const std::string &seqId, SequenceFeatureSet &features)
static std::string toString(const bpp::SequenceFeature &f)
static const std::string GFF_NOTE
void getFeaturesOfType(const std::string &type, SequenceFeatureSet &features)
static const std::string GFF_PHASE
static const std::string GFF_DERIVES_FROM
static const std::string GFF_TARGET
static const std::string GFF_ONTOLOGY_TERM
static const std::string GFF_IS_CIRCULAR
static const std::string GFF_GAP
void getAllFeatures(SequenceFeatureSet &features)
static void toString(const bpp::SequenceFeatureSet &fs, std::ostream &out)
bool hasMoreFeature() const
static const std::string GFF_PARENT
static const std::string GFF_NAME
const BasicSequenceFeature nextFeature()
GffFeatureReader(std::istream &input)
static void toString(const bpp::SequenceFeature &f, std::ostream &out)
Out put a string description of a feature to a stream.
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.
size_t getNumberOfFeatures() const
The base interface for sequence features.