py-packbed 0.0.14__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.
- py_packbed-0.0.14/PKG-INFO +42 -0
- py_packbed-0.0.14/README.md +18 -0
- py_packbed-0.0.14/packbed/.gitignore +2 -0
- py_packbed-0.0.14/packbed/Cargo.lock +571 -0
- py_packbed-0.0.14/packbed/Cargo.toml +35 -0
- py_packbed-0.0.14/packbed/README.md +117 -0
- py_packbed-0.0.14/packbed/src/lib.rs +1397 -0
- py_packbed-0.0.14/packbed/src/main.rs +75 -0
- py_packbed-0.0.14/py-packbed/.gitignore +72 -0
- py_packbed-0.0.14/py-packbed/Cargo.lock +597 -0
- py_packbed-0.0.14/py-packbed/Cargo.toml +20 -0
- py_packbed-0.0.14/py-packbed/README.md +18 -0
- py_packbed-0.0.14/py-packbed/src/lib.rs +141 -0
- py_packbed-0.0.14/py-packbed/tests/test_packbed.py +180 -0
- py_packbed-0.0.14/pyproject.toml +41 -0
- py_packbed-0.0.14/python/packbed/__init__.py +3 -0
- py_packbed-0.0.14/python/packbed/__init__.pyi +32 -0
- py_packbed-0.0.14/python/packbed/py.typed +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: py-packbed
|
|
3
|
+
Version: 0.0.14
|
|
4
|
+
Classifier: Development Status :: 3 - Alpha
|
|
5
|
+
Classifier: Intended Audience :: Science/Research
|
|
6
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
|
+
Classifier: Operating System :: OS Independent
|
|
8
|
+
Classifier: Programming Language :: Rust
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
13
|
+
Summary: Python bindings for packing BED records into overlapping components
|
|
14
|
+
Keywords: bed,genomics,overlap,transcript,components
|
|
15
|
+
Home-Page: https://github.com/alejandrogzi/packbed
|
|
16
|
+
Author-email: alejandrogzi <alejandrxgzi@gmail.com>
|
|
17
|
+
License: MIT
|
|
18
|
+
Requires-Python: >=3.8
|
|
19
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
20
|
+
Project-URL: Homepage, https://github.com/alejandrogzi/packbed
|
|
21
|
+
Project-URL: Issues, https://github.com/alejandrogzi/packbed/issues
|
|
22
|
+
Project-URL: Repository, https://github.com/alejandrogzi/packbed
|
|
23
|
+
|
|
24
|
+
# py-packbed
|
|
25
|
+
|
|
26
|
+
Python bindings for `packbed`, a Rust library that groups BED records into
|
|
27
|
+
overlapping transcript components.
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
import packbed
|
|
31
|
+
|
|
32
|
+
components = packbed.pack(
|
|
33
|
+
["reference.bed", "query.bed"],
|
|
34
|
+
["reference", "query"],
|
|
35
|
+
overlap_type="exon",
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The Python package intentionally exposes only conversion of the Rust packed
|
|
40
|
+
component result into Python objects. It does not provide BED file writing,
|
|
41
|
+
serialization, colorization, or CLI behavior.
|
|
42
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# py-packbed
|
|
2
|
+
|
|
3
|
+
Python bindings for `packbed`, a Rust library that groups BED records into
|
|
4
|
+
overlapping transcript components.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import packbed
|
|
8
|
+
|
|
9
|
+
components = packbed.pack(
|
|
10
|
+
["reference.bed", "query.bed"],
|
|
11
|
+
["reference", "query"],
|
|
12
|
+
overlap_type="exon",
|
|
13
|
+
)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The Python package intentionally exposes only conversion of the Rust packed
|
|
17
|
+
component result into Python objects. It does not provide BED file writing,
|
|
18
|
+
serialization, colorization, or CLI behavior.
|
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "0.6.15"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.8"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "0.2.5"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.1"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys 0.52.0",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.4"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"windows-sys 0.52.0",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "autocfg"
|
|
56
|
+
version = "1.4.0"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
59
|
+
|
|
60
|
+
[[package]]
|
|
61
|
+
name = "bitflags"
|
|
62
|
+
version = "2.6.0"
|
|
63
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
64
|
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "cfg-if"
|
|
68
|
+
version = "1.0.0"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
71
|
+
|
|
72
|
+
[[package]]
|
|
73
|
+
name = "clap"
|
|
74
|
+
version = "4.5.18"
|
|
75
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
+
checksum = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3"
|
|
77
|
+
dependencies = [
|
|
78
|
+
"clap_builder",
|
|
79
|
+
"clap_derive",
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
[[package]]
|
|
83
|
+
name = "clap_builder"
|
|
84
|
+
version = "4.5.18"
|
|
85
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
86
|
+
checksum = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b"
|
|
87
|
+
dependencies = [
|
|
88
|
+
"anstream",
|
|
89
|
+
"anstyle",
|
|
90
|
+
"clap_lex",
|
|
91
|
+
"strsim",
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
[[package]]
|
|
95
|
+
name = "clap_derive"
|
|
96
|
+
version = "4.5.18"
|
|
97
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
+
checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab"
|
|
99
|
+
dependencies = [
|
|
100
|
+
"heck",
|
|
101
|
+
"proc-macro2",
|
|
102
|
+
"quote",
|
|
103
|
+
"syn",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
[[package]]
|
|
107
|
+
name = "clap_lex"
|
|
108
|
+
version = "0.7.2"
|
|
109
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
110
|
+
checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
|
|
111
|
+
|
|
112
|
+
[[package]]
|
|
113
|
+
name = "colorchoice"
|
|
114
|
+
version = "1.0.2"
|
|
115
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
|
+
checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
|
|
117
|
+
|
|
118
|
+
[[package]]
|
|
119
|
+
name = "colored"
|
|
120
|
+
version = "3.1.1"
|
|
121
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
+
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
|
|
123
|
+
dependencies = [
|
|
124
|
+
"windows-sys 0.61.2",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "crossbeam-deque"
|
|
129
|
+
version = "0.8.5"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"crossbeam-epoch",
|
|
134
|
+
"crossbeam-utils",
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "crossbeam-epoch"
|
|
139
|
+
version = "0.9.18"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
142
|
+
dependencies = [
|
|
143
|
+
"crossbeam-utils",
|
|
144
|
+
]
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "crossbeam-utils"
|
|
148
|
+
version = "0.8.20"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
|
151
|
+
|
|
152
|
+
[[package]]
|
|
153
|
+
name = "dashmap"
|
|
154
|
+
version = "6.1.0"
|
|
155
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
+
checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
|
|
157
|
+
dependencies = [
|
|
158
|
+
"cfg-if",
|
|
159
|
+
"crossbeam-utils",
|
|
160
|
+
"hashbrown",
|
|
161
|
+
"lock_api",
|
|
162
|
+
"once_cell",
|
|
163
|
+
"parking_lot_core",
|
|
164
|
+
"rayon",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "deranged"
|
|
169
|
+
version = "0.5.8"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
|
|
172
|
+
dependencies = [
|
|
173
|
+
"powerfmt",
|
|
174
|
+
]
|
|
175
|
+
|
|
176
|
+
[[package]]
|
|
177
|
+
name = "either"
|
|
178
|
+
version = "1.13.0"
|
|
179
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "genepred"
|
|
184
|
+
version = "0.0.16"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "2d325e72bfd34cbe1676162128478838842807898aafb794fd3c822697d887f4"
|
|
187
|
+
dependencies = [
|
|
188
|
+
"memchr",
|
|
189
|
+
"memmap2",
|
|
190
|
+
"rayon",
|
|
191
|
+
]
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "hashbrown"
|
|
195
|
+
version = "0.14.5"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
|
198
|
+
|
|
199
|
+
[[package]]
|
|
200
|
+
name = "heck"
|
|
201
|
+
version = "0.5.0"
|
|
202
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
203
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
204
|
+
|
|
205
|
+
[[package]]
|
|
206
|
+
name = "hermit-abi"
|
|
207
|
+
version = "0.3.9"
|
|
208
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
209
|
+
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "is_terminal_polyfill"
|
|
213
|
+
version = "1.70.1"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
|
|
216
|
+
|
|
217
|
+
[[package]]
|
|
218
|
+
name = "itoa"
|
|
219
|
+
version = "1.0.18"
|
|
220
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
221
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
222
|
+
|
|
223
|
+
[[package]]
|
|
224
|
+
name = "libc"
|
|
225
|
+
version = "0.2.159"
|
|
226
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
+
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "lock_api"
|
|
231
|
+
version = "0.4.12"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
|
|
234
|
+
dependencies = [
|
|
235
|
+
"autocfg",
|
|
236
|
+
"scopeguard",
|
|
237
|
+
]
|
|
238
|
+
|
|
239
|
+
[[package]]
|
|
240
|
+
name = "log"
|
|
241
|
+
version = "0.4.29"
|
|
242
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
243
|
+
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "memchr"
|
|
247
|
+
version = "2.7.6"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
250
|
+
|
|
251
|
+
[[package]]
|
|
252
|
+
name = "memmap2"
|
|
253
|
+
version = "0.9.5"
|
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
+
checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
|
|
256
|
+
dependencies = [
|
|
257
|
+
"libc",
|
|
258
|
+
]
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "num-conv"
|
|
262
|
+
version = "0.2.0"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "cf97ec579c3c42f953ef76dbf8d55ac91fb219dde70e49aa4a6b7d74e9919050"
|
|
265
|
+
|
|
266
|
+
[[package]]
|
|
267
|
+
name = "num_cpus"
|
|
268
|
+
version = "1.16.0"
|
|
269
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
+
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
|
|
271
|
+
dependencies = [
|
|
272
|
+
"hermit-abi",
|
|
273
|
+
"libc",
|
|
274
|
+
]
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "num_threads"
|
|
278
|
+
version = "0.1.7"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9"
|
|
281
|
+
dependencies = [
|
|
282
|
+
"libc",
|
|
283
|
+
]
|
|
284
|
+
|
|
285
|
+
[[package]]
|
|
286
|
+
name = "once_cell"
|
|
287
|
+
version = "1.20.1"
|
|
288
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
289
|
+
checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1"
|
|
290
|
+
dependencies = [
|
|
291
|
+
"portable-atomic",
|
|
292
|
+
]
|
|
293
|
+
|
|
294
|
+
[[package]]
|
|
295
|
+
name = "packbed"
|
|
296
|
+
version = "0.0.14"
|
|
297
|
+
dependencies = [
|
|
298
|
+
"clap",
|
|
299
|
+
"dashmap",
|
|
300
|
+
"genepred",
|
|
301
|
+
"log",
|
|
302
|
+
"num_cpus",
|
|
303
|
+
"rayon",
|
|
304
|
+
"simple_logger",
|
|
305
|
+
]
|
|
306
|
+
|
|
307
|
+
[[package]]
|
|
308
|
+
name = "parking_lot_core"
|
|
309
|
+
version = "0.9.10"
|
|
310
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
311
|
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
|
312
|
+
dependencies = [
|
|
313
|
+
"cfg-if",
|
|
314
|
+
"libc",
|
|
315
|
+
"redox_syscall",
|
|
316
|
+
"smallvec",
|
|
317
|
+
"windows-targets",
|
|
318
|
+
]
|
|
319
|
+
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "portable-atomic"
|
|
322
|
+
version = "1.13.1"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "powerfmt"
|
|
328
|
+
version = "0.2.0"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "proc-macro2"
|
|
334
|
+
version = "1.0.106"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
337
|
+
dependencies = [
|
|
338
|
+
"unicode-ident",
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "quote"
|
|
343
|
+
version = "1.0.45"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
346
|
+
dependencies = [
|
|
347
|
+
"proc-macro2",
|
|
348
|
+
]
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "rayon"
|
|
352
|
+
version = "1.10.0"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
|
355
|
+
dependencies = [
|
|
356
|
+
"either",
|
|
357
|
+
"rayon-core",
|
|
358
|
+
]
|
|
359
|
+
|
|
360
|
+
[[package]]
|
|
361
|
+
name = "rayon-core"
|
|
362
|
+
version = "1.12.1"
|
|
363
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
|
365
|
+
dependencies = [
|
|
366
|
+
"crossbeam-deque",
|
|
367
|
+
"crossbeam-utils",
|
|
368
|
+
]
|
|
369
|
+
|
|
370
|
+
[[package]]
|
|
371
|
+
name = "redox_syscall"
|
|
372
|
+
version = "0.5.7"
|
|
373
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
374
|
+
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
|
|
375
|
+
dependencies = [
|
|
376
|
+
"bitflags",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "scopeguard"
|
|
381
|
+
version = "1.2.0"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "serde_core"
|
|
387
|
+
version = "1.0.228"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
390
|
+
dependencies = [
|
|
391
|
+
"serde_derive",
|
|
392
|
+
]
|
|
393
|
+
|
|
394
|
+
[[package]]
|
|
395
|
+
name = "serde_derive"
|
|
396
|
+
version = "1.0.228"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
399
|
+
dependencies = [
|
|
400
|
+
"proc-macro2",
|
|
401
|
+
"quote",
|
|
402
|
+
"syn",
|
|
403
|
+
]
|
|
404
|
+
|
|
405
|
+
[[package]]
|
|
406
|
+
name = "simple_logger"
|
|
407
|
+
version = "5.2.0"
|
|
408
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
409
|
+
checksum = "c7038d0e96661bf9ce647e1a6f6ef6d6f3663f66d9bf741abf14ba4876071c17"
|
|
410
|
+
dependencies = [
|
|
411
|
+
"colored",
|
|
412
|
+
"log",
|
|
413
|
+
"time",
|
|
414
|
+
"windows-sys 0.61.2",
|
|
415
|
+
]
|
|
416
|
+
|
|
417
|
+
[[package]]
|
|
418
|
+
name = "smallvec"
|
|
419
|
+
version = "1.13.2"
|
|
420
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
|
422
|
+
|
|
423
|
+
[[package]]
|
|
424
|
+
name = "strsim"
|
|
425
|
+
version = "0.11.1"
|
|
426
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "syn"
|
|
431
|
+
version = "2.0.117"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
434
|
+
dependencies = [
|
|
435
|
+
"proc-macro2",
|
|
436
|
+
"quote",
|
|
437
|
+
"unicode-ident",
|
|
438
|
+
]
|
|
439
|
+
|
|
440
|
+
[[package]]
|
|
441
|
+
name = "time"
|
|
442
|
+
version = "0.3.47"
|
|
443
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
+
checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
|
|
445
|
+
dependencies = [
|
|
446
|
+
"deranged",
|
|
447
|
+
"itoa",
|
|
448
|
+
"libc",
|
|
449
|
+
"num-conv",
|
|
450
|
+
"num_threads",
|
|
451
|
+
"powerfmt",
|
|
452
|
+
"serde_core",
|
|
453
|
+
"time-core",
|
|
454
|
+
"time-macros",
|
|
455
|
+
]
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "time-core"
|
|
459
|
+
version = "0.1.8"
|
|
460
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
+
checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca"
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "time-macros"
|
|
465
|
+
version = "0.2.27"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"num-conv",
|
|
470
|
+
"time-core",
|
|
471
|
+
]
|
|
472
|
+
|
|
473
|
+
[[package]]
|
|
474
|
+
name = "unicode-ident"
|
|
475
|
+
version = "1.0.13"
|
|
476
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "utf8parse"
|
|
481
|
+
version = "0.2.2"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "windows-link"
|
|
487
|
+
version = "0.2.1"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
490
|
+
|
|
491
|
+
[[package]]
|
|
492
|
+
name = "windows-sys"
|
|
493
|
+
version = "0.52.0"
|
|
494
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
496
|
+
dependencies = [
|
|
497
|
+
"windows-targets",
|
|
498
|
+
]
|
|
499
|
+
|
|
500
|
+
[[package]]
|
|
501
|
+
name = "windows-sys"
|
|
502
|
+
version = "0.61.2"
|
|
503
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
504
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
505
|
+
dependencies = [
|
|
506
|
+
"windows-link",
|
|
507
|
+
]
|
|
508
|
+
|
|
509
|
+
[[package]]
|
|
510
|
+
name = "windows-targets"
|
|
511
|
+
version = "0.52.6"
|
|
512
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
513
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
514
|
+
dependencies = [
|
|
515
|
+
"windows_aarch64_gnullvm",
|
|
516
|
+
"windows_aarch64_msvc",
|
|
517
|
+
"windows_i686_gnu",
|
|
518
|
+
"windows_i686_gnullvm",
|
|
519
|
+
"windows_i686_msvc",
|
|
520
|
+
"windows_x86_64_gnu",
|
|
521
|
+
"windows_x86_64_gnullvm",
|
|
522
|
+
"windows_x86_64_msvc",
|
|
523
|
+
]
|
|
524
|
+
|
|
525
|
+
[[package]]
|
|
526
|
+
name = "windows_aarch64_gnullvm"
|
|
527
|
+
version = "0.52.6"
|
|
528
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
529
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "windows_aarch64_msvc"
|
|
533
|
+
version = "0.52.6"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
536
|
+
|
|
537
|
+
[[package]]
|
|
538
|
+
name = "windows_i686_gnu"
|
|
539
|
+
version = "0.52.6"
|
|
540
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
542
|
+
|
|
543
|
+
[[package]]
|
|
544
|
+
name = "windows_i686_gnullvm"
|
|
545
|
+
version = "0.52.6"
|
|
546
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
547
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
548
|
+
|
|
549
|
+
[[package]]
|
|
550
|
+
name = "windows_i686_msvc"
|
|
551
|
+
version = "0.52.6"
|
|
552
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
553
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
554
|
+
|
|
555
|
+
[[package]]
|
|
556
|
+
name = "windows_x86_64_gnu"
|
|
557
|
+
version = "0.52.6"
|
|
558
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
559
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
560
|
+
|
|
561
|
+
[[package]]
|
|
562
|
+
name = "windows_x86_64_gnullvm"
|
|
563
|
+
version = "0.52.6"
|
|
564
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
565
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
566
|
+
|
|
567
|
+
[[package]]
|
|
568
|
+
name = "windows_x86_64_msvc"
|
|
569
|
+
version = "0.52.6"
|
|
570
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
571
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "packbed"
|
|
3
|
+
version = "0.0.14"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
authors = ["alejandrogzi <alejandrxgzi@gmail.com>"]
|
|
6
|
+
license = "MIT"
|
|
7
|
+
description = "pack a .bed into overlapping components"
|
|
8
|
+
keywords = ["components", "overlap", "transcript", "bed"]
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
homepage = "https://github.com/alejandrogzi/packbed"
|
|
11
|
+
repository = "https://github.com/alejandrogzi/packbed"
|
|
12
|
+
categories = ["command-line-utilities", "science"]
|
|
13
|
+
|
|
14
|
+
[dependencies]
|
|
15
|
+
dashmap = { version = "6", features = ["rayon"], optional = true }
|
|
16
|
+
clap = { version = "4.0", features = ["derive"] }
|
|
17
|
+
rayon = "1.8.1"
|
|
18
|
+
num_cpus = "1.16.0"
|
|
19
|
+
genepred = { version = "0.0.16", features = ["rayon", "mmap"] }
|
|
20
|
+
log = "0.4"
|
|
21
|
+
simple_logger = "5.2.0"
|
|
22
|
+
|
|
23
|
+
[profile.release]
|
|
24
|
+
lto = true
|
|
25
|
+
opt-level = 3
|
|
26
|
+
codegen-units = 1
|
|
27
|
+
|
|
28
|
+
[features]
|
|
29
|
+
default = ["hashmap"]
|
|
30
|
+
hashmap = []
|
|
31
|
+
dashmap = ["dep:dashmap"]
|
|
32
|
+
|
|
33
|
+
[lib]
|
|
34
|
+
name = "packbed"
|
|
35
|
+
path = "src/lib.rs"
|