cgatools::variants::PhasedHypothesis Class Reference

Class to hold a single possible phasing of loci in a Superlocus. More...

#include <PhasedHypothesis.hpp>

List of all members.

Public Member Functions

 PhasedHypothesis ()
 Constructs an empty PhasedHypothesis.
 PhasedHypothesis (const reference::Range &range, size_t ploidy)
 Constructs the PhasedHypothesis.
size_t size () const
 Returns the ploidy of the PhasedHypothesis.
const reference::RangegetRange () const
 Returns the reference range of the PhasedHypothesis.
const PhasedAlleleoperator[] (size_t offset) const
 Returns the given PhasedAllele.
PhasedAlleleoperator[] (size_t offset)
 Returns the given PhasedAllele.
void swap (PhasedHypothesis &other)

Static Public Member Functions

static void findBestDiff (const Superlocus &sl, size_t maxHypothesisCount, const std::vector< PhasedHypothesis > &lhs, const std::vector< PhasedHypothesis > &rhs, const reference::CrrFile &crr, CallDiffResult &result)
 Returns the best calldiff result, given the list of PhasedHypothesis for two files.
static void testVariant (const Superlocus &sl, const std::vector< PhasedHypothesis > &hyps, const reference::Range &varRange, const std::string &varAllele, const reference::CrrFile &crr, std::string &result)

Detailed Description

Class to hold a single possible phasing of loci in a Superlocus.


Member Function Documentation

static void cgatools::variants::PhasedHypothesis::findBestDiff ( const Superlocus sl,
size_t  maxHypothesisCount,
const std::vector< PhasedHypothesis > &  lhs,
const std::vector< PhasedHypothesis > &  rhs,
const reference::CrrFile crr,
CallDiffResult result 
) [static]

Returns the best calldiff result, given the list of PhasedHypothesis for two files.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2