biobit 0.0.1__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 (138) hide show
  1. biobit-0.0.1/Cargo.lock +633 -0
  2. biobit-0.0.1/Cargo.toml +24 -0
  3. biobit-0.0.1/PKG-INFO +30 -0
  4. biobit-0.0.1/modules/py/Cargo.toml +22 -0
  5. biobit-0.0.1/modules/py/README.md +0 -0
  6. biobit-0.0.1/modules/py/python/biobit/__init__.py +3 -0
  7. biobit-0.0.1/modules/py/python/biobit/algo/__init__.py +3 -0
  8. biobit-0.0.1/modules/py/python/biobit/algo/misc.py +22 -0
  9. biobit-0.0.1/modules/py/python/biobit/analysis/__init__.py +0 -0
  10. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/__init__.py +3 -0
  11. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/fetchngs/__init__.py +3 -0
  12. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/fetchngs/load_bioproj.py +202 -0
  13. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/rnaseq/__init__.py +5 -0
  14. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/rnaseq/descriptor.py +59 -0
  15. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/rnaseq/design.py +60 -0
  16. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/rnaseq/experiment.py +73 -0
  17. biobit-0.0.1/modules/py/python/biobit/analysis/nfcore/rnaseq/project.py +47 -0
  18. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/__init__.py +6 -0
  19. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/counter/__init__.py +5 -0
  20. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/counter/joblib_counter.py +131 -0
  21. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/counter/partition.py +65 -0
  22. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/counter/reads_counter.py +46 -0
  23. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/resolve.py +156 -0
  24. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/source/__init__.py +5 -0
  25. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/source/adapters.py +58 -0
  26. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/source/bam.py +69 -0
  27. biobit-0.0.1/modules/py/python/biobit/analysis/rcount/source/source.py +38 -0
  28. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/__init__.py +8 -0
  29. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/adapter/__init__.py +3 -0
  30. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/adapter/yaml.py +69 -0
  31. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/experiment.py +55 -0
  32. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/filtering_schema.py +97 -0
  33. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/library.py +73 -0
  34. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/project.py +99 -0
  35. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/sample.py +49 -0
  36. biobit-0.0.1/modules/py/python/biobit/analysis/seqproj/seqrun.py +126 -0
  37. biobit-0.0.1/modules/py/python/biobit/core/__init__.py +7 -0
  38. biobit-0.0.1/modules/py/python/biobit/core/interval.py +11 -0
  39. biobit-0.0.1/modules/py/python/biobit/core/orientation.py +45 -0
  40. biobit-0.0.1/modules/py/python/biobit/core/range.py +53 -0
  41. biobit-0.0.1/modules/py/python/biobit/core/strand.py +47 -0
  42. biobit-0.0.1/modules/py/python/biobit/core/strdeductor.py +101 -0
  43. biobit-0.0.1/modules/py/python/biobit/db/__init__.py +3 -0
  44. biobit-0.0.1/modules/py/python/biobit/db/ensembl/__init__.py +5 -0
  45. biobit-0.0.1/modules/py/python/biobit/db/ensembl/abc.py +33 -0
  46. biobit-0.0.1/modules/py/python/biobit/db/ensembl/assembly.py +42 -0
  47. biobit-0.0.1/modules/py/python/biobit/db/ensembl/biomart.py +31 -0
  48. biobit-0.0.1/modules/py/python/biobit/db/ensembl/gene/__init__.py +4 -0
  49. biobit-0.0.1/modules/py/python/biobit/db/ensembl/gene/attributes.py +102 -0
  50. biobit-0.0.1/modules/py/python/biobit/db/ensembl/gene/descriptor.py +139 -0
  51. biobit-0.0.1/modules/py/python/biobit/db/ensembl/loader.py +170 -0
  52. biobit-0.0.1/modules/py/python/biobit/db/ensembl/transcript/__init__.py +4 -0
  53. biobit-0.0.1/modules/py/python/biobit/db/ensembl/transcript/attributes.py +141 -0
  54. biobit-0.0.1/modules/py/python/biobit/db/ensembl/transcript/descriptor.py +151 -0
  55. biobit-0.0.1/modules/py/python/biobit/db/repmasker/GRCh38.tsv.gz +0 -0
  56. biobit-0.0.1/modules/py/python/biobit/db/repmasker/GRCm39.tsv.gz +0 -0
  57. biobit-0.0.1/modules/py/python/biobit/db/repmasker/__init__.py +6 -0
  58. biobit-0.0.1/modules/py/python/biobit/db/repmasker/repmasker.py +29 -0
  59. biobit-0.0.1/modules/py/python/biobit/ds/__init__.py +3 -0
  60. biobit-0.0.1/modules/py/python/biobit/ds/gindex/__init__.py +4 -0
  61. biobit-0.0.1/modules/py/python/biobit/ds/gindex/genomic_index.py +130 -0
  62. biobit-0.0.1/modules/py/python/biobit/ds/gindex/overlap.py +61 -0
  63. biobit-0.0.1/modules/py/python/biobit/io/__init__.py +3 -0
  64. biobit-0.0.1/modules/py/python/biobit/io/bam.py +217 -0
  65. biobit-0.0.1/modules/py/python/biobit/paths.py +4 -0
  66. biobit-0.0.1/modules/py/python/biobit/plot/__init__.py +0 -0
  67. biobit-0.0.1/modules/py/src/lib.rs +7 -0
  68. biobit-0.0.1/pyproject.toml +49 -0
  69. biobit-0.0.1/python/biobit/__init__.py +3 -0
  70. biobit-0.0.1/python/biobit/algo/__init__.py +3 -0
  71. biobit-0.0.1/python/biobit/algo/misc.py +22 -0
  72. biobit-0.0.1/python/biobit/analysis/__init__.py +0 -0
  73. biobit-0.0.1/python/biobit/analysis/nfcore/__init__.py +3 -0
  74. biobit-0.0.1/python/biobit/analysis/nfcore/fetchngs/__init__.py +3 -0
  75. biobit-0.0.1/python/biobit/analysis/nfcore/fetchngs/load_bioproj.py +202 -0
  76. biobit-0.0.1/python/biobit/analysis/nfcore/rnaseq/__init__.py +5 -0
  77. biobit-0.0.1/python/biobit/analysis/nfcore/rnaseq/descriptor.py +59 -0
  78. biobit-0.0.1/python/biobit/analysis/nfcore/rnaseq/design.py +60 -0
  79. biobit-0.0.1/python/biobit/analysis/nfcore/rnaseq/experiment.py +73 -0
  80. biobit-0.0.1/python/biobit/analysis/nfcore/rnaseq/project.py +47 -0
  81. biobit-0.0.1/python/biobit/analysis/rcount/__init__.py +6 -0
  82. biobit-0.0.1/python/biobit/analysis/rcount/counter/__init__.py +5 -0
  83. biobit-0.0.1/python/biobit/analysis/rcount/counter/joblib_counter.py +131 -0
  84. biobit-0.0.1/python/biobit/analysis/rcount/counter/partition.py +65 -0
  85. biobit-0.0.1/python/biobit/analysis/rcount/counter/reads_counter.py +46 -0
  86. biobit-0.0.1/python/biobit/analysis/rcount/resolve.py +156 -0
  87. biobit-0.0.1/python/biobit/analysis/rcount/source/__init__.py +5 -0
  88. biobit-0.0.1/python/biobit/analysis/rcount/source/adapters.py +58 -0
  89. biobit-0.0.1/python/biobit/analysis/rcount/source/bam.py +69 -0
  90. biobit-0.0.1/python/biobit/analysis/rcount/source/source.py +38 -0
  91. biobit-0.0.1/python/biobit/analysis/rcount/test_resolution.py +139 -0
  92. biobit-0.0.1/python/biobit/analysis/seqproj/__init__.py +8 -0
  93. biobit-0.0.1/python/biobit/analysis/seqproj/adapter/__init__.py +3 -0
  94. biobit-0.0.1/python/biobit/analysis/seqproj/adapter/test_adapters.py +38 -0
  95. biobit-0.0.1/python/biobit/analysis/seqproj/adapter/yaml.py +69 -0
  96. biobit-0.0.1/python/biobit/analysis/seqproj/experiment.py +55 -0
  97. biobit-0.0.1/python/biobit/analysis/seqproj/filtering_schema.py +97 -0
  98. biobit-0.0.1/python/biobit/analysis/seqproj/library.py +73 -0
  99. biobit-0.0.1/python/biobit/analysis/seqproj/project.py +99 -0
  100. biobit-0.0.1/python/biobit/analysis/seqproj/sample.py +49 -0
  101. biobit-0.0.1/python/biobit/analysis/seqproj/seqrun.py +126 -0
  102. biobit-0.0.1/python/biobit/analysis/seqproj/test_seqproj.py +141 -0
  103. biobit-0.0.1/python/biobit/core/__init__.py +7 -0
  104. biobit-0.0.1/python/biobit/core/interval.py +11 -0
  105. biobit-0.0.1/python/biobit/core/orientation.py +45 -0
  106. biobit-0.0.1/python/biobit/core/range.py +53 -0
  107. biobit-0.0.1/python/biobit/core/strand.py +47 -0
  108. biobit-0.0.1/python/biobit/core/strdeductor.py +101 -0
  109. biobit-0.0.1/python/biobit/core/test_orientation.py +29 -0
  110. biobit-0.0.1/python/biobit/core/test_range.py +103 -0
  111. biobit-0.0.1/python/biobit/core/test_strdeductor.py +42 -0
  112. biobit-0.0.1/python/biobit/db/__init__.py +3 -0
  113. biobit-0.0.1/python/biobit/db/ensembl/__init__.py +5 -0
  114. biobit-0.0.1/python/biobit/db/ensembl/abc.py +33 -0
  115. biobit-0.0.1/python/biobit/db/ensembl/assembly.py +42 -0
  116. biobit-0.0.1/python/biobit/db/ensembl/biomart.py +31 -0
  117. biobit-0.0.1/python/biobit/db/ensembl/gene/__init__.py +4 -0
  118. biobit-0.0.1/python/biobit/db/ensembl/gene/attributes.py +102 -0
  119. biobit-0.0.1/python/biobit/db/ensembl/gene/descriptor.py +139 -0
  120. biobit-0.0.1/python/biobit/db/ensembl/loader.py +170 -0
  121. biobit-0.0.1/python/biobit/db/ensembl/transcript/__init__.py +4 -0
  122. biobit-0.0.1/python/biobit/db/ensembl/transcript/attributes.py +141 -0
  123. biobit-0.0.1/python/biobit/db/ensembl/transcript/descriptor.py +151 -0
  124. biobit-0.0.1/python/biobit/db/repmasker/GRCh38.tsv.gz +0 -0
  125. biobit-0.0.1/python/biobit/db/repmasker/GRCm39.tsv.gz +0 -0
  126. biobit-0.0.1/python/biobit/db/repmasker/__init__.py +6 -0
  127. biobit-0.0.1/python/biobit/db/repmasker/repmasker.py +29 -0
  128. biobit-0.0.1/python/biobit/db/repmasker/test_repmasker.py +55 -0
  129. biobit-0.0.1/python/biobit/ds/__init__.py +3 -0
  130. biobit-0.0.1/python/biobit/ds/gindex/__init__.py +4 -0
  131. biobit-0.0.1/python/biobit/ds/gindex/genomic_index.py +130 -0
  132. biobit-0.0.1/python/biobit/ds/gindex/overlap.py +61 -0
  133. biobit-0.0.1/python/biobit/ds/gindex/test_index.py +123 -0
  134. biobit-0.0.1/python/biobit/ds/gindex/test_overlap.py +114 -0
  135. biobit-0.0.1/python/biobit/io/__init__.py +3 -0
  136. biobit-0.0.1/python/biobit/io/bam.py +217 -0
  137. biobit-0.0.1/python/biobit/paths.py +4 -0
  138. biobit-0.0.1/python/biobit/plot/__init__.py +0 -0
