@gmod/bbi 9.0.6 → 9.0.7

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/dist/unzip.d.ts CHANGED
@@ -9,9 +9,19 @@ export declare function unzipBatch(data: Uint8Array, blocks: {
9
9
  export declare function decompressAndParseBigWigBlocks(data: Uint8Array, blocks: {
10
10
  offset: number;
11
11
  length: number;
12
- }[], maxOutputSize: number, reqStart: number, reqEnd: number): Promise<import("./wasm/inflate-wasm-inlined.js").BigWigFeatureArrays>;
12
+ }[], maxOutputSize: number, reqStart: number, reqEnd: number): Promise<{
13
+ starts: Int32Array<any>;
14
+ ends: Int32Array<any>;
15
+ scores: Float32Array<any>;
16
+ }>;
13
17
  export declare function decompressAndParseSummaryBlocks(data: Uint8Array, blocks: {
14
18
  offset: number;
15
19
  length: number;
16
- }[], maxOutputSize: number, reqChrId: number, reqStart: number, reqEnd: number): Promise<import("./wasm/inflate-wasm-inlined.js").SummaryFeatureArrays>;
20
+ }[], maxOutputSize: number, reqChrId: number, reqStart: number, reqEnd: number): Promise<{
21
+ starts: Int32Array<any>;
22
+ ends: Int32Array<any>;
23
+ scores: Float32Array<any>;
24
+ minScores: Float32Array<any>;
25
+ maxScores: Float32Array<any>;
26
+ }>;
17
27
  export type { BigWigFeatureArrays, SummaryFeatureArrays } from './types.ts';
package/esm/unzip.d.ts CHANGED
@@ -9,9 +9,19 @@ export declare function unzipBatch(data: Uint8Array, blocks: {
9
9
  export declare function decompressAndParseBigWigBlocks(data: Uint8Array, blocks: {
10
10
  offset: number;
11
11
  length: number;
12
- }[], maxOutputSize: number, reqStart: number, reqEnd: number): Promise<import("./wasm/inflate-wasm-inlined.js").BigWigFeatureArrays>;
12
+ }[], maxOutputSize: number, reqStart: number, reqEnd: number): Promise<{
13
+ starts: Int32Array<any>;
14
+ ends: Int32Array<any>;
15
+ scores: Float32Array<any>;
16
+ }>;
13
17
  export declare function decompressAndParseSummaryBlocks(data: Uint8Array, blocks: {
14
18
  offset: number;
15
19
  length: number;
16
- }[], maxOutputSize: number, reqChrId: number, reqStart: number, reqEnd: number): Promise<import("./wasm/inflate-wasm-inlined.js").SummaryFeatureArrays>;
20
+ }[], maxOutputSize: number, reqChrId: number, reqStart: number, reqEnd: number): Promise<{
21
+ starts: Int32Array<any>;
22
+ ends: Int32Array<any>;
23
+ scores: Float32Array<any>;
24
+ minScores: Float32Array<any>;
25
+ maxScores: Float32Array<any>;
26
+ }>;
17
27
  export type { BigWigFeatureArrays, SummaryFeatureArrays } from './types.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmod/bbi",
3
- "version": "9.0.6",
3
+ "version": "9.0.7",
4
4
  "description": "Parser for BigWig/BigBed files",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,49 +0,0 @@
1
- export function inflateRaw(
2
- input: Uint8Array,
3
- outputSize: number,
4
- ): Promise<Uint8Array>
5
- export function inflateRawUnknownSize(input: Uint8Array): Promise<Uint8Array>
6
-
7
- export interface BatchResult {
8
- data: Uint8Array
9
- offsets: number[]
10
- }
11
- export function inflateRawBatch(
12
- inputs: Uint8Array,
13
- inputOffsets: Uint32Array,
14
- inputLengths: Uint32Array,
15
- maxOutputSize: number,
16
- ): Promise<BatchResult>
17
-
18
- export interface BigWigFeatureArrays {
19
- starts: Int32Array
20
- ends: Int32Array
21
- scores: Float32Array
22
- }
23
-
24
- export interface SummaryFeatureArrays {
25
- starts: Int32Array
26
- ends: Int32Array
27
- scores: Float32Array
28
- minScores: Float32Array
29
- maxScores: Float32Array
30
- }
31
-
32
- export function decompressAndParseBigWig(
33
- inputs: Uint8Array,
34
- inputOffsets: Uint32Array,
35
- inputLengths: Uint32Array,
36
- maxBlockSize: number,
37
- reqStart: number,
38
- reqEnd: number,
39
- ): Promise<BigWigFeatureArrays>
40
-
41
- export function decompressAndParseSummary(
42
- inputs: Uint8Array,
43
- inputOffsets: Uint32Array,
44
- inputLengths: Uint32Array,
45
- maxBlockSize: number,
46
- reqChrId: number,
47
- reqStart: number,
48
- reqEnd: number,
49
- ): Promise<SummaryFeatureArrays>