Class to hold a single possible phasing of loci in a Superlocus. More...
#include <PhasedHypothesis.hpp>
| 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::Range & | getRange () const | 
| Returns the reference range of the PhasedHypothesis. | |
| const PhasedAllele & | operator[] (size_t offset) const | 
| Returns the given PhasedAllele. | |
| PhasedAllele & | operator[] (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) | 
Class to hold a single possible phasing of loci in a Superlocus.
| 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.
 1.6.2
 1.6.2