Skip to content
Snippets Groups Projects
Commit aa9cb86a authored by tjc's avatar tjc
Browse files

allow for old emboss output format

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10484 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 0a0bbd29
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,14 @@ public class EmbossTableParser
if ("Start".equals(parts[0]))
continue;
CutSite cutSite = new CutSite(
CutSite cutSite;
if(parts.length > 8) // new EMBOSS format
cutSite = new CutSite(
parts[3], parts[5], parts[6], parts[7], parts[8], parts[2]);
else
cutSite = new CutSite(
parts[2], parts[4], parts[5], parts[6], parts[7], "+");
list.add(cutSite);
}
return list;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment