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

Public Types

typedef Recombinator::sequence_type sequence_type
 

Public Member Functions

 RecombinatorHaplotype (const Recombinator &recombinator, gbwt::GBWTBuilder &builder, gbwtgraph::MetadataBuilder &metadata, const std::string &contig_name, size_t id)
 
void extend (sequence_type sequence, const Haplotypes::Subchain &subchain)
 
void take (gbwt::size_type sequence_id)
 
void finish (bool with_suffix)
 

Public Attributes

const Recombinatorrecombinator
 
gbwt::GBWTBuilder & builder
 
gbwtgraph::MetadataBuilder & metadata
 
const std::string & contig_name
 
size_t id
 
size_t fragment
 
gbwt::size_type sequence_id
 
gbwt::edge_type position
 
gbwt::vector_type path
 

Private Member Functions

void connect (gbwt::node_type until)
 
void prefix (gbwt::node_type until)
 
void suffix ()
 
void insert ()
 

Member Typedef Documentation

◆ sequence_type

Constructor & Destructor Documentation

◆ RecombinatorHaplotype()

vg::RecombinatorHaplotype::RecombinatorHaplotype ( const Recombinator recombinator,
gbwt::GBWTBuilder &  builder,
gbwtgraph::MetadataBuilder &  metadata,
const std::string &  contig_name,
size_t  id 
)
inline

Member Function Documentation

◆ connect()

void vg::RecombinatorHaplotype::connect ( gbwt::node_type  until)
private

◆ extend()

void vg::RecombinatorHaplotype::extend ( sequence_type  sequence,
const Haplotypes::Subchain subchain 
)

◆ finish()

void vg::RecombinatorHaplotype::finish ( bool  with_suffix)

◆ insert()

void vg::RecombinatorHaplotype::insert ( )
private

◆ prefix()

void vg::RecombinatorHaplotype::prefix ( gbwt::node_type  until)
private

◆ suffix()

void vg::RecombinatorHaplotype::suffix ( )
private

◆ take()

void vg::RecombinatorHaplotype::take ( gbwt::size_type  sequence_id)

Member Data Documentation

◆ builder

gbwt::GBWTBuilder& vg::RecombinatorHaplotype::builder

◆ contig_name

const std::string& vg::RecombinatorHaplotype::contig_name

◆ fragment

size_t vg::RecombinatorHaplotype::fragment

◆ id

size_t vg::RecombinatorHaplotype::id

◆ metadata

gbwtgraph::MetadataBuilder& vg::RecombinatorHaplotype::metadata

◆ path

gbwt::vector_type vg::RecombinatorHaplotype::path

◆ position

gbwt::edge_type vg::RecombinatorHaplotype::position

◆ recombinator

const Recombinator& vg::RecombinatorHaplotype::recombinator

◆ sequence_id

gbwt::size_type vg::RecombinatorHaplotype::sequence_id

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