Ups, I did it again. Fixing the bug introduced in a previous commit: use correct length of the indel event.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2713 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
asivache 2010-01-27 21:51:54 +00:00
parent fddca032bb
commit bd11060e72
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class PickSequenomProbes extends RefWalker<String, String> {
else if ( variant.isInsertion() )
assay_sequence = leading_bases + refBase + "[-/" + Utils.join("",variant.getAlleleList()) + "]" + trailing_bases;
else if ( variant.isDeletion() )
assay_sequence = leading_bases + refBase + "[" + Utils.join("",variant.getAlleleList()) + "/-]" + trailing_bases.substring(variant.getAlleleList().size());
assay_sequence = leading_bases + refBase + "[" + Utils.join("",variant.getAlleleList()) + "/-]" + trailing_bases.substring(variant.getAlleleList().get(0).length());
else
return "";