@gmod/bbi 8.1.2 → 9.0.3

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 (68) hide show
  1. package/README.md +0 -24
  2. package/dist/array-feature-view.d.ts +1 -1
  3. package/dist/array-feature-view.js.map +1 -1
  4. package/dist/bbi.d.ts +5 -25
  5. package/dist/bbi.js +31 -133
  6. package/dist/bbi.js.map +1 -1
  7. package/dist/bigbed.d.ts +0 -1
  8. package/dist/bigbed.js +20 -51
  9. package/dist/bigbed.js.map +1 -1
  10. package/dist/bigwig.d.ts +1 -2
  11. package/dist/bigwig.js +1 -2
  12. package/dist/bigwig.js.map +1 -1
  13. package/dist/block-view.d.ts +7 -16
  14. package/dist/block-view.js +369 -443
  15. package/dist/block-view.js.map +1 -1
  16. package/dist/parse-bigwig.d.ts +2 -2
  17. package/dist/parse-bigwig.js +5 -5
  18. package/dist/parse-bigwig.js.map +1 -1
  19. package/dist/range.d.ts +1 -15
  20. package/dist/range.js +16 -49
  21. package/dist/range.js.map +1 -1
  22. package/dist/util.d.ts +0 -22
  23. package/dist/util.js +0 -46
  24. package/dist/util.js.map +1 -1
  25. package/dist/wasm/inflate-wasm-inlined.js +3 -3
  26. package/dist/wasm/inflate-wasm-inlined.js.map +1 -1
  27. package/dist/wasm/inflate_wasm_bg.d.ts +1 -1
  28. package/dist/wasm/inflate_wasm_bg.js +2 -2
  29. package/esm/array-feature-view.d.ts +1 -1
  30. package/esm/array-feature-view.js.map +1 -1
  31. package/esm/bbi.d.ts +5 -25
  32. package/esm/bbi.js +31 -133
  33. package/esm/bbi.js.map +1 -1
  34. package/esm/bigbed.d.ts +0 -1
  35. package/esm/bigbed.js +20 -50
  36. package/esm/bigbed.js.map +1 -1
  37. package/esm/bigwig.d.ts +1 -2
  38. package/esm/bigwig.js +1 -2
  39. package/esm/bigwig.js.map +1 -1
  40. package/esm/block-view.d.ts +7 -16
  41. package/esm/block-view.js +369 -443
  42. package/esm/block-view.js.map +1 -1
  43. package/esm/parse-bigwig.d.ts +2 -2
  44. package/esm/parse-bigwig.js +5 -5
  45. package/esm/parse-bigwig.js.map +1 -1
  46. package/esm/range.d.ts +1 -15
  47. package/esm/range.js +15 -48
  48. package/esm/range.js.map +1 -1
  49. package/esm/util.d.ts +0 -22
  50. package/esm/util.js +0 -42
  51. package/esm/util.js.map +1 -1
  52. package/esm/wasm/inflate-wasm-inlined.js +3 -3
  53. package/esm/wasm/inflate-wasm-inlined.js.map +1 -1
  54. package/esm/wasm/inflate_wasm_bg.d.ts +1 -1
  55. package/esm/wasm/inflate_wasm_bg.js +1 -1
  56. package/package.json +21 -24
  57. package/src/array-feature-view.ts +5 -2
  58. package/src/bbi.ts +50 -153
  59. package/src/bigbed.ts +23 -55
  60. package/src/bigwig.ts +1 -3
  61. package/src/block-view.ts +525 -639
  62. package/src/parse-bigwig.ts +7 -9
  63. package/src/range.ts +19 -58
  64. package/src/util.ts +0 -46
  65. package/src/wasm/inflate-wasm-inlined.js +3 -3
  66. package/src/wasm/inflate_wasm_bg.js +1 -1
  67. package/src/wasm/inflate_wasm_bg.wasm +0 -0
  68. package/CHANGELOG.md +0 -350
