Properly output .bed

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4905 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-12-23 14:49:24 +00:00
parent 464d0e18e3
commit cebfd01857
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class CreateTriggerTrack extends RodWalker<Integer, Integer> {
Collection<VariantContext> VCs = tracker.getAllVariantContexts(ref);
if ( VCs.size() > 0 )
writer.println(context.getLocation().getContig() + "\t" + context.getLocation().getStart() + "\t" + context.getLocation().getStart());
writer.println(context.getLocation().getContig() + "\t" + (context.getLocation().getStart()-1) + "\t" + context.getLocation().getStart());
return 0;
}