@@ -0,0 +1,633 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "ahash"
7
+ version = "0.8.11"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
10
+ dependencies = [
11
+ "cfg-if",
12
+ "once_cell",
13
+ "version_check",
14
+ "zerocopy",
15
+ ]
16
+
17
+ [[package]]
18
+ name = "allocator-api2"
19
+ version = "0.2.18"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
22
+
23
+ [[package]]
24
+ name = "approx"
25
+ version = "0.5.1"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
28
+ dependencies = [
29
+ "num-traits",
30
+ ]
31
+
32
+ [[package]]
33
+ name = "autocfg"
34
+ version = "1.3.0"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
37
+
38
+ [[package]]
39
+ name = "biobit"
40
+ version = "0.0.1"
41
+ dependencies = [
42
+ "eyre",
43
+ "geo",
44
+ "itertools 0.12.1",
45
+ "num",
46
+ ]
47
+
48
+ [[package]]
49
+ name = "biobit-py"
50
+ version = "0.0.1"
51
+ dependencies = [
52
+ "eyre",
53
+ "itertools 0.12.1",
54
+ "pyo3",
55
+ ]
56
+
57
+ [[package]]
58
+ name = "bitflags"
59
+ version = "2.5.0"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
62
+
63
+ [[package]]
64
+ name = "byteorder"
65
+ version = "1.5.0"
66
+ source = "registry+https://github.com/rust-lang/crates.io-index"
67
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
68
+
69
+ [[package]]
70
+ name = "cfg-if"
71
+ version = "1.0.0"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
74
+
75
+ [[package]]
76
+ name = "earcutr"
77
+ version = "0.4.3"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "79127ed59a85d7687c409e9978547cffb7dc79675355ed22da6b66fd5f6ead01"
80
+ dependencies = [
81
+ "itertools 0.11.0",
82
+ "num-traits",
83
+ ]
84
+
85
+ [[package]]
86
+ name = "either"
87
+ version = "1.11.0"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2"
90
+
91
+ [[package]]
92
+ name = "eyre"
93
+ version = "0.6.12"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec"
96
+ dependencies = [
97
+ "indenter",
98
+ "once_cell",
99
+ ]
100
+
101
+ [[package]]
102
+ name = "float_next_after"
103
+ version = "1.0.0"
104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
105
+ checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8"
106
+
107
+ [[package]]
108
+ name = "geo"
109
+ version = "0.28.0"
110
+ source = "registry+https://github.com/rust-lang/crates.io-index"
111
+ checksum = "f811f663912a69249fa620dcd2a005db7254529da2d8a0b23942e81f47084501"
112
+ dependencies = [
113
+ "earcutr",
114
+ "float_next_after",
115
+ "geo-types",
116
+ "geographiclib-rs",
117
+ "log",
118
+ "num-traits",
119
+ "robust",
120
+ "rstar",
121
+ "spade",
122
+ ]
123
+
124
+ [[package]]
125
+ name = "geo-types"
126
+ version = "0.7.13"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "9ff16065e5720f376fbced200a5ae0f47ace85fd70b7e54269790281353b6d61"
129
+ dependencies = [
130
+ "approx",
131
+ "num-traits",
132
+ "rstar",
133
+ "serde",
134
+ ]
135
+
136
+ [[package]]
137
+ name = "geographiclib-rs"
138
+ version = "0.2.4"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "e6e5ed84f8089c70234b0a8e0aedb6dc733671612ddc0d37c6066052f9781960"
141
+ dependencies = [
142
+ "libm",
143
+ ]
144
+
145
+ [[package]]
146
+ name = "hash32"
147
+ version = "0.3.1"
148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
149
+ checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606"
150
+ dependencies = [
151
+ "byteorder",
152
+ ]
153
+
154
+ [[package]]
155
+ name = "hashbrown"
156
+ version = "0.14.5"
157
+ source = "registry+https://github.com/rust-lang/crates.io-index"
158
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
159
+ dependencies = [
160
+ "ahash",
161
+ "allocator-api2",
162
+ ]
163
+
164
+ [[package]]
165
+ name = "heapless"
166
+ version = "0.8.0"
167
+ source = "registry+https://github.com/rust-lang/crates.io-index"
168
+ checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad"
169
+ dependencies = [
170
+ "hash32",
171
+ "stable_deref_trait",
172
+ ]
173
+
174
+ [[package]]
175
+ name = "heck"
176
+ version = "0.4.1"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
179
+
180
+ [[package]]
181
+ name = "indenter"
182
+ version = "0.3.3"
183
+ source = "registry+https://github.com/rust-lang/crates.io-index"
184
+ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
185
+
186
+ [[package]]
187
+ name = "indoc"
188
+ version = "2.0.5"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
191
+
192
+ [[package]]
193
+ name = "itertools"
194
+ version = "0.11.0"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
197
+ dependencies = [
198
+ "either",
199
+ ]
200
+
201
+ [[package]]
202
+ name = "itertools"
203
+ version = "0.12.1"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
206
+ dependencies = [
207
+ "either",
208
+ ]
209
+
210
+ [[package]]
211
+ name = "libc"
212
+ version = "0.2.154"
213
+ source = "registry+https://github.com/rust-lang/crates.io-index"
214
+ checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346"
215
+
216
+ [[package]]
217
+ name = "libm"
218
+ version = "0.2.8"
219
+ source = "registry+https://github.com/rust-lang/crates.io-index"
220
+ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
221
+
222
+ [[package]]
223
+ name = "lock_api"
224
+ version = "0.4.12"
225
+ source = "registry+https://github.com/rust-lang/crates.io-index"
226
+ checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
227
+ dependencies = [
228
+ "autocfg",
229
+ "scopeguard",
230
+ ]
231
+
232
+ [[package]]
233
+ name = "log"
234
+ version = "0.4.21"
235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
236
+ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
237
+
238
+ [[package]]
239
+ name = "memoffset"
240
+ version = "0.9.1"
241
+ source = "registry+https://github.com/rust-lang/crates.io-index"
242
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
243
+ dependencies = [
244
+ "autocfg",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "num"
249
+ version = "0.4.2"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "3135b08af27d103b0a51f2ae0f8632117b7b185ccf931445affa8df530576a41"
252
+ dependencies = [
253
+ "num-bigint",
254
+ "num-complex",
255
+ "num-integer",
256
+ "num-iter",
257
+ "num-rational",
258
+ "num-traits",
259
+ ]
260
+
261
+ [[package]]
262
+ name = "num-bigint"
263
+ version = "0.4.4"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0"
266
+ dependencies = [
267
+ "autocfg",
268
+ "num-integer",
269
+ "num-traits",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "num-complex"
274
+ version = "0.4.5"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6"
277
+ dependencies = [
278
+ "num-traits",
279
+ ]
280
+
281
+ [[package]]
282
+ name = "num-integer"
283
+ version = "0.1.46"
284
+ source = "registry+https://github.com/rust-lang/crates.io-index"
285
+ checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
286
+ dependencies = [
287
+ "num-traits",
288
+ ]
289
+
290
+ [[package]]
291
+ name = "num-iter"
292
+ version = "0.1.45"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
295
+ dependencies = [
296
+ "autocfg",
297
+ "num-integer",
298
+ "num-traits",
299
+ ]
300
+
301
+ [[package]]
302
+ name = "num-rational"
303
+ version = "0.4.1"
304
+ source = "registry+https://github.com/rust-lang/crates.io-index"
305
+ checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
306
+ dependencies = [
307
+ "autocfg",
308
+ "num-bigint",
309
+ "num-integer",
310
+ "num-traits",
311
+ ]
312
+
313
+ [[package]]
314
+ name = "num-traits"
315
+ version = "0.2.19"
316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
317
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
318
+ dependencies = [
319
+ "autocfg",
320
+ "libm",
321
+ ]
322
+
323
+ [[package]]
324
+ name = "once_cell"
325
+ version = "1.19.0"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
328
+
329
+ [[package]]
330
+ name = "parking_lot"
331
+ version = "0.12.2"
332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
333
+ checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
334
+ dependencies = [
335
+ "lock_api",
336
+ "parking_lot_core",
337
+ ]
338
+
339
+ [[package]]
340
+ name = "parking_lot_core"
341
+ version = "0.9.10"
342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
343
+ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
344
+ dependencies = [
345
+ "cfg-if",
346
+ "libc",
347
+ "redox_syscall",
348
+ "smallvec",
349
+ "windows-targets",
350
+ ]
351
+
352
+ [[package]]
353
+ name = "portable-atomic"
354
+ version = "1.6.0"
355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
356
+ checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
357
+
358
+ [[package]]
359
+ name = "proc-macro2"
360
+ version = "1.0.81"
361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
362
+ checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
363
+ dependencies = [
364
+ "unicode-ident",
365
+ ]
366
+
367
+ [[package]]
368
+ name = "pyo3"
369
+ version = "0.21.2"
370
+ source = "registry+https://github.com/rust-lang/crates.io-index"
371
+ checksum = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
372
+ dependencies = [
373
+ "cfg-if",
374
+ "eyre",
375
+ "indoc",
376
+ "libc",
377
+ "memoffset",
378
+ "parking_lot",
379
+ "portable-atomic",
380
+ "pyo3-build-config",
381
+ "pyo3-ffi",
382
+ "pyo3-macros",
383
+ "unindent",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "pyo3-build-config"
388
+ version = "0.21.2"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
391
+ dependencies = [
392
+ "once_cell",
393
+ "target-lexicon",
394
+ ]
395
+
396
+ [[package]]
397
+ name = "pyo3-ffi"
398
+ version = "0.21.2"
399
+ source = "registry+https://github.com/rust-lang/crates.io-index"
400
+ checksum = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
401
+ dependencies = [
402
+ "libc",
403
+ "pyo3-build-config",
404
+ ]
405
+
406
+ [[package]]
407
+ name = "pyo3-macros"
408
+ version = "0.21.2"
409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
410
+ checksum = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
411
+ dependencies = [
412
+ "proc-macro2",
413
+ "pyo3-macros-backend",
414
+ "quote",
415
+ "syn",
416
+ ]
417
+
418
+ [[package]]
419
+ name = "pyo3-macros-backend"
420
+ version = "0.21.2"
421
+ source = "registry+https://github.com/rust-lang/crates.io-index"
422
+ checksum = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
423
+ dependencies = [
424
+ "heck",
425
+ "proc-macro2",
426
+ "pyo3-build-config",
427
+ "quote",
428
+ "syn",
429
+ ]
430
+
431
+ [[package]]
432
+ name = "quote"
433
+ version = "1.0.36"
434
+ source = "registry+https://github.com/rust-lang/crates.io-index"
435
+ checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
436
+ dependencies = [
437
+ "proc-macro2",
438
+ ]
439
+
440
+ [[package]]
441
+ name = "redox_syscall"
442
+ version = "0.5.1"
443
+ source = "registry+https://github.com/rust-lang/crates.io-index"
444
+ checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
445
+ dependencies = [
446
+ "bitflags",
447
+ ]
448
+
449
+ [[package]]
450
+ name = "robust"
451
+ version = "1.1.0"
452
+ source = "registry+https://github.com/rust-lang/crates.io-index"
453
+ checksum = "cbf4a6aa5f6d6888f39e980649f3ad6b666acdce1d78e95b8a2cb076e687ae30"
454
+
455
+ [[package]]
456
+ name = "rstar"
457
+ version = "0.12.0"
458
+ source = "registry+https://github.com/rust-lang/crates.io-index"
459
+ checksum = "133315eb94c7b1e8d0cb097e5a710d850263372fd028fff18969de708afc7008"
460
+ dependencies = [
461
+ "heapless",
462
+ "num-traits",
463
+ "smallvec",
464
+ ]
465
+
466
+ [[package]]
467
+ name = "scopeguard"
468
+ version = "1.2.0"
469
+ source = "registry+https://github.com/rust-lang/crates.io-index"
470
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
471
+
472
+ [[package]]
473
+ name = "serde"
474
+ version = "1.0.200"
475
+ source = "registry+https://github.com/rust-lang/crates.io-index"
476
+ checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f"
477
+ dependencies = [
478
+ "serde_derive",
479
+ ]
480
+
481
+ [[package]]
482
+ name = "serde_derive"
483
+ version = "1.0.200"
484
+ source = "registry+https://github.com/rust-lang/crates.io-index"
485
+ checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb"
486
+ dependencies = [
487
+ "proc-macro2",
488
+ "quote",
489
+ "syn",
490
+ ]
491
+
492
+ [[package]]
493
+ name = "smallvec"
494
+ version = "1.13.2"
495
+ source = "registry+https://github.com/rust-lang/crates.io-index"
496
+ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
497
+
498
+ [[package]]
499
+ name = "spade"
500
+ version = "2.6.0"
501
+ source = "registry+https://github.com/rust-lang/crates.io-index"
502
+ checksum = "61addf9117b11d1f5b4bf6fe94242ba25f59d2d4b2080544b771bd647024fd00"
503
+ dependencies = [
504
+ "hashbrown",
505
+ "num-traits",
506
+ "robust",
507
+ "smallvec",
508
+ ]
509
+
510
+ [[package]]
511
+ name = "stable_deref_trait"
512
+ version = "1.2.0"
513
+ source = "registry+https://github.com/rust-lang/crates.io-index"
514
+ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
515
+
516
+ [[package]]
517
+ name = "syn"
518
+ version = "2.0.60"
519
+ source = "registry+https://github.com/rust-lang/crates.io-index"
520
+ checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
521
+ dependencies = [
522
+ "proc-macro2",
523
+ "quote",
524
+ "unicode-ident",
525
+ ]
526
+
527
+ [[package]]
528
+ name = "target-lexicon"
529
+ version = "0.12.14"
530
+ source = "registry+https://github.com/rust-lang/crates.io-index"
531
+ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
532
+
533
+ [[package]]
534
+ name = "unicode-ident"
535
+ version = "1.0.12"
536
+ source = "registry+https://github.com/rust-lang/crates.io-index"
537
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
538
+
539
+ [[package]]
540
+ name = "unindent"
541
+ version = "0.2.3"
542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
543
+ checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
544
+
545
+ [[package]]
546
+ name = "version_check"
547
+ version = "0.9.4"
548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
549
+ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
550
+
551
+ [[package]]
552
+ name = "windows-targets"
553
+ version = "0.52.5"
554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
555
+ checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
556
+ dependencies = [
557
+ "windows_aarch64_gnullvm",
558
+ "windows_aarch64_msvc",
559
+ "windows_i686_gnu",
560
+ "windows_i686_gnullvm",
561
+ "windows_i686_msvc",
562
+ "windows_x86_64_gnu",
563
+ "windows_x86_64_gnullvm",
564
+ "windows_x86_64_msvc",
565
+ ]
566
+
567
+ [[package]]
568
+ name = "windows_aarch64_gnullvm"
569
+ version = "0.52.5"
570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
571
+ checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
572
+
573
+ [[package]]
574
+ name = "windows_aarch64_msvc"
575
+ version = "0.52.5"
576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
577
+ checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
578
+
579
+ [[package]]
580
+ name = "windows_i686_gnu"
581
+ version = "0.52.5"
582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
583
+ checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
584
+
585
+ [[package]]
586
+ name = "windows_i686_gnullvm"
587
+ version = "0.52.5"
588
+ source = "registry+https://github.com/rust-lang/crates.io-index"
589
+ checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
590
+
591
+ [[package]]
592
+ name = "windows_i686_msvc"
593
+ version = "0.52.5"
594
+ source = "registry+https://github.com/rust-lang/crates.io-index"
595
+ checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
596
+
597
+ [[package]]
598
+ name = "windows_x86_64_gnu"
599
+ version = "0.52.5"
600
+ source = "registry+https://github.com/rust-lang/crates.io-index"
601
+ checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
602
+
603
+ [[package]]
604
+ name = "windows_x86_64_gnullvm"
605
+ version = "0.52.5"
606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
607
+ checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
608
+
609
+ [[package]]
610
+ name = "windows_x86_64_msvc"
611
+ version = "0.52.5"
612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
613
+ checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
614
+
615
+ [[package]]
616
+ name = "zerocopy"
617
+ version = "0.7.33"
618
+ source = "registry+https://github.com/rust-lang/crates.io-index"
619
+ checksum = "087eca3c1eaf8c47b94d02790dd086cd594b912d2043d4de4bfdd466b3befb7c"
620
+ dependencies = [
621
+ "zerocopy-derive",
622
+ ]
623
+
624
+ [[package]]
625
+ name = "zerocopy-derive"
626
+ version = "0.7.33"
627
+ source = "registry+https://github.com/rust-lang/crates.io-index"
628
+ checksum = "6f4b6c273f496d8fd4eaf18853e6b448760225dc030ff2c485a786859aea6393"
629
+ dependencies = [
630
+ "proc-macro2",
631
+ "quote",
632
+ "syn",
633
+ ]
@@ -0,0 +1,24 @@
1
+ [workspace]
2
+ members = ["modules/*"]
3
+ resolver = "2"
4
+
5
+ [workspace.package]
6
+ version = "0.0.1"
7
+ edition = "2021"
8
+ rust-version = "1.77.2"
9
+ authors = ["Aleksandr Fedorov"]
10
+ description = "Rust library for bioinformatics"
11
+ readme = "README.md"
12
+ documentation = "https://github.com/terabio"
13
+ homepage = "https://github.com/terabio"
14
+ repository = "https://github.com/terabio"
15
+ license = "MIT"
16
+ license-file = "LICENSE"
17
+ categories = ["science", "algorithms"]
18
+
19
+ [workspace.dependencies]
20
+ itertools = "0.12.1"
21
+ geo = "0.28.0"
22
+ num = "0.4.1"
23
+ eyre = "0.6.12"
24
+ pyo3 = { version = "0.21.2", features = ["eyre"] }
biobit-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.3
2
+ Name: biobit
3
+ Version: 0.0.1
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: 3
6
+ Classifier: Programming Language :: Python :: Implementation :: CPython
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Dist: attrs >=23.2.0, <24
9
+ Requires-Dist: cattrs[pyyaml] >=23.2.3, <24
10
+ Requires-Dist: pysam >=0.21.0, <1
11
+ Requires-Dist: intervaltree >=3.1.0, <4
12
+ Requires-Dist: pybedtools >=0.9.1, <1
13
+ Requires-Dist: sortedcontainers >=2.4.0, <3
14
+ Requires-Dist: pandas >=2.0.0, <3
15
+ Requires-Dist: joblib >=1.2.0, <2
16
+ Requires-Dist: sortedcontainers-stubs >=2.4.2, <2.4.3 ; extra == 'dev'
17
+ Requires-Dist: pandas-stubs >=2.1.4, <2.1.5 ; extra == 'dev'
18
+ Requires-Dist: mypy >=1.9.0, <2.0.0 ; extra == 'dev'
19
+ Requires-Dist: pytest >=8.1.1, <8.1.2 ; extra == 'dev'
20
+ Requires-Dist: ruff >=0.3.5, <0.3.6 ; extra == 'dev'
21
+ Provides-Extra: dev
22
+ Summary: Rust-powered Python library for biological data analysis
23
+ Home-Page: https://github.com/terabio
24
+ Author: Aleksandr Fedorov
25
+ License: MIT
26
+ Requires-Python: >=3.8
27
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
28
+ Project-URL: Source Code, https://github.com/terabio
29
+
30
+
@@ -0,0 +1,22 @@
1
+ [package]
2
+ name = "biobit-py"
3
+ readme = "README.md"
4
+ description = "Rust-powered Python library for biological data analysis"
5
+ version.workspace = true
6
+ edition.workspace = true
7
+ rust-version.workspace = true
8
+ authors.workspace = true
9
+ homepage.workspace = true
10
+ repository.workspace = true
11
+ license.workspace = true
12
+ categories.workspace = true
13
+ exclude = ["test_*.py"]
14
+
15
+ [lib]
16
+ name = "_rs"
17
+ crate-type = ["cdylib", "rlib"]
18
+
19
+ [dependencies]
20
+ pyo3 = { workspace = true }
21
+ itertools = { workspace = true }
22
+ eyre = { workspace = true }