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

fix for insertion

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15729 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent dea77072
No related branches found
No related tags found
No related merge requests found
...@@ -680,7 +680,10 @@ class IOUtils ...@@ -680,7 +680,10 @@ class IOUtils
buff.append("-"); buff.append("-");
} }
else if(vcfRecord.getAlt().isInsertion(vcf_v4)) else if(vcfRecord.getAlt().isInsertion(vcf_v4))
{
buff.append(getBase(vcfRecord.getAlt().toString(), isFwd)); buff.append(getBase(vcfRecord.getAlt().toString(), isFwd));
position+=(vcfRecord.getRef().toString().length()-1);
}
else if(vcfRecord.getAlt().isMultiAllele()) else if(vcfRecord.getAlt().isMultiAllele())
{ {
String base = MultipleAlleleVariant.getIUBCode(vcfRecord); String base = MultipleAlleleVariant.getIUBCode(vcfRecord);
......
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