Will now work with simplest tabular format - genotype string ("+ACTT") does not have to be followed by ':'
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2755 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
e0808e6c37
commit
990af3f76e
|
|
@ -33,7 +33,11 @@ public class SimpleIndelROD extends TabularROD implements VariationRod {
|
|||
return Arrays.asList(this.get("4"));
|
||||
|
||||
String str = this.get("3");
|
||||
return Arrays.asList(str.substring(1, str.indexOf(":")));
|
||||
int pos = str.indexOf(":");
|
||||
if ( pos == -1 ) {
|
||||
return Arrays.asList(str.substring(1));
|
||||
}
|
||||
return Arrays.asList(str.substring(1, pos));
|
||||
}
|
||||
|
||||
public String getFWDRefBases() { return ""; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue