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

Represents a called site for translation into VCF. More...

#include <site_emitter.hpp>

Public Attributes

handle_t start
 The site's boundary nodes, oriented into the site. More...
 
handle_t end
 
const string & ref_path_name
 The reference path the record is placed on, which may name a subrange of its base path. More...
 
int64_t ref_offset
 The offset added to positions on the reference path. More...
 
const vector< int > & genotype
 
int ref_trav_idx
 The traversal that is the reference allele. More...
 
size_t traversal_count
 How many traversals the site has. The allele source can spell any of them. More...
 
int ploidy
 The ploidy at the site. More...
 
const string * id = nullptr
 The record's ID, or null to name the record automatically. More...
 

Detailed Description

Represents a called site for translation into VCF.

Member Data Documentation

◆ end

handle_t vg::CalledSite::end

◆ genotype

const vector<int>& vg::CalledSite::genotype

The called genotype, as numbers of the site's traversals or as the allele markers. Empty when the site has no call.

◆ id

const string* vg::CalledSite::id = nullptr

The record's ID, or null to name the record automatically.

◆ ploidy

int vg::CalledSite::ploidy

The ploidy at the site.

◆ ref_offset

int64_t vg::CalledSite::ref_offset

The offset added to positions on the reference path.

◆ ref_path_name

const string& vg::CalledSite::ref_path_name

The reference path the record is placed on, which may name a subrange of its base path.

◆ ref_trav_idx

int vg::CalledSite::ref_trav_idx

The traversal that is the reference allele.

◆ start

handle_t vg::CalledSite::start

The site's boundary nodes, oriented into the site.

◆ traversal_count

size_t vg::CalledSite::traversal_count

How many traversals the site has. The allele source can spell any of them.


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