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

#include <genome_state.hpp>

Inheritance diagram for vg::AppendHaplotypeCommand:
vg::GenomeStateCommand

Public Member Functions

virtual GenomeStateCommandexecute (GenomeState &state) const
 
virtual ~AppendHaplotypeCommand ()=default
 
- Public Member Functions inherited from vg::GenomeStateCommand
virtual ~GenomeStateCommand ()=default
 

Public Attributes

vector< handle_thaplotype
 

Constructor & Destructor Documentation

◆ ~AppendHaplotypeCommand()

virtual vg::AppendHaplotypeCommand::~AppendHaplotypeCommand ( )
virtualdefault

Member Function Documentation

◆ execute()

GenomeStateCommand * vg::AppendHaplotypeCommand::execute ( GenomeState state) const
virtual

Execute this command on the given state and return the reverse command. Generally ends up calling a command-type-specific method on the GenomeState that does the actual work.

Implements vg::GenomeStateCommand.

Member Data Documentation

◆ haplotype

vector<handle_t> vg::AppendHaplotypeCommand::haplotype

We just feed in a full traversal from one end of a telomere pair to the other. Must start and end on the boundary nodes of telomere snarls. TODO: unary telomeres will work strangely. Internally the GenomeState has to work out how to divide this into snarls.


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