trackplot 0.5.4__tar.gz → 0.5.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. {trackplot-0.5.4/trackplot.egg-info → trackplot-0.5.5}/PKG-INFO +1 -1
  2. {trackplot-0.5.4 → trackplot-0.5.5}/pyproject.toml +1 -1
  3. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/Junction.py +3 -1
  4. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Bam.py +31 -14
  5. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/plot.py +1 -1
  6. {trackplot-0.5.4 → trackplot-0.5.5/trackplot.egg-info}/PKG-INFO +1 -1
  7. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot.egg-info/SOURCES.txt +27 -0
  8. trackplot-0.5.5/trackplot.egg-info/top_level.txt +3 -0
  9. trackplot-0.5.5/trackplot_issue/OA-452-DC.bam +0 -0
  10. trackplot-0.5.5/trackplot_issue/OA-452-DC.bam.bai +0 -0
  11. trackplot-0.5.5/trackplot_issue/OA-476-DC.bam +0 -0
  12. trackplot-0.5.5/trackplot_issue/OA-476-DC.bam.bai +0 -0
  13. trackplot-0.5.5/trackplot_issue/OA-479-DC.bam +0 -0
  14. trackplot-0.5.5/trackplot_issue/OA-479-DC.bam.bai +0 -0
  15. trackplot-0.5.5/trackplot_issue/OA-488-DC.bam +0 -0
  16. trackplot-0.5.5/trackplot_issue/OA-488-DC.bam.bai +0 -0
  17. trackplot-0.5.5/trackplot_issue/OA-500-DC.bam +0 -0
  18. trackplot-0.5.5/trackplot_issue/OA-500-DC.bam.bai +0 -0
  19. trackplot-0.5.5/trackplot_issue/OA-503-DC.bam +0 -0
  20. trackplot-0.5.5/trackplot_issue/OA-503-DC.bam.bai +0 -0
  21. trackplot-0.5.5/trackplot_issue/OA-506-DC.bam +0 -0
  22. trackplot-0.5.5/trackplot_issue/OA-506-DC.bam.bai +0 -0
  23. trackplot-0.5.5/trackplot_issue/OA-514-DC.bam +0 -0
  24. trackplot-0.5.5/trackplot_issue/OA-514-DC.bam.bai +0 -0
  25. trackplot-0.5.5/trackplot_issue/OA-515-DC.bam +0 -0
  26. trackplot-0.5.5/trackplot_issue/OA-515-DC.bam.bai +0 -0
  27. trackplot-0.5.5/trackplot_issue/OA-99-DC.bam +0 -0
  28. trackplot-0.5.5/trackplot_issue/OA-99-DC.bam.bai +0 -0
  29. trackplot-0.5.5/trackplot_issue/run_trackplot.sh +42 -0
  30. trackplot-0.5.5/trackplot_issue/samples.bam.tsv +10 -0
  31. trackplot-0.5.5/trackplot_issue/test.v051.pdf +0 -0
  32. trackplot-0.5.5/trackplot_issue/test.v053.included_junctions.log +355 -0
  33. trackplot-0.5.5/trackplot_issue/test.v053.included_junctions.pdf +0 -0
  34. trackplot-0.5.5/trackplot_issue/test.v053.included_junctions.png +0 -0
  35. trackplot-0.5.5/trackplot_issue/test.v053.pdf +0 -0
  36. trackplot-0.5.4/trackplot.egg-info/top_level.txt +0 -2
  37. {trackplot-0.5.4 → trackplot-0.5.5}/LICENSE +0 -0
  38. {trackplot-0.5.4 → trackplot-0.5.5}/README.md +0 -0
  39. {trackplot-0.5.4 → trackplot-0.5.5}/setup.cfg +0 -0
  40. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/__init__.py +0 -0
  41. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/anno/AxLabel.py +0 -0
  42. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/anno/__init__.py +0 -0
  43. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/anno/theme.py +0 -0
  44. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/CoordinateMap.py +0 -0
  45. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/GenomicLoci.py +0 -0
  46. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/Protein.py +0 -0
  47. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/ReadDepth.py +0 -0
  48. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/Readder.py +0 -0
  49. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/Stroke.py +0 -0
  50. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/Transcript.py +0 -0
  51. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/__init__.py +0 -0
  52. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/base/pyUniprot.py +0 -0
  53. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/cli.py +0 -0
  54. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/conf/DomainSetting.py +0 -0
  55. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/conf/__init__.py +0 -0
  56. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/conf/config.py +0 -0
  57. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/conf/drawing.py +0 -0
  58. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/conf/ui.py +0 -0
  59. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/ATAC.py +0 -0
  60. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Annotation.py +0 -0
  61. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/BedGraph.py +0 -0
  62. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Bigwig.py +0 -0
  63. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Depth.py +0 -0
  64. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Fasta.py +0 -0
  65. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/File.py +0 -0
  66. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/HiCMatrixTrack.py +0 -0
  67. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Junction.py +0 -0
  68. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/Motif.py +0 -0
  69. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/ReadSegments.py +0 -0
  70. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/file/__init__.py +0 -0
  71. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/plot_func.py +0 -0
  72. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/plot_tests.py +0 -0
  73. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot/server.py +0 -0
  74. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot.egg-info/dependency_links.txt +0 -0
  75. {trackplot-0.5.4 → trackplot-0.5.5}/trackplot.egg-info/requires.txt +0 -0
  76. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-7GzAh8lS.js +0 -0
  77. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-BV58jH3t.js +0 -0
  78. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-CDW3Zwoa.js +0 -0
  79. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-DOO13BH7.js +0 -0
  80. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-QmeAKOl4.js +0 -0
  81. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-RdVPWns6.js +0 -0
  82. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-jSR0MsHI.css +0 -0
  83. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Home-zRV7yePL.css +0 -0
  84. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-BALbchCV.css +0 -0
  85. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-BmqHZ4QE.css +0 -0
  86. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-BrjU8Kwg.js +0 -0
  87. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-Bvyo6ju9.css +0 -0
  88. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-COvGnprQ.css +0 -0
  89. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-CTM-EDrj.js +0 -0
  90. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-Cnt8iJB8.js +0 -0
  91. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-Cyj_LlDt.js +0 -0
  92. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-DiuFnwNK.js +0 -0
  93. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-DpL7z7tp.css +0 -0
  94. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-hvkDteAn.js +0 -0
  95. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/Plot-rbQz1TOM.css +0 -0
  96. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-BHm65SRq.css +0 -0
  97. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-BVZhQIwQ.js +0 -0
  98. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-Brt4-Qvr.js +0 -0
  99. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-BuEUMHwE.css +0 -0
  100. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-Cwxg0Ado.css +0 -0
  101. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-DcvrsrBa.css +0 -0
  102. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-IbBQ8ZK2.js +0 -0
  103. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-SYT5K-ds.css +0 -0
  104. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-VYjL3C7L.js +0 -0
  105. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-eEJXnQD5.js +0 -0
  106. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-i9JMIXVR.css +0 -0
  107. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/el-divider-u9f0bZWY.js +0 -0
  108. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-4hxJ_zbq.js +0 -0
  109. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-C4Mi9Kmf.js +0 -0
  110. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-CETGMNio.css +0 -0
  111. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-CWfdj0DH.js +0 -0
  112. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-Cexhr_fn.css +0 -0
  113. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-CrzyEb9s.js +0 -0
  114. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-D_Cw0sbX.js +0 -0
  115. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-Dd6Bavnk.js +0 -0
  116. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-DgEIiwRJ.css +0 -0
  117. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-O8P0XkxB.css +0 -0
  118. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-Sq2gI4sE.css +0 -0
  119. {trackplot-0.5.4 → trackplot-0.5.5}/ui/assets/index-ns9n7-F7.css +0 -0
  120. {trackplot-0.5.4 → trackplot-0.5.5}/ui/index.html +0 -0
  121. {trackplot-0.5.4 → trackplot-0.5.5}/ui/vite.svg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: trackplot
