Better printing support for false positives and false negatives in concordance tables
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2514 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
592749a7c1
commit
34519b3e3b
|
|
@ -100,6 +100,12 @@ public class ConcordanceTruthTable {
|
|||
int callType = getGenotype(evalG, ref);
|
||||
|
||||
//System.out.printf("TEST: %d/%d %s vs. %s%n", truthIndex, callIndex, chip, eval);
|
||||
if ( truthType == VARIANT && callType != VARIANT ) {
|
||||
violation = String.format("False negative: ref=%c chip=%s call=%s", ref, chipG, evalG);
|
||||
} else if ( truthType == REF && callType == VARIANT ) {
|
||||
violation = String.format("False positive: chip=%s call=%s", chipG, evalG);
|
||||
}
|
||||
|
||||
addGenotypeEntry(truthType, callType);
|
||||
}
|
||||
} else { // if we cannot associate tables with individuals, then we are working in a pooled context
|
||||
|
|
|
|||
Loading…
Reference in New Issue