package/CHANGELOG.md DELETED
@@ -1,350 +0,0 @@
1
- ## [8.1.2](https://github.com/GMOD/bbi-js/compare/v8.1.1...v8.1.2) (2026-03-20)
2
-
3
- ## [8.1.1](https://github.com/GMOD/bbi-js/compare/v8.1.0...v8.1.1) (2026-01-06)
4
-
5
-
6
-
7
- # [8.1.0](https://github.com/GMOD/bbi-js/compare/v8.0.4...v8.1.0) (2025-12-25)
8
-
9
-
10
-
11
- ## [8.0.4](https://github.com/GMOD/bbi-js/compare/v8.0.3...v8.0.4) (2025-12-17)
12
-
13
-
14
-
15
- ## [8.0.3](https://github.com/GMOD/bbi-js/compare/v8.0.2...v8.0.3) (2025-12-16)
16
-
17
-
18
-
19
- ## [8.0.2](https://github.com/GMOD/bbi-js/compare/v8.0.1...v8.0.2) (2025-12-16)
20
-
21
-
22
-
23
- ## [8.0.1](https://github.com/GMOD/bbi-js/compare/v8.0.0...v8.0.1) (2025-12-16)
24
-
25
-
26
-
27
- # [8.0.0](https://github.com/GMOD/bbi-js/compare/v7.1.0...v8.0.0) (2025-12-11)
28
-
29
-
30
-
31
- # [7.1.0](https://github.com/GMOD/bbi-js/compare/v7.0.5...v7.1.0) (2025-11-09)
32
-
33
-
34
-
35
- ## [7.0.5](https://github.com/GMOD/bbi-js/compare/v7.0.4...v7.0.5) (2025-06-10)
36
-
37
-
38
-
39
- ## [7.0.4](https://github.com/GMOD/bbi-js/compare/v7.0.3...v7.0.4) (2025-06-07)
40
-
41
-
42
-
43
- ## [7.0.3](https://github.com/GMOD/bbi-js/compare/v7.0.2...v7.0.3) (2025-05-16)
44
-
45
-
46
-
47
- ## [7.0.2](https://github.com/GMOD/bbi-js/compare/v7.0.1...v7.0.2) (2025-05-13)
48
-
49
-
50
-
51
- ## [7.0.2](https://github.com/GMOD/bbi-js/compare/v7.0.1...v7.0.2) (2025-05-13)
52
-
53
-
54
-
55
- ## [7.0.1](https://github.com/GMOD/bbi-js/compare/v7.0.0...v7.0.1) (2025-04-30)
56
-
57
-
58
-
59
- # [7.0.0](https://github.com/GMOD/bbi-js/compare/v6.0.3...v7.0.0) (2025-04-30)
60
-
61
-
62
-
63
- ## [6.0.3](https://github.com/GMOD/bbi-js/compare/v6.0.2...v6.0.3) (2025-04-11)
64
-
65
-
66
-
67
- ## [6.0.2](https://github.com/GMOD/bbi-js/compare/v6.0.1...v6.0.2) (2025-03-18)
68
-
69
-
70
-
71
- ## [6.0.1](https://github.com/GMOD/bbi-js/compare/v6.0.0...v6.0.1) (2024-12-12)
72
-
73
-
74
-
75
- # [6.0.0](https://github.com/GMOD/bbi-js/compare/v5.0.2...v6.0.0) (2024-12-12)
76
-
77
-
78
-
79
- ## [5.0.2](https://github.com/GMOD/bbi-js/compare/v5.0.1...v5.0.2) (2024-09-03)
80
-
81
-
82
-
83
- ## [5.0.1](https://github.com/GMOD/bbi-js/compare/v5.0.0...v5.0.1) (2024-08-09)
84
-
85
-
86
-
87
- # [5.0.0](https://github.com/GMOD/bbi-js/compare/v4.0.6...v5.0.0) (2024-08-09)
88
-
89
-
90
-
91
- ## [4.0.6](https://github.com/GMOD/bbi-js/compare/v4.0.5...v4.0.6) (2024-07-23)
92
-
93
- - Use renamed abortable-promise-cache -> @gmod/abortable-promise-cache
94
-
95
- ## [4.0.5](https://github.com/GMOD/bbi-js/compare/v4.0.4...v4.0.5) (2024-06-19)
96
-
97
- - Improved linting
98
-
99
-
100
- ## [4.0.4](https://github.com/GMOD/bbi-js/compare/v4.0.3...v4.0.4) (2024-3-5)
101
-
102
-
103
-
104
- - Fix issue fetching data from file where refNames are not sorted (#59)
105
-
106
- ## [4.0.3](https://github.com/GMOD/bbi-js/compare/v4.0.2...v4.0.3) (2024-01-16)
107
-
108
- ### Performance Improvements
109
-
110
- - optimize `parseBigBedBlock` ([#58](https://github.com/GMOD/bbi-js/issues/58))
111
- ([eb3f7a4](https://github.com/GMOD/bbi-js/commit/eb3f7a4885c4e8262c6e3e63696b533e53072463))
112
-
113
- * Small perf improvement (#58)
114
-
115
- ## [4.0.2](https://github.com/GMOD/bbi-js/compare/v4.0.1...v4.0.2) (2023-07-30)
116
-
117
- - Fix issue with fetching headers that are large in certain cases
118
-
119
- ## [4.0.1](https://github.com/GMOD/bbi-js/compare/v4.0.0...v4.0.1) (2023-07-13)
120
-
121
- - Fix eslint plugin being in dependencies Accidentally
122
-
123
- # [4.0.0](https://github.com/GMOD/bbi-js/compare/v3.0.1...v4.0.0) (2023-05-05)
124
-
125
- - Improve typescripting, refactoring
126
- - Options argument only accepts {signal}, not just signal now
127
-
128
- ## [3.0.1](https://github.com/GMOD/bbi-js/compare/v3.0.0...v3.0.1) (2023-04-21)
129
-
130
- ### Features
131
-
132
- - explicit buffer import ([#53](https://github.com/GMOD/bbi-js/issues/53))
133
- ([2699c98](https://github.com/GMOD/bbi-js/commit/2699c983dea380bbb56773058ba3f233c833d9c8))
134
-
135
- * Add explicit Buffer import
136
-
137
- # [3.0.0](https://github.com/GMOD/bbi-js/compare/v2.0.5...v3.0.0) (2023-01-11)
138
-
139
- - Update to rxjs 7
140
-
141
- ## [2.0.5](https://github.com/GMOD/bbi-js/compare/v2.0.4...v2.0.5) (2022-12-17)
142
-
143
- - Cleanup package.json and README
144
-
145
- ## [2.0.4](https://github.com/GMOD/bbi-js/compare/v2.0.3...v2.0.4) (2022-10-15)
146
-
147
- - Use plain TextDecoder for decoding autoSql
148
-
149
- ## [2.0.3](https://github.com/GMOD/bbi-js/compare/v2.0.2...v2.0.3) (2022-10-10)
150
-
151
- - Add BigInt64 polyfill for older safari
152
-
153
- ## [2.0.2](https://github.com/GMOD/bbi-js/compare/v2.0.1...v2.0.2) (2022-07-18)
154
-
155
- - Make basesCovered a number instead of BigInt
156
-
157
- ## [2.0.1](https://github.com/GMOD/bbi-js/compare/v2.0.0...v2.0.1) (2022-07-18)
158
-
159
- - Bump generic-filehandle 2->3
160
-
161
- # [2.0.0](https://github.com/GMOD/bbi-js/compare/v1.0.35...v2.0.0) (2022-07-18)
162
-
163
- - Use binary-parser instead of @gmod/binary-parser, with some optimizations.
164
- This uses BigInt and TextDecoder, so requires a major version bump
165
-
166
- ## [1.0.35](https://github.com/GMOD/bbi-js/compare/v1.0.34...v1.0.35) (2022-04-22)
167
-
168
- - Produce actual ESM module for the "module" field in package.json, was commonJS
169
- - Add sourceMap:true to tsconfig
170
-
171
- ## [1.0.34](https://github.com/GMOD/bbi-js/compare/v1.0.33...v1.0.34) (2022-03-11)
172
-
173
- ### Reverts
174
-
175
- - Revert "Use subarray instead of slice since slice is deprecated under node
176
- xref 'https://nodejs.org/api/buffer.html#bufslicestart-end'"
177
- ([44116cc](https://github.com/GMOD/bbi-js/commit/44116cce54601727d37f1c449bfcc60c1b4e602d))
178
-
179
- * Back to slice instead of subarray, as subarray returned a UInt8Array instead
180
- of a true Buffer
181
-
182
- ## [1.0.33](https://github.com/GMOD/bbi-js/compare/v1.0.32...v1.0.33) (2022-02-25)
183
-
184
- - Use subarray instead of slice since slice is deprecated under node xref
185
- 'https://nodejs.org/api/buffer.html#bufslicestart-end'"
186
-
187
- ## [1.0.32](https://github.com/GMOD/bbi-js/compare/v1.0.31...v1.0.32) (2022-02-16)
188
-
189
- - Use pako to decode on command line instead of using zlib to avoid need to
190
- manually polyfill zlib
191
-
192
- ## [1.0.31](https://github.com/GMOD/bbi-js/compare/v1.0.30...v1.0.31) (2021-12-14)
193
-
194
- - Add esm module builds with less babelification for smaller bundle sizes
195
-
196
- ## [1.0.30](https://github.com/GMOD/bbi-js/compare/v1.0.29...v1.0.30) (2020-06-25)
197
-
198
- - Use abortable-promise-cache instead of abortable-memoize
199
- - Allow opts parameter to getHeader instead of just abortsignal
200
-
201
- ## [1.0.29](https://github.com/GMOD/bbi-js/compare/v1.0.28...v1.0.29) (2020-01-28)
202
-
203
- - Accidentally made the package include itself as dependency in 1.0.28,
204
- republish
205
-
206
- ## [1.0.28](https://github.com/GMOD/bbi-js/compare/v1.0.27...v1.0.28) (2020-01-28)
207
-
208
- - Change typescript interface to use object keys instead of Map type for
209
- refsByName, refsById
210
- - Typescript only release change
211
-
212
- ## [1.0.27](https://github.com/GMOD/bbi-js/compare/v1.0.26...v1.0.27) (2020-01-10)
213
-
214
- - Reduce number of requests needed on initial header
215
- - Add definedFieldCount to the returned Header
216
-
217
- Thanks to @skinner for both of these contributions!
218
-
219
- ## [1.0.26](https://github.com/GMOD/bbi-js/compare/v1.0.25...v1.0.26) (2019-11-10)
220
-
221
- - Fix important bug with fixed step bigwig files not using the proper start
222
- coordinate
223
-
224
- ## [1.0.25](https://github.com/GMOD/bbi-js/compare/v1.0.24...v1.0.25) (2019-11-03)
225
-
226
- - Add fix for files with a large header, if autoSql is large in a bigbed file
227
- would be likely scenario
228
-
229
- ## [1.0.24](https://github.com/GMOD/bbi-js/compare/v1.0.23...v1.0.24) (2019-10-29)
230
-
231
- - Fix the uniqueIds generated via the bigbed features
232
-
233
- ## [1.0.23](https://github.com/GMOD/bbi-js/compare/v1.0.22...v1.0.23) (2019-10-06)
234
-
235
- - Small refactor of `filehandle.read()` to make it more robust
236
-
237
- ## [1.0.22](https://github.com/GMOD/bbi-js/compare/v1.0.21...v1.0.22) (2019-06-13)
238
-
239
- - Bump generic-filehandle
240
- - Add more checks for abort signal to allow early bailing
241
-
242
- ## [1.0.21](https://github.com/GMOD/bbi-js/compare/v1.0.20...v1.0.21) (2019-05-09)
243
-
244
- - Add fix for reading files with greater than 256 contigs
245
-
246
- ## [1.0.20](https://github.com/GMOD/bbi-js/compare/v1.0.19...v1.0.20) (2019-05-06)
247
-
248
- - Add fix that prevented accessing the lowest zoom/reduction level
249
-
250
- ## [1.0.19](https://github.com/GMOD/bbi-js/compare/v1.0.18...v1.0.19) (2019-05-02)
251
-
252
- - Add regression fix since 1.0.16 for uncompressed files. Thanks to @lidaof for
253
- reporting!
254
-
255
- ## [1.0.18](https://github.com/GMOD/bbi-js/compare/v1.0.17...v1.0.18) (2019-05-02)
256
-
257
- - Improve error handling of the observables (issue #20, pull #21)
258
- - Bump generic-filehandle to 1.0.9 to fix compatibility with native browser
259
- fetch
260
-
261
- ## [1.0.17](https://github.com/GMOD/bbi-js/compare/v1.0.16...v1.0.17) (2019-04-30)
262
-
263
- - Use some standard rxjs notions for combining operator results
264
- - Add parsing of the extraIndex data in BigBed, allowing you to call
265
- bigbed.searchExtraIndex(name[,opts])
266
-
267
- ## [1.0.16](https://github.com/GMOD/bbi-js/compare/v1.0.15...v1.0.16) (2019-04-23)
268
-
269
- - Pre-compile binary-parser instances for faster
270
- - Important: fixed bug that caused bigwig summary blocks to not be returned in
271
- output
272
-
273
- ## [1.0.15](https://github.com/GMOD/bbi-js/compare/v1.0.14...v1.0.15) (2019-04-18)
274
-
275
- - Make important performance improvement for BigWig data
276
-
277
- ## [1.0.14](https://github.com/GMOD/bbi-js/compare/v1.0.12...v1.0.14) (2019-04-17)
278
-
279
- - Improve documentation for integration with @gmod/bed@2
280
- - Fix some cases where abortSignal was passed incorrectly to filehandle
281
-
282
- ## [1.0.13](https://github.com/GMOD/bbi-js/compare/v1.0.12...v1.0.13) (2019-04-14)
283
-
284
- - Added uniqueId to objects returned from BigBed to avoid issue with duplicates
285
-
286
- ## [1.0.12](https://github.com/GMOD/bbi-js/compare/v1.0.11...v1.0.12) (2019-04-12)
287
-
288
- - Fix returning bigbed objects on empty regions
289
-
290
- ## [1.0.11](https://github.com/GMOD/bbi-js/compare/v1.0.10...v1.0.11) (2019-04-10)
291
-
292
- - Removed polyfill of Array.prototype.flat which modifies global scope
293
-
294
- ## [1.0.10](https://github.com/GMOD/bbi-js/compare/v1.0.9...v1.0.10) (2019-04-09)
295
-
296
- - Fix misinterpretation of variable step wig files in this module (the span is
297
- not variable in variable step files, only the step, use bedGraphToBigWig for
298
- variable span)
299
- - Improved docs
300
-
301
- ## [1.0.9](https://github.com/GMOD/bbi-js/compare/v1.0.8...v1.0.9) (2019-04-05)
302
-
303
- - Added caching of networking requests (thanks @rbuels for the
304
- abortable-promise-cache module!)
305
- - Fix some type errors on the range class
306
- - Correct using span on fixed size wiggle types
307
-
308
- ## [1.0.8](https://github.com/GMOD/bbi-js/compare/v1.0.7...v1.0.8) (2019-04-01)
309
-
310
- - Fix @babel/runtime in deployed package
311
- - Bugfix to the url argument to the BigWig/BigBed
312
-
313
- ## [1.0.7](https://github.com/GMOD/bbi-js/compare/v1.0.6...v1.0.7) (2019-04-01)
314
-
315
- - Added getFeatureStream which returns an Observable from rxjs
316
- - Added url option to BigWig and BigBed constructors to allow usage of
317
- RemoteFile filehandle
318
- - Added typescript backend for better processing
319
-
320
- ## [1.0.6](https://github.com/GMOD/bbi-js/compare/v1.0.5...v1.0.6) (2019-03-15)
321
-
322
- - Fix issue with fixed step and variable step bigwig files not working at all
323
-
324
- ## [1.0.5](https://github.com/GMOD/bbi-js/compare/v1.0.4...v1.0.5) (2019-03-07)
325
-
326
- - Fix issue with jest being in deps instead of devDeps
327
-
328
- ## [1.0.4](https://github.com/GMOD/bbi-js/compare/v1.0.3...v1.0.4) (2019-01-28)
329
-
330
- - Add renameRefSeqs functionality where you can apply a callback to the refseq
331
- names
332
- - Consistently apply start/end coordinate filters at different zoom levels
333
-
334
- ## [1.0.3](https://github.com/GMOD/bbi-js/compare/v1.0.2...v1.0.3) (2019-01-27)
335
-
336
- - Fix issue with properly inflating chunks (issue #1)
337
-
338
- ## [1.0.2](https://github.com/GMOD/bbi-js/compare/v1.0.1...v1.0.2) (2019-01-24)
339
-
340
- - Added regenerator-runtime to babel dist compilation
341
-
342
- ## [1.0.1](https://github.com/GMOD/bbi-js/compare/v1.0.0...v1.0.1) (2019-01-24)
343
-
344
- - Added exports for BigWig and BigBed. const {BigWig, BigBed} =
345
- require('@gmod/bbi')
346
-
347
- # 1.0.0 (2019-01-23)
348
-
349
- - Initial version
350
- - Has support for bigwig and bigbed files