if (currentChr != null && chr.equals(currentChr)) {
if (start < (lastStartPosition - maxExtFactor)) {
String msg = "Error: Data is not sorted @ " + chr + " " + start +
" (last position = " + lastStartPosition +
" max ext factor = " + maxExtFactor + ")";
UnsortedException e = new UnsortedException(msg);
log.error(msg, e);
throw e;
}
} else {
newChromosome(chr);