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

changes to getSeqsVariation()

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15521 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 1a830602
No related branches found
No related tags found
No related merge requests found
......@@ -256,22 +256,10 @@ class IOUtils
{
}
else if(vcfRecord.getAlt().isNonVariant())
{
String ref = vcfRecord.getRef();
if(vcfRecord.getAlt().isNonVariant())
buff.append(ref.toUpperCase());
else
buff.append(ref);
}
else if(vcfRecord.getAlt().isNonVariant()) // non-variant SNP
buff.append(vcfRecord.getRef());
else
{
String alt = vcfRecord.getAlt().toString();
if(vcfRecord.getAlt().isNonVariant())
buff.append(alt.toUpperCase());
else
buff.append(alt);
}
buff.append(vcfRecord.getAlt().toString().toLowerCase()); // SNP
if(isFwd && position < bases.length())
buff.append(bases.substring(position+1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment