Class to hold the result of diffing two superloci. More...
#include <CallDiffResult.hpp>
| Public Types | |
| enum | MatchType { REF_IDENTICAL = 0, ALT_IDENTICAL = 1, REF_CONSISTENT = 2, ALT_CONSISTENT = 3, ONLY_A = 4, ONLY_B = 5, MISMATCH = 6, PHASE_MISMATCH = 7, PLOIDY_MISMATCH = 8, MATCH_TYPE_LAST = 9 } | 
| Enumeration describing the type of match found one one allele.More... | |
| Static Public Member Functions | |
| static MatchType | mergeMatchTypes (MatchType mtA, MatchType mtB) | 
| For calls participating in two CallDiffSegment instances or alleles having multiple calls, this returns the merged match type associated with the call or allele as a whole. | |
| static const char * | getMatchTypeString (MatchType mt) | 
| Returns string identifier associated with the given match type. | |
| static std::string | getMatchTypeString (const std::vector< MatchType > &mt) | 
| Returns ;-separated string identifier for the given list of MatchType instances. | |
| static std::string | getSimpleMatchTypeString (const std::vector< MatchType > &mt) | 
| Returns string identifier that is the simplified version of the match type identifier (i.e. | |
| Public Attributes | |
| size_t | lhsOffset_ | 
| The offset in the list PhasedHypothesis of file A of the allele used for this CallDiffResult. | |
| size_t | rhsOffset_ | 
| The offset in the list PhasedHypothesis of file B of the allele used for this CallDiffResult. | |
| std::vector< MatchType > | matchType_ | 
| For each allele, the match type. | |
| boost::array< std::vector < std::vector< std::pair < MatchType, const Call * > > >, 2 > | callClass_ | 
| For each file, for each allele, for each call, the MatchType and Call. | |
| std::vector< size_t > | perm_ | 
| The permutation of file A used for this CallDiffResult. | |
Class to hold the result of diffing two superloci.
Enumeration describing the type of match found one one allele.
| static std::string cgatools::variants::CallDiffResult::getMatchTypeString | ( | const std::vector< MatchType > & | mt | ) |  [static] | 
Returns ;-separated string identifier for the given list of MatchType instances.
| static std::string cgatools::variants::CallDiffResult::getSimpleMatchTypeString | ( | const std::vector< MatchType > & | mt | ) |  [static] | 
Returns string identifier that is the simplified version of the match type identifier (i.e.
ref-identical -> identical, alt-identical -> identical).
| static MatchType cgatools::variants::CallDiffResult::mergeMatchTypes | ( | MatchType | mtA, | |
| MatchType | mtB | |||
| ) |  [static] | 
For calls participating in two CallDiffSegment instances or alleles having multiple calls, this returns the merged match type associated with the call or allele as a whole.
| boost::array<std::vector< std::vector< std::pair<MatchType, const Call*> > >, 2> cgatools::variants::CallDiffResult::callClass_ | 
For each file, for each allele, for each call, the MatchType and Call.
The offset in the list PhasedHypothesis of file A of the allele used for this CallDiffResult.
The offset in the list PhasedHypothesis of file B of the allele used for this CallDiffResult.
 1.6.2
 1.6.2