print indels in the format required for 1KG submissions
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1275 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
d45c90b166
commit
da4af3b620
|
|
@ -37,7 +37,9 @@ public class SimpleIndelROD extends TabularROD implements Genotype {
|
|||
|
||||
public String toString() {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
sb.append(getLocation() + "\t" + getFWDAlleles().get(0));
|
||||
sb.append(getLocation().getContig() + "\t" + getLocation().getStart() + "\t");
|
||||
String indel = getFWDAlleles().get(0);
|
||||
sb.append((indel.length()-1) + "\t" + (isInsertion() ? "I" : "D") + "\t" + indel.substring(1));
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue