vg
tools for working with variation graphs
|
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< Subchain > | subchains |
Subchains in the order they appear in. More... | |
Representation of a top-level chain.
void vg::Haplotypes::TopLevelChain::load_old | ( | std::istream & | in | ) |
Loads the old version without a contig name.
void vg::Haplotypes::TopLevelChain::simple_sds_load | ( | std::istream & | in | ) |
Loads the object from a stream in the simple-sds format.
void vg::Haplotypes::TopLevelChain::simple_sds_serialize | ( | std::ostream & | out | ) | const |
Serializes the object to a stream in the simple-sds format.
size_t vg::Haplotypes::TopLevelChain::simple_sds_size | ( | ) | const |
Returns the size of the object in elements.
std::string vg::Haplotypes::TopLevelChain::contig_name |
Contig name corresponding to the chain.
size_t vg::Haplotypes::TopLevelChain::job_id |
GBWT construction job for this chain.
size_t vg::Haplotypes::TopLevelChain::offset |
Offset in the child list of the root snarl.
std::vector<Subchain> vg::Haplotypes::TopLevelChain::subchains |
Subchains in the order they appear in.