if (matcher.find()) {
String[] offsets = matcher.group(1).split("-");
int startOffset = Integer.parseInt(offsets[0]);
int endOffset = Integer.parseInt(offsets[1]);
String name = vp.replaceAll(BRACKETS.pattern(), "");
virtualProteins.add(new VirtualProtein(name, startOffset, endOffset, geneID));
}
}
return virtualProteins;
}