\r
// Replace ~ with a sensible gap character\r
seq = seq.replace('~', '-');\r
- if (!isValidProteinSequence(seq.toCharArray()))\r
- {\r
- throw new IOException(AppletFormatAdapter.\r
- INVALID_CHARACTERS\r
- + " : " + head\r
- + " : " + invalidCharacter);\r
- }\r
-\r
\r
Sequence newSeq = parseId(head);\r
\r