end are negative. help!? this.proteinSequence = sDNA.substring(startAt, endAt); <---- The line of code causing the Exception.
proteinSequence is a String.
sDNA is a String of length > 16 000 characters.
In this example, startAt = 3306 and endAt = 3192.
When run I get the following bizarre...