package vg

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Alignment

vg.proto:113

Alignments link query strings, such as other genomes or reads, to Paths.

message BasePileup

vg.proto:209

Summarizes reads that map to single position in the graph. This structure is pretty much identical to a line in Samtools pileup format if qualities set, it must have size = num_bases

Used in: NodePileup

message Edge

vg.proto:32

*Edges* describe linkages between nodes. They are bidirected, connecting the end (default) or start of the "from" node to the start (default) or end of the "to" node.

Used in: EdgePileup, Graph, LocationSupport

message EdgePileup

vg.proto:225

Keep pileup-like record for reads that span edges

Used in: Pileup

message Edit

vg.proto:52

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: - *matches*: from_length == to_length; sequence is empty - *snps*: from_length == to_length; sequence = alt - *deletions*: to_length == 0 && from_length > to_length; sequence is empty - *insertions*: from_length < to_length; sequence = alt

Used in: Mapping

message Genotype

vg.proto:321

Describes a genotype at a particular locus.

Used in: Locus

message Graph

vg.proto:15

*Graphs* are collections of nodes and edges. They can represent subgraphs of larger graphs or be wholly-self-sufficient. Protobuf memory limits of 67108864 bytes mean we typically keep the size of them small generating graphs as collections of smaller subgraphs.

message KmerMatch

vg.proto:197

Used to serialize kmer matches.

message LocationSupport

vg.proto:346

Support pinned to a location, which can be either a node or an edge

message Locus

vg.proto:301

Describes a genetic locus with multiple possible alleles, a genotype, and observational support.

Used in: Alignment

message Mapping

vg.proto:62

A Mapping defines the relationship between a node in system and another entity. An empty edit list implies complete match, however it is preferred to specify the full edit structure. as it is more complex to handle special cases.

Used in: Path

message MultipathAlignment

vg.proto:159

A subgraph of the unrolled Graph in which each non-branching path is associated with an alignment of part of the read and part of the graph such that any path through the MultipathAlignment indicates a valid alignment of a read to the graph

message Node

vg.proto:22

*Nodes* store sequence data.

Used in: Graph

message NodePileup

vg.proto:219

Collect pileup records by node. Saves some space and hashing over storing individually, assuming not too sparse and avg. node length more than couple bases the ith BasePileup in the array corresponds to the position at offset i.

Used in: Pileup

message Path

vg.proto:104

Paths are walks through nodes defined by a series of `Edit`s. They can be used to represent: - haplotypes - mappings of reads, or alignments, by including edits - relationships between nodes - annotations from other data sources, such as: genes, exons, motifs, transcripts, peaks

Used in: Alignment, Graph, Locus, Subpath, Translation

message Pileup

vg.proto:233

Bundle up Node and Edge pileups

message Position

vg.proto:89

Used in: Alignment, Mapping

message Snarl

vg.proto:246

Describes a subgraph that is connected to the rest of the graph by two nodes.

Used in: Visit

message SnarlTraversal

vg.proto:288

Describes a walk through a Snarl where each step is given as either a node or a child Snarl (leaving the walk through the child Snarl to another SnarlTraversal)

enum SnarlType

vg.proto:239

Enumeration of the classifications of snarls

Used in: Snarl

message Subpath

vg.proto:183

A non-branching path of a MultipathAlignment

Used in: MultipathAlignment

message Support

vg.proto:332

Aggregates information about the reads supporting an allele.

Used in: LocationSupport, Locus

message Translation

vg.proto:361

Translations map from one graph to another. A collection of these provides a covering mapping between a from and to graph. If each "from" path through the base graph corresponds to a "to" path in an updated graph, then we can use these translations to project positions, mappings, and paths in the new graph into the old one using the Translator interface.

message Visit

vg.proto:274

Describes a step of a walk through a Snarl either on a node or through a child Snarl

Used in: Snarl, SnarlTraversal