Skip to content

Commit

Permalink
Change initial locus for each positino to == variant position, rather…
Browse files Browse the repository at this point in the history
… than a range around position.
  • Loading branch information
jrobinso committed Jun 9, 2021
1 parent 022b9b2 commit 6bf2d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion igv_reports/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create_report(args):
initial_locus = feature.viewport
else:
position = int(math.floor((feature.start + feature.end) / 2)) + 1 # center of region in 1-based coordinates
initial_locus = chr + ":" + str(position - 20) + "-" + str(position + 20)
initial_locus = chr + ":" + str(position)
session_json = {
"locus": initial_locus,
"reference": fastaJson,
Expand Down

0 comments on commit 6bf2d8c

Please sign in to comment.