int coverage;
int previous_position = 0;
final Map<SNPCallPair, TreeMap<Integer, Long>> calltable_validation = new HashMap<SNPCallPair, TreeMap<Integer, Long>>();
ReferenceSequence reference = null;
while ((reference = reference_file.nextSequence()) != null) {
for (SamPositionIterator position_iterator : positionIterators) {
position_iterator.nextSequence();
String ref_name = reference.getName();
if (!position_iterator.getCurrentSequence().equals(ref_name))
continue;
System.out.println("Processing reads on sequence " + ref_name);
byte[] ref_array = reference.getBases();
// Iterate through loci with enough coverage
while (position_iterator.hasMoreElements()) {
PositionInfo p = position_iterator.nextElement();