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

#include <genome_state.hpp>

Inheritance diagram for vg::ReplaceSnarlHaplotypeCommand:
vg::GenomeStateCommand

Public Member Functions

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

Public Attributes

const Snarlsnarl
 Which snarl are we working on? More...
 
size_t lane
 Which lane in the snarl are we changing? More...
 
vector< handle_thaplotype
 

Constructor & Destructor Documentation

◆ ~ReplaceSnarlHaplotypeCommand()

virtual vg::ReplaceSnarlHaplotypeCommand::~ReplaceSnarlHaplotypeCommand ( )
virtualdefault

Member Function Documentation

◆ execute()

GenomeStateCommand * vg::ReplaceSnarlHaplotypeCommand::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::ReplaceSnarlHaplotypeCommand::haplotype

What fully specified haplotype should we replace it with? This gets around any problems to do with increases or decreases in the copy numbers of child snarls being underspecified.

◆ lane

size_t vg::ReplaceSnarlHaplotypeCommand::lane

Which lane in the snarl are we changing?

◆ snarl

const Snarl* vg::ReplaceSnarlHaplotypeCommand::snarl

Which snarl are we working on?


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