|
A library for working with phylogenetic and population genetic data.
v0.27.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_POPULATION_FORMATS_GFF_READER_H_
2 #define GENESIS_POPULATION_FORMATS_GFF_READER_H_
44 namespace population {
115 std::vector<Feature>
read( std::shared_ptr< utils::BaseInputSource > source )
const;
129 std::shared_ptr< utils::BaseInputSource > source,
139 std::shared_ptr< utils::BaseInputSource > source,
158 #endif // include guard
bool parse_line(utils::InputStream &input_stream, Feature &feature) const
GffReader & operator=(GffReader const &)=default
List of regions in a genome, for each chromosome.
std::string attributes_group
std::vector< Feature > read(std::shared_ptr< utils::BaseInputSource > source) const
Read a GFF2/GFF3/GTF input source, and return its content as a list of Feature structs.
BaseCounts merge(BaseCounts const &p1, BaseCounts const &p2)
Merge the counts of two BaseCountss.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
Reader for GFF2 and GFF3 (General Feature Format) and GTF (General Transfer Format) files.
GenomeRegionList read_as_genome_region_list(std::shared_ptr< utils::BaseInputSource > source, bool merge=false) const
Read a GFF2/GFF3/GTF input source, and return its content as a GenomeRegionList.