PROPERLY print out list of intervals and their stats
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5074 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
db2e2cb0ff
commit
af79fa629f
|
|
@ -171,9 +171,9 @@ public class CountHetPhasingInIntervalWalker extends RodWalker<Integer, Integer>
|
|||
|
||||
for (Map.Entry<String, SingleSampleIntervalStats> sampleStatEntry : sampleToStat.entrySet()) {
|
||||
SingleSampleIntervalStats stats = sampleStatEntry.getValue();
|
||||
if (perIntervalOut != null) {
|
||||
if (perIntervalOut != null && stats.numHetsInCurrentInterval > 0) {
|
||||
String sample = sampleStatEntry.getKey();
|
||||
perIntervalOut.print(sample + "\t" + curInterval + "\t" + stats.numPhasedInCurrentInterval + "\t" + stats.numHetsInCurrentInterval + "\t" + stats.firstHetIsPhased);
|
||||
perIntervalOut.println(sample + "\t" + curInterval + "\t" + stats.numPhasedInCurrentInterval + "\t" + stats.numHetsInCurrentInterval + "\t" + stats.firstHetIsPhased);
|
||||
}
|
||||
stats.finalizeStats(); // now, can reset the counters [after print-out]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue