A library for working with phylogenetic data.
v0.25.0
GffReader Class Reference

#include <genesis/population/formats/gff_reader.hpp>

Detailed Description

Reader for GFF (General Feature Format) and GTF (General Transfer Format) files.

See https://uswest.ensembl.org/info/website/upload/gff.html for the format description.

See also http://gmod.org/wiki/GFF2 and http://gmod.org/wiki/GFF3 for additional information.

Definition at line 55 of file gff_reader.hpp.

Public Member Functions

 GffReader ()=default
 
 GffReader (GffReader &&)=default
 
 GffReader (GffReader const &)=default
 
 ~GffReader ()=default
 
GffReaderoperator= (GffReader &&)=default
 
GffReaderoperator= (GffReader const &)=default
 
bool parse_line (utils::InputStream &input_stream, Feature &feature) const
 
std::vector< Featureread (std::shared_ptr< utils::BaseInputSource > source) const
 

Public Types

using Attribute = std::pair< std::string, std::string >
 

Classes

struct  Feature
 

Constructor & Destructor Documentation

◆ GffReader() [1/3]

GffReader ( )
default

◆ ~GffReader()

~GffReader ( )
default

◆ GffReader() [2/3]

GffReader ( GffReader const &  )
default

◆ GffReader() [3/3]

GffReader ( GffReader &&  )
default

Member Function Documentation

◆ operator=() [1/2]

GffReader& operator= ( GffReader &&  )
default

◆ operator=() [2/2]

GffReader& operator= ( GffReader const &  )
default

◆ parse_line()

bool parse_line ( utils::InputStream input_stream,
GffReader::Feature feature 
) const

Definition at line 61 of file gff_reader.cpp.

◆ read()

std::vector< GffReader::Feature > read ( std::shared_ptr< utils::BaseInputSource source) const

Definition at line 48 of file gff_reader.cpp.

Member Typedef Documentation

◆ Attribute

using Attribute = std::pair<std::string, std::string>

Definition at line 63 of file gff_reader.hpp.


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