@gmod/bam 7.1.18 → 7.1.20
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.
- package/README.md +5 -4
- package/dist/bai.js +1 -0
- package/dist/bai.js.map +1 -1
- package/dist/bamFile.d.ts +1 -0
- package/dist/bamFile.js +55 -23
- package/dist/bamFile.js.map +1 -1
- package/dist/chunk.js +5 -0
- package/dist/chunk.js.map +1 -1
- package/dist/csi.js +4 -6
- package/dist/csi.js.map +1 -1
- package/dist/htsget.js +2 -0
- package/dist/htsget.js.map +1 -1
- package/dist/indexFile.js +2 -0
- package/dist/indexFile.js.map +1 -1
- package/dist/nullFilehandle.d.ts +4 -4
- package/dist/nullIndex.d.ts +4 -4
- package/dist/record.d.ts +1 -1
- package/dist/record.js +17 -2
- package/dist/record.js.map +1 -1
- package/dist/virtualOffset.js +2 -0
- package/dist/virtualOffset.js.map +1 -1
- package/esm/bai.js +1 -0
- package/esm/bai.js.map +1 -1
- package/esm/bamFile.d.ts +1 -0
- package/esm/bamFile.js +55 -23
- package/esm/bamFile.js.map +1 -1
- package/esm/chunk.js +5 -0
- package/esm/chunk.js.map +1 -1
- package/esm/csi.js +4 -6
- package/esm/csi.js.map +1 -1
- package/esm/htsget.js +2 -0
- package/esm/htsget.js.map +1 -1
- package/esm/indexFile.js +2 -0
- package/esm/indexFile.js.map +1 -1
- package/esm/nullFilehandle.d.ts +4 -4
- package/esm/nullIndex.d.ts +4 -4
- package/esm/record.d.ts +1 -1
- package/esm/record.js +17 -2
- package/esm/record.js.map +1 -1
- package/esm/virtualOffset.js +2 -0
- package/esm/virtualOffset.js.map +1 -1
- package/package.json +22 -21
- package/src/bamFile.ts +52 -24
- package/src/nullFilehandle.ts +4 -4
- package/src/nullIndex.ts +4 -4
- package/src/record.ts +7 -3
- package/CHANGELOG.md +0 -532
package/CHANGELOG.md
DELETED
|
@@ -1,532 +0,0 @@
|
|
|
1
|
-
## [7.1.18](https://github.com/GMOD/bam-js/compare/v7.1.17...v7.1.18) (2026-03-04)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## [7.1.17](https://github.com/GMOD/bam-js/compare/v7.1.16...v7.1.17) (2026-02-14)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## [7.1.16](https://github.com/GMOD/bam-js/compare/v7.1.15...v7.1.16) (2026-02-14)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## [7.1.15](https://github.com/GMOD/bam-js/compare/v7.1.14...v7.1.15) (2025-12-17)
|
|
14
|
-
|
|
15
|
-
## [7.1.14](https://github.com/GMOD/bam-js/compare/v7.1.13...v7.1.14) (2025-12-17)
|
|
16
|
-
|
|
17
|
-
## [7.1.13](https://github.com/GMOD/bam-js/compare/v7.1.12...v7.1.13) (2025-12-17)
|
|
18
|
-
|
|
19
|
-
## [7.1.12](https://github.com/GMOD/bam-js/compare/v7.1.11...v7.1.12) (2025-12-17)
|
|
20
|
-
|
|
21
|
-
## [7.1.11](https://github.com/GMOD/bam-js/compare/v7.1.10...v7.1.11) (2025-12-16)
|
|
22
|
-
|
|
23
|
-
## [7.1.10](https://github.com/GMOD/bam-js/compare/v7.1.9...v7.1.10) (2025-12-15)
|
|
24
|
-
|
|
25
|
-
## [7.1.9](https://github.com/GMOD/bam-js/compare/v7.1.8...v7.1.9) (2025-12-13)
|
|
26
|
-
|
|
27
|
-
## [7.1.8](https://github.com/GMOD/bam-js/compare/v7.1.7...v7.1.8) (2025-12-13)
|
|
28
|
-
|
|
29
|
-
## [7.1.7](https://github.com/GMOD/bam-js/compare/v7.1.6...v7.1.7) (2025-12-13)
|
|
30
|
-
|
|
31
|
-
## [7.1.6](https://github.com/GMOD/bam-js/compare/v7.1.5...v7.1.6) (2025-12-13)
|
|
32
|
-
|
|
33
|
-
## [7.1.5](https://github.com/GMOD/bam-js/compare/v7.1.4...v7.1.5) (2025-12-13)
|
|
34
|
-
|
|
35
|
-
## [7.1.4](https://github.com/GMOD/bam-js/compare/v7.1.3...v7.1.4) (2025-12-13)
|
|
36
|
-
|
|
37
|
-
## [7.1.3](https://github.com/GMOD/bam-js/compare/v7.1.2...v7.1.3) (2025-12-12)
|
|
38
|
-
|
|
39
|
-
## [7.1.2](https://github.com/GMOD/bam-js/compare/v7.1.1...v7.1.2) (2025-12-12)
|
|
40
|
-
|
|
41
|
-
## [7.1.1](https://github.com/GMOD/bam-js/compare/v7.1.0...v7.1.1) (2025-12-12)
|
|
42
|
-
|
|
43
|
-
# [7.1.0](https://github.com/GMOD/bam-js/compare/v7.0.6...v7.1.0) (2025-12-11)
|
|
44
|
-
|
|
45
|
-
## [7.0.6](https://github.com/GMOD/bam-js/compare/v7.0.5...v7.0.6) (2025-11-28)
|
|
46
|
-
|
|
47
|
-
## [7.0.5](https://github.com/GMOD/bam-js/compare/v7.0.4...v7.0.5) (2025-11-27)
|
|
48
|
-
|
|
49
|
-
## [7.0.4](https://github.com/GMOD/bam-js/compare/v7.0.3...v7.0.4) (2025-11-24)
|
|
50
|
-
|
|
51
|
-
## [7.0.3](https://github.com/GMOD/bam-js/compare/v7.0.2...v7.0.3) (2025-11-24)
|
|
52
|
-
|
|
53
|
-
## [7.0.2](https://github.com/GMOD/bam-js/compare/v7.0.1...v7.0.2) (2025-11-24)
|
|
54
|
-
|
|
55
|
-
## [7.0.1](https://github.com/GMOD/bam-js/compare/v7.0.0...v7.0.1) (2025-11-24)
|
|
56
|
-
|
|
57
|
-
- Added NUMERIC_SEQ to get the raw encoded seq array
|
|
58
|
-
|
|
59
|
-
# [7.0.0](https://github.com/GMOD/bam-js/compare/v6.1.1...v7.0.0) (2025-11-24)
|
|
60
|
-
|
|
61
|
-
- Introduced the idea of returning TypedArrays for different tag types
|
|
62
|
-
|
|
63
|
-
## [6.1.1](https://github.com/GMOD/bam-js/compare/v6.1.0...v6.1.1) (2025-10-02)
|
|
64
|
-
|
|
65
|
-
# [6.1.0](https://github.com/GMOD/bam-js/compare/v6.0.4...v6.1.0) (2025-10-01)
|
|
66
|
-
|
|
67
|
-
## [6.0.4](https://github.com/GMOD/bam-js/compare/v6.0.3...v6.0.4) (2025-05-26)
|
|
68
|
-
|
|
69
|
-
## [6.0.3](https://github.com/GMOD/bam-js/compare/v6.0.2...v6.0.3) (2025-05-13)
|
|
70
|
-
|
|
71
|
-
## [6.0.2](https://github.com/GMOD/bam-js/compare/v6.0.1...v6.0.2) (2025-04-30)
|
|
72
|
-
|
|
73
|
-
## [6.0.1](https://github.com/GMOD/bam-js/compare/v6.0.0...v6.0.1) (2025-04-30)
|
|
74
|
-
|
|
75
|
-
# [6.0.0](https://github.com/GMOD/bam-js/compare/v5.0.7...v6.0.0) (2025-04-30)
|
|
76
|
-
|
|
77
|
-
## [5.0.7](https://github.com/GMOD/bam-js/compare/v5.0.6...v5.0.7) (2025-03-11)
|
|
78
|
-
|
|
79
|
-
## [5.0.6](https://github.com/GMOD/bam-js/compare/v5.0.5...v5.0.6) (2025-02-28)
|
|
80
|
-
|
|
81
|
-
## [5.0.5](https://github.com/GMOD/bam-js/compare/v5.0.4...v5.0.5) (2024-12-18)
|
|
82
|
-
|
|
83
|
-
## [5.0.4](https://github.com/GMOD/bam-js/compare/v5.0.2...v5.0.4) (2024-12-18)
|
|
84
|
-
|
|
85
|
-
## [5.0.3](https://github.com/GMOD/bam-js/compare/v5.0.2...v5.0.3) (2024-12-18)
|
|
86
|
-
|
|
87
|
-
## [5.0.2](https://github.com/GMOD/bam-js/compare/v5.0.1...v5.0.2) (2024-12-17)
|
|
88
|
-
|
|
89
|
-
## [5.0.1](https://github.com/GMOD/bam-js/compare/v5.0.0...v5.0.1) (2024-12-12)
|
|
90
|
-
|
|
91
|
-
# [5.0.0](https://github.com/GMOD/bam-js/compare/v4.0.1...v5.0.0) (2024-12-12)
|
|
92
|
-
|
|
93
|
-
## [4.0.1](https://github.com/GMOD/bam-js/compare/v4.0.0...v4.0.1) (2024-11-12)
|
|
94
|
-
|
|
95
|
-
# [4.0.0](https://github.com/GMOD/bam-js/compare/v3.0.3...v4.0.0) (2024-11-12)
|
|
96
|
-
|
|
97
|
-
## [3.0.3](https://github.com/GMOD/bam-js/compare/v3.0.0...v3.0.3) (2024-11-11)
|
|
98
|
-
|
|
99
|
-
## [3.0.2](https://github.com/GMOD/bam-js/compare/v3.0.0...v3.0.2) (2024-11-11)
|
|
100
|
-
|
|
101
|
-
- republish v3.0.1 since it got tagged on a deleted branch
|
|
102
|
-
|
|
103
|
-
## [3.0.1](https://github.com/GMOD/bam-js/compare/v3.0.0...v3.0.1) (2024-11-11)
|
|
104
|
-
|
|
105
|
-
# [3.0.0](https://github.com/GMOD/bam-js/compare/v2.0.4...v3.0.0) (2024-11-07)
|
|
106
|
-
|
|
107
|
-
## [2.0.4](https://github.com/GMOD/bam-js/compare/v2.0.3...v2.0.4) (2024-08-09)
|
|
108
|
-
|
|
109
|
-
## [2.0.3](https://github.com/GMOD/bam-js/compare/v2.0.2...v2.0.3) (2024-07-23)
|
|
110
|
-
|
|
111
|
-
### Reverts
|
|
112
|
-
|
|
113
|
-
- Revert "Migrate to eslint9"
|
|
114
|
-
([65adcbb](https://github.com/GMOD/bam-js/commit/65adcbb2793243659682d30694f8604d241a5337))
|
|
115
|
-
- Revert "Run format"
|
|
116
|
-
([2a02535](https://github.com/GMOD/bam-js/commit/2a02535db4df80f245232522cdba771cbf5ea214))
|
|
117
|
-
|
|
118
|
-
## [2.0.2](https://github.com/GMOD/bam-js/compare/v2.0.1...v2.0.2) (2024-02-21)
|
|
119
|
-
|
|
120
|
-
- Update typescript-eslint config and related fixes
|
|
121
|
-
|
|
122
|
-
## [2.0.1](https://github.com/GMOD/bam-js/compare/v2.0.0...v2.0.1) (2024-2-20)
|
|
123
|
-
|
|
124
|
-
- Update to buffer-crc32 1.0.0
|
|
125
|
-
- Fix BAM header parsing of refNames containing a :
|
|
126
|
-
|
|
127
|
-
# [2.0.0](https://github.com/GMOD/bam-js/compare/v1.1.18...v2.0.0) (2023-06-08)
|
|
128
|
-
|
|
129
|
-
### Features
|
|
130
|
-
|
|
131
|
-
- explicit buffer import ([#98](https://github.com/GMOD/bam-js/issues/98))
|
|
132
|
-
([66de9f4](https://github.com/GMOD/bam-js/commit/66de9f4ce30e3ff647d5297f093695e92ec9227c))
|
|
133
|
-
|
|
134
|
-
* Add explicit buffer import
|
|
135
|
-
* Remove cross-fetch and object.entries polyfills
|
|
136
|
-
* Improve typescripting
|
|
137
|
-
* Remove chunkSizeLimit and fetchSizeLimit
|
|
138
|
-
|
|
139
|
-
## [1.1.18](https://github.com/GMOD/bam-js/compare/v1.1.17...v1.1.18) (2022-12-17)
|
|
140
|
-
|
|
141
|
-
- Use es2015 for nodejs build
|
|
142
|
-
|
|
143
|
-
## [1.1.17](https://github.com/GMOD/bam-js/compare/v1.1.16...v1.1.17) (2022-07-18)
|
|
144
|
-
|
|
145
|
-
- Bump devDeps and generic-filehandle to 3.0.0
|
|
146
|
-
|
|
147
|
-
## [1.1.16](https://github.com/GMOD/bam-js/compare/v1.1.15...v1.1.16) (2022-03-30)
|
|
148
|
-
|
|
149
|
-
- Add src directory for better source maps
|
|
150
|
-
|
|
151
|
-
## [1.1.15](https://github.com/GMOD/bam-js/compare/v1.1.14...v1.1.15) (2022-03-18)
|
|
152
|
-
|
|
153
|
-
- Fix for htsget failing with message 'input must be buffer, number, or string,
|
|
154
|
-
received object'
|
|
155
|
-
- Speed improvement by caching chunks of features
|
|
156
|
-
|
|
157
|
-
## [1.1.14](https://github.com/GMOD/bam-js/compare/v1.1.13...v1.1.14) (2022-03-14)
|
|
158
|
-
|
|
159
|
-
- Fix seq function for corner case
|
|
160
|
-
|
|
161
|
-
## [1.1.13](https://github.com/GMOD/bam-js/compare/v1.1.12...v1.1.13) (2022-02-25)
|
|
162
|
-
|
|
163
|
-
- Optimize qual and sequence string record functions for less GC pressure
|
|
164
|
-
|
|
165
|
-
<a name="1.1.12"></a>
|
|
166
|
-
|
|
167
|
-
## [1.1.12](https://github.com/GMOD/bam-js/compare/v1.1.11...v1.1.12) (2022-02-17)
|
|
168
|
-
|
|
169
|
-
- Add blocksForRange method to BamFile class to help stats estimation in JBrowse
|
|
170
|
-
2
|
|
171
|
-
|
|
172
|
-
<a name="1.1.11"></a>
|
|
173
|
-
|
|
174
|
-
## [1.1.11](https://github.com/GMOD/bam-js/compare/v1.1.10...v1.1.11) (2022-01-26)
|
|
175
|
-
|
|
176
|
-
- Cache setup of index file parsing
|
|
177
|
-
|
|
178
|
-
<a name="1.1.10"></a>
|
|
179
|
-
|
|
180
|
-
## [1.1.10](https://github.com/GMOD/bam-js/compare/v1.1.9...v1.1.10) (2022-01-18)
|
|
181
|
-
|
|
182
|
-
- Make \_refID and flags public fields
|
|
183
|
-
- Small internal changes to the handling of opts
|
|
184
|
-
|
|
185
|
-
<a name="1.1.9"></a>
|
|
186
|
-
|
|
187
|
-
## [1.1.9](https://github.com/GMOD/bam-js/compare/v1.1.8...v1.1.9) (2021-12-14)
|
|
188
|
-
|
|
189
|
-
- Add ESM module export in package.json (smaller bundle size for consumers)
|
|
190
|
-
- Cache BAI readFile result for compatibility with node.js native filehandles
|
|
191
|
-
(which otherwise fail if re-reading the filehandle twice)
|
|
192
|
-
|
|
193
|
-
<a name="1.1.8"></a>
|
|
194
|
-
|
|
195
|
-
## [1.1.8](https://github.com/GMOD/bam-js/compare/v1.1.7...v1.1.8) (2021-05-21)
|
|
196
|
-
|
|
197
|
-
- Fix types for yieldThreadTime
|
|
198
|
-
|
|
199
|
-
<a name="1.1.7"></a>
|
|
200
|
-
|
|
201
|
-
## [1.1.7](https://github.com/GMOD/bam-js/compare/v1.1.6...v1.1.7) (2021-05-21)
|
|
202
|
-
|
|
203
|
-
- New param yieldThreadTime to constructor to yield while processing
|
|
204
|
-
|
|
205
|
-
<a name="1.1.6"></a>
|
|
206
|
-
|
|
207
|
-
## [1.1.6](https://github.com/GMOD/bam-js/compare/v1.1.5...v1.1.6) (2021-02-20)
|
|
208
|
-
|
|
209
|
-
- Add qualRaw function on records for getting raw qual score array instead of
|
|
210
|
-
string
|
|
211
|
-
|
|
212
|
-
<a name="1.1.5"></a>
|
|
213
|
-
|
|
214
|
-
## [1.1.5](https://github.com/GMOD/bam-js/compare/v1.1.4...v1.1.5) (2020-12-11)
|
|
215
|
-
|
|
216
|
-
- Allow getHeaderText to accept cancellation options
|
|
217
|
-
|
|
218
|
-
<a name="1.1.4"></a>
|
|
219
|
-
|
|
220
|
-
## [1.1.4](https://github.com/GMOD/bam-js/compare/v1.1.3...v1.1.4) (2020-12-11)
|
|
221
|
-
|
|
222
|
-
- Add canMergeBlocks to CSI code (already existed in BAI)
|
|
223
|
-
- Add suggestion from @jrobinso about reg2bins modification for memory saving
|
|
224
|
-
(Thanks!)
|
|
225
|
-
- Add getHeaderText() method for getting a text string of the header data
|
|
226
|
-
|
|
227
|
-
<a name="1.1.3"></a>
|
|
228
|
-
|
|
229
|
-
## [1.1.3](https://github.com/GMOD/bam-js/compare/v1.1.2...v1.1.3) (2020-10-29)
|
|
230
|
-
|
|
231
|
-
- Fix usage of feature.get('seq'), was using feature.getReadBases before this
|
|
232
|
-
|
|
233
|
-
<a name="1.1.2"></a>
|
|
234
|
-
|
|
235
|
-
## [1.1.2](https://github.com/GMOD/bam-js/compare/v1.1.1...v1.1.2) (2020-10-02)
|
|
236
|
-
|
|
237
|
-
- Fix signedness in BAM tags (#65)
|
|
238
|
-
- Remove unused seq_reverse_complemented tag from \_tags()
|
|
239
|
-
|
|
240
|
-
<a name="1.1.1"></a>
|
|
241
|
-
|
|
242
|
-
## [1.1.1](https://github.com/GMOD/bam-js/compare/v1.1.0...v1.1.1) (2020-09-20)
|
|
243
|
-
|
|
244
|
-
- Remove JBrowse specific results from tags
|
|
245
|
-
|
|
246
|
-
<a name="1.1.0"></a>
|
|
247
|
-
|
|
248
|
-
# [1.1.0](https://github.com/GMOD/bam-js/compare/v1.0.42...v1.1.0) (2020-08-28)
|
|
249
|
-
|
|
250
|
-
- Add support for the CG tag for long CIGAR strings
|
|
251
|
-
|
|
252
|
-
<a name="1.0.42"></a>
|
|
253
|
-
|
|
254
|
-
## [1.0.42](https://github.com/GMOD/bam-js/compare/v1.0.41...v1.0.42) (2020-08-19)
|
|
255
|
-
|
|
256
|
-
- Small bugfix for Htsget specifically
|
|
257
|
-
|
|
258
|
-
<a name="1.0.41"></a>
|
|
259
|
-
|
|
260
|
-
## [1.0.41](https://github.com/GMOD/bam-js/compare/v1.0.40...v1.0.41) (2020-08-19)
|
|
261
|
-
|
|
262
|
-
- Add htsget example
|
|
263
|
-
- Support opts object to getHeader allowing things like auth headers to be
|
|
264
|
-
passed right off the bat
|
|
265
|
-
|
|
266
|
-
<a name="1.0.40"></a>
|
|
267
|
-
|
|
268
|
-
## [1.0.40](https://github.com/GMOD/bam-js/compare/v1.0.39...v1.0.40) (2020-07-30)
|
|
269
|
-
|
|
270
|
-
<a name="1.0.39"></a>
|
|
271
|
-
|
|
272
|
-
## [1.0.39](https://github.com/GMOD/bam-js/compare/v1.0.38...v1.0.39) (2020-07-30)
|
|
273
|
-
|
|
274
|
-
- Don't use origin master in the follow-tags postpublish command for cleaner
|
|
275
|
-
version publishing
|
|
276
|
-
|
|
277
|
-
<a name="1.0.38"></a>
|
|
278
|
-
|
|
279
|
-
## [1.0.38](https://github.com/GMOD/bam-js/compare/v1.0.37...v1.0.38) (2020-07-30)
|
|
280
|
-
|
|
281
|
-
- Direct construction of qual/seq toString
|
|
282
|
-
- Improve performance of the uniqueID calculation for pathological cases where
|
|
283
|
-
there are tons of bins
|
|
284
|
-
|
|
285
|
-
<a name="1.0.37"></a>
|
|
286
|
-
|
|
287
|
-
## [1.0.37](https://github.com/GMOD/bam-js/compare/v1.0.36...v1.0.37) (2020-06-06)
|
|
288
|
-
|
|
289
|
-
- Typescript only release: export BamRecord types
|
|
290
|
-
|
|
291
|
-
<a name="1.0.36"></a>
|
|
292
|
-
|
|
293
|
-
## [1.0.36](https://github.com/GMOD/bam-js/compare/v1.0.35...v1.0.36) (2020-03-05)
|
|
294
|
-
|
|
295
|
-
- Adds a shortcut to stop parsing chunks after a record is detected to be
|
|
296
|
-
outside the requested range while decoding
|
|
297
|
-
|
|
298
|
-
<a name="1.0.35"></a>
|
|
299
|
-
|
|
300
|
-
## [1.0.35](https://github.com/GMOD/bam-js/compare/v1.0.34...v1.0.35) (2020-02-04)
|
|
301
|
-
|
|
302
|
-
- Update scheme used to calculate unique fileOffset based IDs using
|
|
303
|
-
@gmod/bgzf-filehandle updates
|
|
304
|
-
|
|
305
|
-
<a name="1.0.34"></a>
|
|
306
|
-
|
|
307
|
-
## [1.0.34](https://github.com/GMOD/bam-js/compare/v1.0.33...v1.0.34) (2020-01-24)
|
|
308
|
-
|
|
309
|
-
- Small fix for using id() instead of .get('id') for weird SAM records
|
|
310
|
-
containing ID field
|
|
311
|
-
|
|
312
|
-
<a name="1.0.33"></a>
|
|
313
|
-
|
|
314
|
-
## [1.0.33](https://github.com/GMOD/bam-js/compare/v1.0.32...v1.0.33) (2020-01-24)
|
|
315
|
-
|
|
316
|
-
- Perform decoding of entire chunk up front to aid caching, reverts change in
|
|
317
|
-
1.0.29
|
|
318
|
-
|
|
319
|
-
<a name="1.0.32"></a>
|
|
320
|
-
|
|
321
|
-
## [1.0.32](https://github.com/GMOD/bam-js/compare/v1.0.31...v1.0.32) (2019-11-16)
|
|
322
|
-
|
|
323
|
-
- Add a speed improvement for long reads by pre-allocating sequence/quality
|
|
324
|
-
scores array
|
|
325
|
-
|
|
326
|
-
<a name="1.0.31"></a>
|
|
327
|
-
|
|
328
|
-
## [1.0.31](https://github.com/GMOD/bam-js/compare/v1.0.30...v1.0.31) (2019-11-07)
|
|
329
|
-
|
|
330
|
-
- Fix example of the "ID" field failing to return the right data
|
|
331
|
-
|
|
332
|
-
<a name="1.0.30"></a>
|
|
333
|
-
|
|
334
|
-
## [1.0.30](https://github.com/GMOD/bam-js/compare/v1.0.29...v1.0.30) (2019-11-07)
|
|
335
|
-
|
|
336
|
-
- Add fix that was causing the parser to not return all tags from the \_tags API
|
|
337
|
-
|
|
338
|
-
<a name="1.0.29"></a>
|
|
339
|
-
|
|
340
|
-
## [1.0.29](https://github.com/GMOD/bam-js/compare/v1.0.28...v1.0.29) (2019-10-31)
|
|
341
|
-
|
|
342
|
-
- Decoding of the BAM records at time of use instead of entire chunk decoded up
|
|
343
|
-
front
|
|
344
|
-
- Alternate chunk merging strategy inspired by igv.js code
|
|
345
|
-
|
|
346
|
-
<a name="1.0.28"></a>
|
|
347
|
-
|
|
348
|
-
## [1.0.28](https://github.com/GMOD/bam-js/compare/v1.0.27...v1.0.28) (2019-10-29)
|
|
349
|
-
|
|
350
|
-
- Add CSI index block merging
|
|
351
|
-
- Change unique ID generator to be smaller numeric IDs
|
|
352
|
-
|
|
353
|
-
<a name="1.0.27"></a>
|
|
354
|
-
|
|
355
|
-
## [1.0.27](https://github.com/GMOD/bam-js/compare/v1.0.26...v1.0.27) (2019-10-10)
|
|
356
|
-
|
|
357
|
-
- Make feature IDs become generated based relative to the exact bgzip block
|
|
358
|
-
|
|
359
|
-
<a name="1.0.26"></a>
|
|
360
|
-
|
|
361
|
-
## [1.0.26](https://github.com/GMOD/bam-js/compare/v1.0.25...v1.0.26) (2019-10-01)
|
|
362
|
-
|
|
363
|
-
- Restore issue with getRecordsForRange not returning all features (#44)
|
|
364
|
-
- Fix compatibility with electron (#43)
|
|
365
|
-
- Fix usage of feature.get('seq')
|
|
366
|
-
|
|
367
|
-
<a name="1.0.25"></a>
|
|
368
|
-
|
|
369
|
-
## [1.0.25](https://github.com/GMOD/bam-js/compare/v1.0.24...v1.0.25) (2019-09-29)
|
|
370
|
-
|
|
371
|
-
- Fixed some typescript typings
|
|
372
|
-
|
|
373
|
-
<a name="1.0.24"></a>
|
|
374
|
-
|
|
375
|
-
## [1.0.24](https://github.com/GMOD/bam-js/compare/v1.0.22...v1.0.24) (2019-09-27)
|
|
376
|
-
|
|
377
|
-
- Added typescript typings
|
|
378
|
-
|
|
379
|
-
<a name="1.0.23"></a>
|
|
380
|
-
|
|
381
|
-
## [1.0.22](https://github.com/GMOD/bam-js/compare/v1.0.20...v1.0.22) (2019-09-27)
|
|
382
|
-
|
|
383
|
-
- Added typescript typings
|
|
384
|
-
- Botched release, was removed from npm
|
|
385
|
-
|
|
386
|
-
<a name="1.0.22"></a>
|
|
387
|
-
|
|
388
|
-
## [1.0.22](https://github.com/GMOD/bam-js/compare/v1.0.20...v1.0.22) (2019-09-03)
|
|
389
|
-
|
|
390
|
-
- Fixed issue with features having different IDs across different chunks (#36)
|
|
391
|
-
|
|
392
|
-
<a name="1.0.21"></a>
|
|
393
|
-
|
|
394
|
-
## [1.0.21](https://github.com/GMOD/bam-js/compare/v1.0.20...v1.0.21) (2019-08-06)
|
|
395
|
-
|
|
396
|
-
- Add a fix for the small chunk unpacking re-seeking in the same bgzf block
|
|
397
|
-
repeatedly (#35)
|
|
398
|
-
|
|
399
|
-
<a name="1.0.20"></a>
|
|
400
|
-
|
|
401
|
-
## [1.0.20](https://github.com/GMOD/bam-js/compare/v1.0.19...v1.0.20) (2019-06-06)
|
|
402
|
-
|
|
403
|
-
- Added a method for smaller chunk unpacking, by modifying the header parsing to
|
|
404
|
-
return smaller chunks and the bgzf unzipping to respect chunk boundaries (#30)
|
|
405
|
-
- Use fileOffset as bam feature ID which previously was crc32 of the BAM buffer
|
|
406
|
-
which consequently speeds up processing and allows exact duplicate features
|
|
407
|
-
|
|
408
|
-
## [1.0.19](https://github.com/GMOD/bam-js/compare/v1.0.18...v1.0.19) (2019-05-30)
|
|
409
|
-
|
|
410
|
-
- Added lineCount and hasRefSeq functions to BamFile, each accepting a string
|
|
411
|
-
seqName
|
|
412
|
-
- Fixed aborting on index retrieval code
|
|
413
|
-
|
|
414
|
-
## [1.0.18](https://github.com/GMOD/bam-js/compare/v1.0.17...v1.0.18) (2019-05-01)
|
|
415
|
-
|
|
416
|
-
- Bump generic-filehandle to 1.0.9 to fix error with using native fetch (global
|
|
417
|
-
fetch needed to be bound)
|
|
418
|
-
- Bump abortable-promise-cache to 1.0.1 version to fix error with using native
|
|
419
|
-
fetch and abort signals
|
|
420
|
-
|
|
421
|
-
## [1.0.17](https://github.com/GMOD/bam-js/compare/v1.0.16...v1.0.17) (2019-04-28)
|
|
422
|
-
|
|
423
|
-
- Fix wrong number of arguments being passed to the readRefSeqs file read()
|
|
424
|
-
invocation resulting in bad range requests
|
|
425
|
-
|
|
426
|
-
## [1.0.16](https://github.com/GMOD/bam-js/compare/v1.0.15...v1.0.16) (2019-04-28)
|
|
427
|
-
|
|
428
|
-
- Added indexCov algorithm to retrieve approximate coverage of the BAM inferred
|
|
429
|
-
from the size of the BAI linear index bins
|
|
430
|
-
- Fixed abortSignal on read() calls
|
|
431
|
-
- Updated API to allow bamUrl/baiUrl/csiUrl
|
|
432
|
-
|
|
433
|
-
## [1.0.15](https://github.com/GMOD/bam-js/compare/v1.0.14...v1.0.15) (2019-04-04)
|
|
434
|
-
|
|
435
|
-
- Added check for too large of chromosomes in the bai bins
|
|
436
|
-
- Added aborting support (thanks @rbuels)
|
|
437
|
-
- Refactored index file class
|
|
438
|
-
|
|
439
|
-
<a name="1.0.14"></a>
|
|
440
|
-
|
|
441
|
-
## [1.0.14](https://github.com/GMOD/bam-js/compare/v1.0.13...v1.0.14) (2019-01-04)
|
|
442
|
-
|
|
443
|
-
- Add hasRefSeq for CSI indexes
|
|
444
|
-
|
|
445
|
-
<a name="1.0.13"></a>
|
|
446
|
-
|
|
447
|
-
## [1.0.13](https://github.com/GMOD/bam-js/compare/v1.0.12...v1.0.13) (2018-12-25)
|
|
448
|
-
|
|
449
|
-
- Use ascii decoding for read names
|
|
450
|
-
- Fix error with large BAM headers with many refseqs
|
|
451
|
-
|
|
452
|
-
<a name="1.0.12"></a>
|
|
453
|
-
|
|
454
|
-
## [1.0.12](https://github.com/GMOD/bam-js/compare/v1.0.11...v1.0.12) (2018-11-25)
|
|
455
|
-
|
|
456
|
-
- Faster viewAsPairs operation
|
|
457
|
-
|
|
458
|
-
<a name="1.0.11"></a>
|
|
459
|
-
|
|
460
|
-
## [1.0.11](https://github.com/GMOD/bam-js/compare/v1.0.10...v1.0.11) (2018-11-23)
|
|
461
|
-
|
|
462
|
-
- Fix for ie11
|
|
463
|
-
|
|
464
|
-
<a name="1.0.10"></a>
|
|
465
|
-
|
|
466
|
-
## [1.0.10](https://github.com/GMOD/bam-js/compare/v1.0.9...v1.0.10) (2018-11-18)
|
|
467
|
-
|
|
468
|
-
- Add a maxInsertSize parameter to getRecordsForRange
|
|
469
|
-
|
|
470
|
-
<a name="1.0.9"></a>
|
|
471
|
-
|
|
472
|
-
## [1.0.9](https://github.com/GMOD/bam-js/compare/v1.0.8...v1.0.9) (2018-11-16)
|
|
473
|
-
|
|
474
|
-
- Allow bases other than ACGT to be decoded
|
|
475
|
-
- Make viewAsPairs only resolve pairs on given refSeq unless pairAcrossChr is
|
|
476
|
-
enabled for query
|
|
477
|
-
|
|
478
|
-
<a name="1.0.8"></a>
|
|
479
|
-
|
|
480
|
-
## [1.0.8](https://github.com/GMOD/bam-js/compare/v1.0.7...v1.0.8) (2018-10-31)
|
|
481
|
-
|
|
482
|
-
- Add getPairOrientation for reads
|
|
483
|
-
|
|
484
|
-
<a name="1.0.7"></a>
|
|
485
|
-
|
|
486
|
-
## [1.0.7](https://github.com/GMOD/bam-js/compare/v1.0.6...v1.0.7) (2018-10-19)
|
|
487
|
-
|
|
488
|
-
- Re-release of 1.0.6 due to build machinery error
|
|
489
|
-
|
|
490
|
-
<a name="1.0.6"></a>
|
|
491
|
-
|
|
492
|
-
## [1.0.6](https://github.com/GMOD/bam-js/compare/v1.0.5...v1.0.6) (2018-10-19)
|
|
493
|
-
|
|
494
|
-
- Add bugfix for where bytes for an invalid request returns 0 resulting in pako
|
|
495
|
-
unzip errors
|
|
496
|
-
|
|
497
|
-
<a name="1.0.5"></a>
|
|
498
|
-
|
|
499
|
-
## [1.0.5](https://github.com/GMOD/bam-js/compare/v1.0.4...v1.0.5) (2018-10-16)
|
|
500
|
-
|
|
501
|
-
- Add a bugfix for pairing reads related to adding duplicate records to results
|
|
502
|
-
|
|
503
|
-
<a name="1.0.4"></a>
|
|
504
|
-
|
|
505
|
-
## [1.0.4](https://github.com/GMOD/bam-js/compare/v1.0.3...v1.0.4) (2018-10-13)
|
|
506
|
-
|
|
507
|
-
- Support pairing reads
|
|
508
|
-
- Fix pseudobin parsing containing feature count on certain BAM files
|
|
509
|
-
|
|
510
|
-
<a name="1.0.3"></a>
|
|
511
|
-
|
|
512
|
-
## [1.0.3](https://github.com/GMOD/bam-js/compare/v1.0.2...v1.0.3) (2018-09-25)
|
|
513
|
-
|
|
514
|
-
- Remove @gmod/tabix dependency
|
|
515
|
-
|
|
516
|
-
<a name="1.0.2"></a>
|
|
517
|
-
|
|
518
|
-
## [1.0.2](https://github.com/GMOD/bam-js/compare/v1.0.1...v1.0.2) (2018-09-25)
|
|
519
|
-
|
|
520
|
-
- Fix CSI indexing code
|
|
521
|
-
|
|
522
|
-
<a name="1.0.1"></a>
|
|
523
|
-
|
|
524
|
-
## [1.0.1](https://github.com/GMOD/bam-js/compare/v1.0.0...v1.0.1) (2018-09-24)
|
|
525
|
-
|
|
526
|
-
- Rename hasDataForReferenceSequence to hasRefSeq
|
|
527
|
-
|
|
528
|
-
<a name="1.0.0"></a>
|
|
529
|
-
|
|
530
|
-
# 1.0.0 (2018-09-24)
|
|
531
|
-
|
|
532
|
-
- Initial implementation of BAM parsing code
|