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

Public Attributes

int32 from_length = 1
 Length in the target/ref sequence that is removed. More...
 
int32 to_length = 2
 Length in read/alt of the sequence it is replaced with. More...
 
string sequence = 3
 The replacement sequence, if different from the original sequence. More...
 

Detailed Description

Edits describe how to generate a new string from elements in the graph. To determine the new string, just walk the series of edits, stepping from_length distance in the basis node, and to_length in the novel element, replacing from_length in the basis node with the sequence.

There are several types of Edit:

Member Data Documentation

◆ from_length

int32 vg::Edit::from_length = 1

Length in the target/ref sequence that is removed.

◆ sequence

string vg::Edit::sequence = 3

The replacement sequence, if different from the original sequence.

◆ to_length

int32 vg::Edit::to_length = 2

Length in read/alt of the sequence it is replaced with.


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