Fix busted code. Note for all:
String.valueOf(byte[]) doesn't work. You must use new String(byte[]). git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3533 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
338bb9adf4
commit
63ad71cca6
|
|
@ -156,7 +156,7 @@ public class VariantContextAdaptors {
|
|||
if ( vcf.isDeletion() && refAllele.length() > alt.getLength() ) {
|
||||
byte[] semiDeletion = new byte[refAllele.length() - alt.getLength()];
|
||||
System.arraycopy(ref.getBases(), alt.getLength(), semiDeletion, 0, refAllele.length() - alt.getLength());
|
||||
allele = Allele.create(String.valueOf(semiDeletion), false);
|
||||
allele = Allele.create(new String(semiDeletion), false);
|
||||
} else {
|
||||
allele = Allele.create(alt.getBases(), false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue