alleles.add(Allele.create("A", true));
alleles.add(Allele.create(Utils.dupString("A",Math.abs(indelSize)+1),false));
}
final GenomeLoc loc = genomeLocParser.createGenomeLoc(artificialContig,locStart+offset,locStart+offset);
final ReferenceContext referenceContext = new ReferenceContext(genomeLocParser,loc,window,windowBases.getBytes());
final VariantContext vc = new VariantContextBuilder("test", artificialContig, locStart+offset, locStart+offset+alleles.get(0).length()-1, alleles).make();
final Pair<VariantContext,Integer> result = LeftAlignAndTrimVariants.alignAndWrite(vc,referenceContext);
Assert.assertTrue(result.second == (offset>0?1:0));
Assert.assertEquals(result.first.getStart(), locStart);