rend = new Regex("\\/\\/"); // Find the end of an alignment\r
p = new Regex("(\\S+)\\/(\\d+)\\-(\\d+)"); // split sequence id in\r
// id/from/to\r
- s = new Regex("(\\S+)\\s+(\\w{2})\\s+(.*)"); // Parses annotation subtype\r
+ s = new Regex("(\\S+)\\s+(\\S*)\\s+(.*)"); // Parses annotation subtype\r
r = new Regex("#=(G[FSRC]?)\\s+(.*)"); // Finds any annotation line\r
x = new Regex("(\\S+)\\s+(\\S+)"); // split id from sequence\r
\r
}\r
else\r
{\r
- throw new IOException("Error parsing " + line);\r
+ System.err.println("Warning - couldn't parse sequence annotation row line:\n"+line);\r
+ // throw new IOException("Error parsing " + line);\r
}\r
}\r
else\r