3
- Version: 0.5.4
3
+ Version: 0.5.5
4
4
  Summary: The trackplot is a tool for visualizing various next-generation sequencing (NGS) data, including DNA-seq, RNA-seq, single-cell RNA-seq and full-length sequencing datasets. https://sashimi.readthedocs.io/
5
5
  Author-email: ygidtu <ygidtu@gmail.com>
6
6
  License-Expression: BSD-3-Clause
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "trackplot"
3
- version = "0.5.4"
3
+ version = "0.5.5"
4
4
  description = "The trackplot is a tool for visualizing various next-generation sequencing (NGS) data, including DNA-seq, RNA-seq, single-cell RNA-seq and full-length sequencing datasets. https://sashimi.readthedocs.io/"
5
5
  authors = [
6
6
  { name = "ygidtu", email = "ygidtu@gmail.com" }
@@ -145,7 +145,9 @@ class Junction(object):
145
145
  return str(self)
146
146
  return f"{self.chromosome}:{self.start}-{self.end}"
147
147
 
148
-
148
+ def eq(self, other, with_strand: bool = False):
149
+ u""" 判断两个位点是否一致 """
150
+ return self.str(with_strand) == other.str(with_strand)
149
151
 
150
152
 
151
153
  if __name__ == '__main__':
@@ -9,7 +9,7 @@ changelog:
9
9
  """
10
10
  import gzip
11
11
  import os
12
- from typing import Optional, Set
12
+ from typing import Optional, Set, List
13
13
 
14
14
  import numpy as np
15
15
  import pysam
@@ -23,6 +23,25 @@ from trackplot.conf.config import NORMALIZATION
23
23
  from trackplot.file.File import SingleCell
24
24
 
25
25
 
26
+ def check_junction_exists(ref: List[Junction], dst: Junction, with_strand: bool = False):
27
+ u"""
28
+ 判断junction是否存在于included_junctions
29
+ """
30
+
31
+ ref = sorted([Junction.create_junction(x) for x in ref])
32
+
33
+ for i in ref:
34
+ if abs(i.start - dst.start) < 2 and abs(i.end - dst.end) < 2:
35
+ logger.warning(f"1 bp mismatch between {i} (from bam file) and {dst} (user input), please check the coordinates")
36
+
37
+ if i.is_downstream(dst):
38
+ return False
39
+ if i.eq(dst, with_strand):
40
+ return True
41
+
42
+ return False
43
+
44
+
26
45
  class Bam(SingleCell):
27
46
 
28
47
  __slots__ = "title", "label", "library", "density_by_strand"
@@ -283,24 +302,22 @@ class Bam(SingleCell):
283
302
 
284
303
  # if included_junctions is provided, then skip all junctions by default
285
304
  if included_junctions:
286
- kept = False
287
-
288
- # check whether junctions should be kept
289
- if k.str(with_strand = True) in included_junctions:
290
- logger.debug(f"{str(k)} is included")
291
- kept = True
292
- elif k.str(with_strand = False) in included_junctions:
293
- logger.debug(f"{str(k)} is included, but strand is ignored")
294
- kept = True
305
+ kept = check_junction_exists(included_junctions, k, with_strand=True)
306
+ if kept:
307
+ logger.debug(f"{str(k)} is included")
308
+ else:
309
+ kept = check_junction_exists(included_junctions, k, with_strand=False)
310
+ logger.debug(f"{str(k)} is included, but strand is ignored")
295
311
 
296
- if not kept:
297
- logger.debug(f"{str(k)} is not included")
298
- else:
312
+ if not kept:
313
+ logger.debug(f"{str(k)} is not included")
314
+
315
+ if kept:
299
316
  if k.strand == "+":
300
317
  spanned_junctions_plus[k] = 1 + spanned_junctions_plus.get(k, v)
301
318
  elif k.strand == "-":
302
319
  spanned_junctions_minus[k] = -1 + spanned_junctions_minus.get(k, v)
303
-
320
+
304
321
  except IOError as err:
305
322
  logger.error('There is no .bam file at {0}'.format(self.path))
306
323
  logger.error(err)
@@ -30,7 +30,7 @@ logging.getLogger('matplotlib.font_manager').setLevel(logging.ERROR)
30
30
  faulthandler.enable()
31
31
 
32
32
 
33
- __version__ = "0.5.4"
33
+ __version__ = "0.5.5"
34
34
  __author__ = "ygidtu & Ran Zhou"
35
35
  __email__ = "ygidtu@gmail.com"
36
36
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: trackplot
3
- Version: 0.5.4
3
+ Version: 0.5.5
4
4
  Summary: The trackplot is a tool for visualizing various next-generation sequencing (NGS) data, including DNA-seq, RNA-seq, single-cell RNA-seq and full-length sequencing datasets. https://sashimi.readthedocs.io/
5
5
  Author-email: ygidtu <ygidtu@gmail.com>
6
6
  License-Expression: BSD-3-Clause
@@ -43,6 +43,33 @@ trackplot/file/Junction.py
43
43
  trackplot/file/Motif.py
44
44
  trackplot/file/ReadSegments.py
45
45
  trackplot/file/__init__.py
46
+ trackplot_issue/OA-452-DC.bam
47
+ trackplot_issue/OA-452-DC.bam.bai
48
+ trackplot_issue/OA-476-DC.bam
49
+ trackplot_issue/OA-476-DC.bam.bai
50
+ trackplot_issue/OA-479-DC.bam
51
+ trackplot_issue/OA-479-DC.bam.bai
52
+ trackplot_issue/OA-488-DC.bam
53
+ trackplot_issue/OA-488-DC.bam.bai
54
+ trackplot_issue/OA-500-DC.bam
55
+ trackplot_issue/OA-500-DC.bam.bai
56
+ trackplot_issue/OA-503-DC.bam
57
+ trackplot_issue/OA-503-DC.bam.bai
58
+ trackplot_issue/OA-506-DC.bam
59
+ trackplot_issue/OA-506-DC.bam.bai
60
+ trackplot_issue/OA-514-DC.bam
61
+ trackplot_issue/OA-514-DC.bam.bai
62
+ trackplot_issue/OA-515-DC.bam
63
+ trackplot_issue/OA-515-DC.bam.bai
64
+ trackplot_issue/OA-99-DC.bam
65
+ trackplot_issue/OA-99-DC.bam.bai
66
+ trackplot_issue/run_trackplot.sh
67
+ trackplot_issue/samples.bam.tsv
68
+ trackplot_issue/test.v051.pdf
69
+ trackplot_issue/test.v053.included_junctions.log
70
+ trackplot_issue/test.v053.included_junctions.pdf
71
+ trackplot_issue/test.v053.included_junctions.png
72
+ trackplot_issue/test.v053.pdf
46
73
  ui/index.html
47
74
  ui/vite.svg
48
75
  ui/assets/Home-7GzAh8lS.js
@@ -0,0 +1,3 @@
1
+ trackplot
2
+ trackplot_issue
3
+ ui
@@ -0,0 +1,42 @@
1
+ #!/bin/bash
2
+
3
+ gtf_file="/mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz"
4
+
5
+ ../.venv/bin/python ../main.py \
6
+ -e chr16:89722829-89728948 \
7
+ -p 10 \
8
+ -r ${gtf_file} \
9
+ --density samples.bam.tsv \
10
+ --output test.v051.pdf \
11
+ --width 6 \
12
+ --height 3 \
13
+ --same-y \
14
+ --sites 89724829,89726948 \
15
+ --intron-scale 0.05
16
+
17
+
18
+ # /home/TW/anaconda3/envs/trackplot_v0.5.3/bin/trackplot \
19
+ # -e chr16:89722829-89728948 \
20
+ # -p 10 \
21
+ # -r ${gtf_file} \
22
+ # --density samples.bam.tsv \
23
+ # --output test.v053.pdf \
24
+ # --width 6 \
25
+ # --height 3 \
26
+ # --same-y \
27
+ # --sites 89724829,89726948 \
28
+ # --intron-scale 0.05
29
+
30
+
31
+ ../.venv/bin/python ../main.py \
32
+ -e chr16:89722829-89728948 \
33
+ -p 10 \
34
+ -r ${gtf_file} \
35
+ --density samples.bam.tsv \
36
+ --output test.v053.included_junctions.png \
37
+ --width 6 \
38
+ --height 3 \
39
+ --same-y \
40
+ --sites 89724829,89726948 \
41
+ --intron-scale 0.05 \
42
+ --included-junctions chr16:89724829-89726948
@@ -0,0 +1,10 @@
1
+ OA-488-DC.bam bam C_C
2
+ OA-500-DC.bam bam C_C
3
+ OA-503-DC.bam bam C_C
4
+ OA-99-DC.bam bam C_T
5
+ OA-476-DC.bam bam C_T
6
+ OA-479-DC.bam bam C_T
7
+ OA-514-DC.bam bam C_T
8
+ OA-452-DC.bam bam T_T
9
+ OA-506-DC.bam bam T_T
10
+ OA-515-DC.bam bam T_T
@@ -0,0 +1,355 @@
1
+ 2025-11-12 14:41:04.301 | INFO | trackplot.plot:__init__:210 - Create trackplot version: 0.5.4
2
+ 2025-11-12 14:41:04.301 | INFO | trackplot.plot:set_region:266 - set region to chr16:89722829-89728948:+
3
+ 2025-11-12 14:41:04.301 | INFO | trackplot.plot:set_annotation:435 - set annotation file to /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
4
+ 2025-11-12 14:41:04.302 | INFO | trackplot.file.Annotation:index_gtf:331 - Create index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
5
+ 2025-11-12 14:41:04.303 | DEBUG | trackplot.file.Annotation:index_gtf:340 - Guess gtf needs to be sorted: building of index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz failed
6
+ 2025-11-12 14:41:04.304 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-488-DC.bam
7
+ 2025-11-12 14:41:04.304 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-500-DC.bam
8
+ 2025-11-12 14:41:04.304 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-503-DC.bam
9
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-99-DC.bam
10
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-476-DC.bam
11
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-479-DC.bam
12
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-514-DC.bam
13
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-452-DC.bam
14
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-506-DC.bam
15
+ 2025-11-12 14:41:04.305 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-515-DC.bam
16
+ 2025-11-12 14:41:04.306 | INFO | trackplot.plot:add_sites:279 - add sites: 89724829,89726948
17
+ 2025-11-12 14:41:04.306 | INFO | trackplot.plot:plot:1094 - load annotation
18
+ 2025-11-12 14:41:04.320 | INFO | trackplot.plot:plot:1108 - load data of 3 plots
19
+ 2025-11-12 14:41:04.389 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
20
+ 2025-11-12 14:41:04.389 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
21
+ 2025-11-12 14:41:04.390 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
22
+ 2025-11-12 14:41:04.390 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
23
+ 2025-11-12 14:41:04.390 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
24
+ 2025-11-12 14:41:04.390 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
25
+ 2025-11-12 14:41:04.390 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
26
+ 2025-11-12 14:41:04.394 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
27
+ 2025-11-12 14:41:04.394 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
28
+ 2025-11-12 14:41:04.394 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
29
+ 2025-11-12 14:41:04.394 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
30
+ 2025-11-12 14:41:04.395 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
31
+ 2025-11-12 14:41:04.395 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
32
+ 2025-11-12 14:41:04.400 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
33
+ 2025-11-12 14:41:04.401 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
34
+ 2025-11-12 14:41:04.401 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
35
+ 2025-11-12 14:41:04.401 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
36
+ 2025-11-12 14:41:04.401 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
37
+ 2025-11-12 14:41:04.401 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
38
+ 2025-11-12 14:41:04.402 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
39
+ 2025-11-12 14:41:04.402 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
40
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
41
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
42
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
43
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
44
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
45
+ 2025-11-12 14:41:04.405 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
46
+ 2025-11-12 14:41:04.406 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
47
+ 2025-11-12 14:41:04.406 | DEBUG | trackplot.file.Bam:load:297 - chr16:89325196-89907278:+ is not included
48
+ 2025-11-12 14:41:04.406 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
49
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
50
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
51
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
52
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
53
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
54
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
55
+ 2025-11-12 14:41:04.409 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
56
+ 2025-11-12 14:41:04.410 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
57
+ 2025-11-12 14:41:04.410 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
58
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
59
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
60
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
61
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
62
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
63
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
64
+ 2025-11-12 14:41:04.417 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
65
+ 2025-11-12 14:41:04.418 | DEBUG | trackplot.file.Bam:load:297 - chr16:89325196-89907278:+ is not included
66
+ 2025-11-12 14:41:04.418 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
67
+ 2025-11-12 14:41:04.418 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
68
+ 2025-11-12 14:41:04.418 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
69
+ 2025-11-12 14:41:04.421 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
70
+ 2025-11-12 14:41:04.421 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
71
+ 2025-11-12 14:41:04.421 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
72
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
73
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
74
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
75
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
76
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
77
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89629652-90230653:+ is not included
78
+ 2025-11-12 14:41:04.422 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735696:+ is not included
79
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
80
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
81
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
82
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
83
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
84
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
85
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
86
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
87
+ 2025-11-12 14:41:04.428 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
88
+ 2025-11-12 14:41:04.437 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
89
+ 2025-11-12 14:41:04.437 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
90
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
91
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724244-89724656:+ is not included
92
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724357-89724656:+ is not included
93
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
94
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
95
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89325196-89907278:+ is not included
96
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
97
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
98
+ 2025-11-12 14:41:04.438 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
99
+ 2025-11-12 14:41:04.441 | DEBUG | trackplot.file.Bam:load:297 - chr16:89715906-89717977:+ is not included
100
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89723990:+ is not included
101
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89718055-89720312:+ is not included
102
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720332-89723990:+ is not included
103
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735696:+ is not included
104
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724618-89735694:+ is not included
105
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735694:+ is not included
106
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89726948:+ is not included
107
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89629652-90230653:+ is not included
108
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89724830-89735696:+ is not included
109
+ 2025-11-12 14:41:04.442 | DEBUG | trackplot.file.Bam:load:297 - chr16:89720429-89723990:+ is not included
110
+ 2025-11-12 14:41:04.462 | DEBUG | trackplot.plot:plot:1160 - plots n_rows=7; n_cols = 1
111
+ 2025-11-12 14:41:04.463 | INFO | trackplot.plot:plot:1161 - init graph_coords
112
+ 2025-11-12 14:41:04.493 | INFO | trackplot.plot:plot:1203 - --same-y is enabled
113
+ 2025-11-12 14:41:04.539 | INFO | trackplot.plot:plot:1272 - Set for C_C by global: max_y=125.33333333333333; min_y=0.0
114
+ 2025-11-12 14:41:04.539 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 0 with height_ratio: 1
115
+ 2025-11-12 14:41:04.701 | INFO | trackplot.plot:plot:1272 - Set for C_T by global: max_y=125.33333333333333; min_y=0.0
116
+ 2025-11-12 14:41:04.701 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 1 with height_ratio: 1
117
+ 2025-11-12 14:41:04.842 | INFO | trackplot.plot:plot:1272 - Set for T_T by global: max_y=125.33333333333333; min_y=0.0
118
+ 2025-11-12 14:41:04.842 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 2 with height_ratio: 1
119
+ 2025-11-12 14:41:04.986 | INFO | trackplot.plot:plot:1409 - plotting x-axis ticks at idx: 3 with height_ratio: 1
120
+ 2025-11-12 14:41:05.080 | INFO | trackplot.plot:plot:1419 - plotting annotation at idx: 4 with height_ratio: 1
121
+ 2025-11-12 14:41:05.194 | INFO | trackplot.plot:plot:1439 - saving fig into test.v053.included_junctions.png
122
+ 2025-11-12 14:41:05.987 | INFO | trackplot.plot:plot:1453 - Plot done
123
+ 2025-11-12 16:41:13.661 | INFO | trackplot.plot:__init__:210 - Create trackplot version: 0.5.5
124
+ 2025-11-12 16:41:13.663 | INFO | trackplot.plot:set_region:266 - set region to chr16:89722829-89728948:+
125
+ 2025-11-12 16:41:13.663 | INFO | trackplot.plot:set_annotation:435 - set annotation file to /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
126
+ 2025-11-12 16:41:13.664 | INFO | trackplot.file.Annotation:index_gtf:331 - Create index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
127
+ 2025-11-12 16:41:13.664 | DEBUG | trackplot.file.Annotation:index_gtf:340 - Guess gtf needs to be sorted: building of index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz failed
128
+ 2025-11-12 16:41:13.664 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-488-DC.bam
129
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-500-DC.bam
130
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-503-DC.bam
131
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-99-DC.bam
132
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-476-DC.bam
133
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-479-DC.bam
134
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-514-DC.bam
135
+ 2025-11-12 16:41:13.665 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-452-DC.bam
136
+ 2025-11-12 16:41:13.666 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-506-DC.bam
137
+ 2025-11-12 16:41:13.666 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-515-DC.bam
138
+ 2025-11-12 16:41:13.666 | INFO | trackplot.plot:add_sites:279 - add sites: 89724829,89726948
139
+ 2025-11-12 16:41:13.666 | INFO | trackplot.plot:plot:1094 - load annotation
140
+ 2025-11-12 16:41:13.680 | INFO | trackplot.plot:plot:1108 - load data of 3 plots
141
+ 2025-11-12 16:41:13.764 | ERROR | __main__:<module>:15 - 'str' object has no attribute 'start'
142
+ multiprocessing.pool.RemoteTraceback:
143
+ """
144
+ Traceback (most recent call last):
145
+ File "/home/zym/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 125, in worker
146
+ result = (True, func(*args, **kwds))
147
+ ~~~~^^^^^^^^^^^^^^^
148
+ File "/home/zym/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 48, in mapstar
149
+ return list(map(*args))
150
+ File "/home/zym/code/trackplot/trackplot/plot.py", line 40, in __load__
151
+ p.load(*args, **kwargs)
152
+ ~~~~~~^^^^^^^^^^^^^^^^^
153
+ File "/home/zym/code/trackplot/trackplot/plot.py", line 140, in load
154
+ obj.load(region=region, *args, **kwargs)
155
+ ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
156
+ File "/home/zym/code/trackplot/trackplot/file/Bam.py", line 305, in load
157
+ check_junction_exists(included_junctions, k)
158
+ ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
159
+ File "/home/zym/code/trackplot/trackplot/file/Bam.py", line 34, in check_junction_exists
160
+ if abs(i.start - dst.start) < 2 and abs(i.end - dst.end) < 2:
161
+ ^^^^^^^
162
+ AttributeError: 'str' object has no attribute 'start'
163
+ """
164
+
165
+
166
+ The above exception was the direct cause of the following exception:
167
+
168
+
169
+ Traceback (most recent call last):
170
+
171
+ > File "/home/zym/code/trackplot/trackplot_issue/../main.py", line 13, in <module>
172
+ main()
173
+ └ <Command main>
174
+
175
+ File "/home/zym/code/trackplot/.venv/lib/python3.13/site-packages/click/core.py", line 1442, in __call__
176
+ return self.main(*args, **kwargs)
177
+ │ │ │ └ {}
178
+ │ │ └ ()
179
+ │ └ <function Command.main at 0x7f017a452ac0>
180
+ └ <Command main>
181
+ File "/home/zym/code/trackplot/.venv/lib/python3.13/site-packages/click/core.py", line 1363, in main
182
+ rv = self.invoke(ctx)
183
+ │ │ └ <click.core.Context object at 0x7f017a59c6e0>
184
+ │ └ <function Command.invoke at 0x7f017a4527a0>
185
+ └ <Command main>
186
+ File "/home/zym/code/trackplot/.venv/lib/python3.13/site-packages/click/core.py", line 1226, in invoke
187
+ return ctx.invoke(self.callback, **ctx.params)
188
+ │ │ │ │ │ └ {'event': 'chr16:89722829-89728948', 'process': 10, 'annotation': '/mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gt...
189
+ │ │ │ │ └ <click.core.Context object at 0x7f017a59c6e0>
190
+ │ │ │ └ <function main at 0x7f00218f9ee0>
191
+ │ │ └ <Command main>
192
+ │ └ <function Context.invoke at 0x7f017a4519e0>
193
+ └ <click.core.Context object at 0x7f017a59c6e0>
194
+ File "/home/zym/code/trackplot/.venv/lib/python3.13/site-packages/click/core.py", line 794, in invoke
195
+ return callback(*args, **kwargs)
196
+ │ │ └ {'event': 'chr16:89722829-89728948', 'process': 10, 'annotation': '/mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gt...
197
+ │ └ ()
198
+ └ <function main at 0x7f00218f9ee0>
199
+
200
+ File "/home/zym/code/trackplot/trackplot/cli.py", line 755, in main
201
+ p.plot(
202
+ │ └ <function Plot.plot at 0x7f0021b68540>
203
+ └ <trackplot.plot.Plot object at 0x7f00218b6d40>
204
+
205
+ File "/home/zym/code/trackplot/trackplot/plot.py", line 1137, in plot
206
+ self.plots = p.map(__load__, cmds)
207
+ │ │ │ │ │ └ [[<trackplot.plot.PlotInfo object at 0x7f002c79cd40>, (), {'intron_scale': 0.05, 'exon_scale': 1.0, 'same_y': True, 'same_y_s...
208
+ │ │ │ │ └ <function __load__ at 0x7f003332e980>
209
+ │ │ │ └ <function Pool.map at 0x7f0021736160>
210
+ │ │ └ <multiprocessing.pool.Pool state=TERMINATE pool_size=3>
211
+ │ └ <member 'plots' of 'Plot' objects>
212
+ └ <trackplot.plot.Plot object at 0x7f00218b6d40>
213
+
214
+ File "/home/zym/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 367, in map
215
+ return self._map_async(func, iterable, mapstar, chunksize).get()
216
+ │ │ │ │ │ └ None
217
+ │ │ │ │ └ <function mapstar at 0x7f00218df100>
218
+ │ │ │ └ [[<trackplot.plot.PlotInfo object at 0x7f002c79cd40>, (), {'intron_scale': 0.05, 'exon_scale': 1.0, 'same_y': True, 'same_y_s...
219
+ │ │ └ <function __load__ at 0x7f003332e980>
220
+ │ └ <function Pool._map_async at 0x7f0021736660>
221
+ └ <multiprocessing.pool.Pool state=TERMINATE pool_size=3>
222
+ File "/home/zym/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 774, in get
223
+ raise self._value
224
+ │ └ AttributeError("'str' object has no attribute 'start'")
225
+ └ <multiprocessing.pool.MapResult object at 0x7f002174cc20>
226
+
227
+ AttributeError: 'str' object has no attribute 'start'
228
+ 2025-11-12 16:42:08.810 | INFO | trackplot.plot:__init__:210 - Create trackplot version: 0.5.5
229
+ 2025-11-12 16:42:08.811 | INFO | trackplot.plot:set_region:266 - set region to chr16:89722829-89728948:+
230
+ 2025-11-12 16:42:08.811 | INFO | trackplot.plot:set_annotation:435 - set annotation file to /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
231
+ 2025-11-12 16:42:08.812 | INFO | trackplot.file.Annotation:index_gtf:331 - Create index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz
232
+ 2025-11-12 16:42:08.812 | DEBUG | trackplot.file.Annotation:index_gtf:340 - Guess gtf needs to be sorted: building of index for /mnt/data1/ref/gencode/v49/human/gencode.v49.annotation.gtf.gz failed
233
+ 2025-11-12 16:42:08.812 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-488-DC.bam
234
+ 2025-11-12 16:42:08.812 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-500-DC.bam
235
+ 2025-11-12 16:42:08.812 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_C /home/zym/code/trackplot/trackplot_issue/OA-503-DC.bam
236
+ 2025-11-12 16:42:08.812 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-99-DC.bam
237
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-476-DC.bam
238
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-479-DC.bam
239
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam C_T /home/zym/code/trackplot/trackplot_issue/OA-514-DC.bam
240
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-452-DC.bam
241
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-506-DC.bam
242
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:__init_input_file__:495 - add bam T_T /home/zym/code/trackplot/trackplot_issue/OA-515-DC.bam
243
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:add_sites:279 - add sites: 89724829,89726948
244
+ 2025-11-12 16:42:08.813 | INFO | trackplot.plot:plot:1094 - load annotation
245
+ 2025-11-12 16:42:08.827 | INFO | trackplot.plot:plot:1108 - load data of 3 plots
246
+ 2025-11-12 16:42:08.886 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
247
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
248
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
249
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
250
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
251
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
252
+ 2025-11-12 16:42:08.887 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
253
+ 2025-11-12 16:42:08.889 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
254
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
255
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
256
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
257
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
258
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
259
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
260
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
261
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
262
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
263
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
264
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
265
+ 2025-11-12 16:42:08.890 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
266
+ 2025-11-12 16:42:08.891 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
267
+ 2025-11-12 16:42:08.891 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
268
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
269
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
270
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
271
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
272
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
273
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
274
+ 2025-11-12 16:42:08.902 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
275
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
276
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
277
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
278
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
279
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
280
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
281
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
282
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
283
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
284
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
285
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
286
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
287
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
288
+ 2025-11-12 16:42:08.903 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
289
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
290
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
291
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
292
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89629652-90230653:+ is not included
293
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735696:+ is not included
294
+ 2025-11-12 16:42:08.903 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
295
+ 2025-11-12 16:42:08.904 | DEBUG | trackplot.file.Bam:load:317 - chr16:89325196-89907278:+ is not included
296
+ 2025-11-12 16:42:08.904 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
297
+ 2025-11-12 16:42:08.904 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
298
+ 2025-11-12 16:42:08.914 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
299
+ 2025-11-12 16:42:08.914 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
300
+ 2025-11-12 16:42:08.914 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
301
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
302
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
303
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
304
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
305
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89325196-89907278:+ is not included
306
+ 2025-11-12 16:42:08.915 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
307
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
308
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
309
+ 2025-11-12 16:42:08.915 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
310
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
311
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
312
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
313
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
314
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
315
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
316
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
317
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
318
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
319
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
320
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
321
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
322
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
323
+ 2025-11-12 16:42:08.919 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
324
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
325
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
326
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
327
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89629652-90230653:+ is not included
328
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
329
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735696:+ is not included
330
+ 2025-11-12 16:42:08.919 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720429-89723990:+ is not included
331
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89715906-89717977:+ is not included
332
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89720312:+ is not included
333
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89720332-89723990:+ is not included
334
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724244-89724656:+ is not included
335
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724357-89724656:+ is not included
336
+ 2025-11-12 16:42:08.943 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735694:+ is not included
337
+ 2025-11-12 16:42:08.944 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89735694:+ is not included
338
+ 2025-11-12 16:42:08.944 | DEBUG | trackplot.file.Bam:load:317 - chr16:89325196-89907278:+ is not included
339
+ 2025-11-12 16:42:08.944 | WARNING | trackplot.file.Bam:check_junction_exists:35 - 1 bp mismatch between chr16:89724829-89726948:+ (from bam file) and chr16:89724830-89726948:+ (user input), please check the coordinates
340
+ 2025-11-12 16:42:08.944 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724830-89726948:+ is not included
341
+ 2025-11-12 16:42:08.944 | DEBUG | trackplot.file.Bam:load:317 - chr16:89718055-89723990:+ is not included
342
+ 2025-11-12 16:42:08.944 | DEBUG | trackplot.file.Bam:load:317 - chr16:89724618-89735696:+ is not included
343
+ 2025-11-12 16:42:08.968 | DEBUG | trackplot.plot:plot:1160 - plots n_rows=7; n_cols = 1
344
+ 2025-11-12 16:42:08.968 | INFO | trackplot.plot:plot:1161 - init graph_coords
345
+ 2025-11-12 16:42:08.997 | INFO | trackplot.plot:plot:1203 - --same-y is enabled
346
+ 2025-11-12 16:42:09.040 | INFO | trackplot.plot:plot:1272 - Set for C_C by global: max_y=125.33333333333333; min_y=0.0
347
+ 2025-11-12 16:42:09.040 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 0 with height_ratio: 1
348
+ 2025-11-12 16:42:09.184 | INFO | trackplot.plot:plot:1272 - Set for C_T by global: max_y=125.33333333333333; min_y=0.0
349
+ 2025-11-12 16:42:09.184 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 1 with height_ratio: 1
350
+ 2025-11-12 16:42:09.329 | INFO | trackplot.plot:plot:1272 - Set for T_T by global: max_y=125.33333333333333; min_y=0.0
351
+ 2025-11-12 16:42:09.329 | INFO | trackplot.plot:plot:1291 - plotting density at idx: 2 with height_ratio: 1
352
+ 2025-11-12 16:42:09.464 | INFO | trackplot.plot:plot:1409 - plotting x-axis ticks at idx: 3 with height_ratio: 1
353
+ 2025-11-12 16:42:09.557 | INFO | trackplot.plot:plot:1419 - plotting annotation at idx: 4 with height_ratio: 1
354
+ 2025-11-12 16:42:09.673 | INFO | trackplot.plot:plot:1439 - saving fig into test.v053.included_junctions.png
355
+ 2025-11-12 16:42:10.413 | INFO | trackplot.plot:plot:1453 - Plot done
@@ -1,2 +0,0 @@
1
- trackplot
2
- ui
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes