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

Statistics on the generated haplotypes. More...

#include <recombinator.hpp>

Public Member Functions

void combine (const Statistics &another)
 Combines the statistics into this object. More...
 
std::ostream & print (std::ostream &out) const
 Prints the statistics and returns the output stream. More...
 

Public Attributes

size_t chains = 0
 Number of top-level chains. More...
 
size_t subchains = 0
 Number of subchains. More...
 
size_t fragments = 0
 Number of fragments. More...
 
size_t full_haplotypes = 0
 Number of top-level chains where full haplotypes were taken. More...
 
size_t haplotypes = 0
 Number of haplotypes generated. More...
 
size_t connections = 0
 Number of times a haplotype was extended from a subchain to the next subchain. More...
 
size_t ref_paths = 0
 Number of reference paths included. More...
 
size_t kmers = 0
 Number of kmers selected. More...
 
double score = 0.0
 Total score for selected sequences. More...
 

Detailed Description

Statistics on the generated haplotypes.

Member Function Documentation

◆ combine()

void vg::Recombinator::Statistics::combine ( const Statistics another)

Combines the statistics into this object.

◆ print()

std::ostream & vg::Recombinator::Statistics::print ( std::ostream &  out) const

Prints the statistics and returns the output stream.

Member Data Documentation

◆ chains

size_t vg::Recombinator::Statistics::chains = 0

Number of top-level chains.

◆ connections

size_t vg::Recombinator::Statistics::connections = 0

Number of times a haplotype was extended from a subchain to the next subchain.

◆ fragments

size_t vg::Recombinator::Statistics::fragments = 0

Number of fragments.

◆ full_haplotypes

size_t vg::Recombinator::Statistics::full_haplotypes = 0

Number of top-level chains where full haplotypes were taken.

◆ haplotypes

size_t vg::Recombinator::Statistics::haplotypes = 0

Number of haplotypes generated.

◆ kmers

size_t vg::Recombinator::Statistics::kmers = 0

Number of kmers selected.

◆ ref_paths

size_t vg::Recombinator::Statistics::ref_paths = 0

Number of reference paths included.

◆ score

double vg::Recombinator::Statistics::score = 0.0

Total score for selected sequences.

◆ subchains

size_t vg::Recombinator::Statistics::subchains = 0

Number of subchains.


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