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

Representation of a top-level chain. More...

#include <recombinator.hpp>

Public Member Functions

void simple_sds_serialize (std::ostream &out) const
 Serializes the object to a stream in the simple-sds format. More...
 
void simple_sds_load (std::istream &in)
 Loads the object from a stream in the simple-sds format. More...
 
void load_old (std::istream &in)
 Loads the old version without a contig name. More...
 
size_t simple_sds_size () const
 Returns the size of the object in elements. More...
 

Public Attributes

size_t offset
 Offset in the child list of the root snarl. More...
 
size_t job_id
 GBWT construction job for this chain. More...
 
std::string contig_name
 Contig name corresponding to the chain. More...
 
std::vector< Subchainsubchains
 Subchains in the order they appear in. More...
 

Detailed Description

Representation of a top-level chain.

Member Function Documentation

◆ load_old()

void vg::Haplotypes::TopLevelChain::load_old ( std::istream &  in)

Loads the old version without a contig name.

◆ simple_sds_load()

void vg::Haplotypes::TopLevelChain::simple_sds_load ( std::istream &  in)

Loads the object from a stream in the simple-sds format.

◆ simple_sds_serialize()

void vg::Haplotypes::TopLevelChain::simple_sds_serialize ( std::ostream &  out) const

Serializes the object to a stream in the simple-sds format.

◆ simple_sds_size()

size_t vg::Haplotypes::TopLevelChain::simple_sds_size ( ) const

Returns the size of the object in elements.

Member Data Documentation

◆ contig_name

std::string vg::Haplotypes::TopLevelChain::contig_name

Contig name corresponding to the chain.

◆ job_id

size_t vg::Haplotypes::TopLevelChain::job_id

GBWT construction job for this chain.

◆ offset

size_t vg::Haplotypes::TopLevelChain::offset

Offset in the child list of the root snarl.

◆ subchains

std::vector<Subchain> vg::Haplotypes::TopLevelChain::subchains

Subchains in the order they appear in.


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