vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::GFFRecord Struct Reference

#include <gff_reader.hpp>

Public Member Functions

 GFFRecord ()=default
 
 ~GFFRecord ()=default
 
map< string, string > parse_attributes ()
 

Public Attributes

string sequence_id
 
string source
 
string type
 
int64_t start = -1
 
int64_t end = -1
 
double score = numeric_limits<double>::quiet_NaN()
 
bool strand_is_rev = false
 
int32_t phase = -1
 
string attributes
 

Detailed Description

A package of the information contained in a GFF3 record. The null "." entries in a a GFF are parsed into empty strings or the default values of the numerical fields as given below.

Constructor & Destructor Documentation

◆ GFFRecord()

vg::GFFRecord::GFFRecord ( )
default

◆ ~GFFRecord()

vg::GFFRecord::~GFFRecord ( )
default

Member Function Documentation

◆ parse_attributes()

map< string, string > vg::GFFRecord::parse_attributes ( )

Member Data Documentation

◆ attributes

string vg::GFFRecord::attributes

◆ end

int64_t vg::GFFRecord::end = -1

◆ phase

int32_t vg::GFFRecord::phase = -1

◆ score

double vg::GFFRecord::score = numeric_limits<double>::quiet_NaN()

◆ sequence_id

string vg::GFFRecord::sequence_id

◆ source

string vg::GFFRecord::source

◆ start

int64_t vg::GFFRecord::start = -1

◆ strand_is_rev

bool vg::GFFRecord::strand_is_rev = false

◆ type

string vg::GFFRecord::type

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