Skip to content

Commit f527f97

Browse files
committed
Adjust reading frames to NL3
1 parent 8b4a9b4 commit f527f97

File tree

1 file changed

+10
-10
lines changed
  • alldata/bblab_site/tools/isoforms_plot/isoforms_plot

1 file changed

+10
-10
lines changed

alldata/bblab_site/tools/isoforms_plot/isoforms_plot/plotter.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
CANVAS_WIDTH = 900
1616

1717
# default NL43 landmarks for the small overview graphic
18-
# assigned to three frames (0/1/2) so overlapping genes stack vertically
19-
# tat and rev have multiple exons, so we include both parts
18+
# assigned to frames so overlapping genes stack vertically
19+
# tat and rev have multiple exons at different vertical positions
2020
LANDMARKS = [
2121
{"name": "5'LTR", 'start': 1, 'end': 634, 'colour': '#e0e0e0', 'frame': 0},
2222
{'name': 'gag', 'start': 790, 'end': 2292, 'colour': '#a6cee3', 'frame': 0},
2323
{'name': 'pol', 'start': 2085, 'end': 5096, 'colour': '#1f78b4', 'frame': 2},
2424
{'name': 'vif', 'start': 5041, 'end': 5619, 'colour': '#fb9a99', 'frame': 0},
2525
{'name': 'vpr', 'start': 5559, 'end': 5849, 'colour': '#fdbf6f', 'frame': 2},
26-
{'name': 'tat', 'start': 5830, 'end': 6044, 'colour': '#b2df8a', 'frame': 1, 'exon': 1},
27-
{'name': 'tat', 'start': 8369, 'end': 8414, 'colour': '#b2df8a', 'frame': 0, 'exon': 2},
28-
{'name': 'rev', 'start': 5970, 'end': 6044, 'colour': '#c2a5cf', 'frame': 2, 'exon': 1},
29-
{'name': 'rev', 'start': 8369, 'end': 8643, 'colour': '#c2a5cf', 'frame': 1, 'exon': 2},
30-
{'name': 'vpu', 'start': 6062, 'end': 6306, 'colour': '#ffff99', 'frame': 1},
31-
{'name': 'env', 'start': 6221, 'end': 8785, 'colour': '#8dd3c7', 'frame': 2},
32-
{'name': 'nef', 'start': 8787, 'end': 9407, 'colour': '#bebada', 'frame': 0},
33-
{"name": "3'LTR", 'start': 9086, 'end': 9719, 'colour': '#e0e0e0', 'frame': 1}
26+
{'name': 'tat', 'start': 5830, 'end': 6044, 'colour': '#b2df8a', 'frame': 0, 'exon': 1},
27+
{'name': 'tat', 'start': 8369, 'end': 8414, 'colour': '#b2df8a', 'frame': -1, 'exon': 2},
28+
{'name': 'rev', 'start': 5970, 'end': 6044, 'colour': '#c2a5cf', 'frame': 1, 'exon': 1},
29+
{'name': 'rev', 'start': 8369, 'end': 8643, 'colour': '#c2a5cf', 'frame': 0, 'exon': 2},
30+
{'name': 'vpu', 'start': 6062, 'end': 6306, 'colour': '#ffff99', 'frame': 0},
31+
{'name': 'env', 'start': 6221, 'end': 8785, 'colour': '#8dd3c7', 'frame': 1},
32+
{'name': 'nef', 'start': 8787, 'end': 9407, 'colour': '#bebada', 'frame': 2},
33+
{"name": "3'LTR", 'start': 9086, 'end': 9719, 'colour': '#e0e0e0', 'frame': 0}
3434
]
3535

3636

0 commit comments

Comments
 (0)