|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_POPULATION_FORMAT_GFF_READER_H_
2 #define GENESIS_POPULATION_FORMAT_GFF_READER_H_
45 namespace population {
116 std::vector<Feature>
read( std::shared_ptr< utils::BaseInputSource > source )
const;
128 std::shared_ptr< utils::BaseInputSource > source
143 std::shared_ptr< utils::BaseInputSource > source,
153 std::shared_ptr< utils::BaseInputSource > source,
172 #endif // include guard
SampleCounts merge(SampleCounts const &p1, SampleCounts const &p2)
Merge the counts of two SampleCountss.
bool parse_line(utils::InputStream &input_stream, Feature &feature) const
List of positions/coordinates in a genome, for each chromosome.
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.
GenomeLocusSet read_as_genome_locus_set(std::shared_ptr< utils::BaseInputSource > source) const
Read an input source, and return its content as a GenomeLocusSet.
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.