SequenceI mappedSeq = m.getSequence();
/*
- * Locate the aligned sequence whose dataset is mappedSeq.
+ * Locate the aligned sequence whose dataset is mappedSeq. TODO a
+ * datamodel that can do this efficiently.
*/
for (SequenceI toSeq : mapTo.getAlignment().getSequences())
{
mappedToMax = Math.max(mappedToMax, mappedEndCol);
// System.out.println(fromSeq.getName() + " mapped to cols "
// + mappedStartCol + ":" + mappedEndCol);
+ break;
+ // TODO remove break if we ever want to map one to many sequences
}
}
}