Skip to content

Commit

Permalink
fix bed annotation around insertions
Browse files Browse the repository at this point in the history
  • Loading branch information
hiruna72 committed Jan 17, 2024
1 parent 2c8c70b commit 86f914f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bed_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,11 @@ def draw_bed_annotation(p, bed_content, sig_algn_data, draw_data, base_limit, tr
elif 'I' in i:
i = re.sub('I', '', i)
n_samples = int(i)
location_plot += n_samples
x_coordinate += n_samples
if draw_data['fixed_width']:
pass
else:
location_plot += n_samples
else:
n_samples = int(i)
if draw_data['fixed_width']:
Expand Down

0 comments on commit 86f914f

Please sign in to comment.