}
} else {
if (haplotype.isReference()) {
referenceHaplotype = haplotype;
referenceRoute = haplotypeRoute;
referenceVertices = haplotypeRoute.vertexSet();
referenceBases = haplotypeRoute.getBases();
}
haplotypeRouteByHaplotype.put(haplotype, haplotypeRoute);
}
}