@gmod/bam 8.7.0 → 8.8.0
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/index.d.ts +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +4 -1
- package/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +8 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { default as CSI } from './csi.ts';
|
|
|
4
4
|
export { default as BamRecord } from './record.ts';
|
|
5
5
|
export { default as HtsgetFile } from './htsget.ts';
|
|
6
6
|
export { MISMATCH_DELETION, MISMATCH_HARD_CLIP, MISMATCH_INSERTION, MISMATCH_REF_SKIP, MISMATCH_SOFT_CLIP, MISMATCH_SUBST, forEachMismatchNumeric, } from './mismatches.ts';
|
|
7
|
-
export { packReference } from './reference.ts';
|
|
7
|
+
export { CHAR_CODE_FROM_NIBBLE, packReference, referenceNibble, } from './reference.ts';
|
|
8
8
|
export type { NumericCigar } from './record.ts';
|
|
9
9
|
export type { BamRecordClass, BamRecordLike, ReferenceSequenceFetcher, } from './bamFile.ts';
|
|
10
10
|
export type { Mismatch, MismatchCallback, MismatchOptions, } from './mismatches.ts';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.packReference = exports.forEachMismatchNumeric = exports.MISMATCH_SUBST = exports.MISMATCH_SOFT_CLIP = exports.MISMATCH_REF_SKIP = exports.MISMATCH_INSERTION = exports.MISMATCH_HARD_CLIP = exports.MISMATCH_DELETION = exports.HtsgetFile = exports.BamRecord = exports.CSI = exports.BamFile = exports.DEFAULT_MAX_CACHE_BYTES = exports.DEFAULT_CACHE_IDLE_TIMEOUT_MS = exports.BAI = void 0;
|
|
6
|
+
exports.referenceNibble = exports.packReference = exports.CHAR_CODE_FROM_NIBBLE = exports.forEachMismatchNumeric = exports.MISMATCH_SUBST = exports.MISMATCH_SOFT_CLIP = exports.MISMATCH_REF_SKIP = exports.MISMATCH_INSERTION = exports.MISMATCH_HARD_CLIP = exports.MISMATCH_DELETION = exports.HtsgetFile = exports.BamRecord = exports.CSI = exports.BamFile = exports.DEFAULT_MAX_CACHE_BYTES = exports.DEFAULT_CACHE_IDLE_TIMEOUT_MS = exports.BAI = void 0;
|
|
7
7
|
var bai_ts_1 = require("./bai.js");
|
|
8
8
|
Object.defineProperty(exports, "BAI", { enumerable: true, get: function () { return __importDefault(bai_ts_1).default; } });
|
|
9
9
|
var bamFile_ts_1 = require("./bamFile.js");
|
|
@@ -28,6 +28,11 @@ Object.defineProperty(exports, "MISMATCH_REF_SKIP", { enumerable: true, get: fun
|
|
|
28
28
|
Object.defineProperty(exports, "MISMATCH_SOFT_CLIP", { enumerable: true, get: function () { return mismatches_ts_1.MISMATCH_SOFT_CLIP; } });
|
|
29
29
|
Object.defineProperty(exports, "MISMATCH_SUBST", { enumerable: true, get: function () { return mismatches_ts_1.MISMATCH_SUBST; } });
|
|
30
30
|
Object.defineProperty(exports, "forEachMismatchNumeric", { enumerable: true, get: function () { return mismatches_ts_1.forEachMismatchNumeric; } });
|
|
31
|
+
// `referenceNibble` and `CHAR_CODE_FROM_NIBBLE` are what read a base back out
|
|
32
|
+
// of a packed region — a consumer that holds one otherwise has no way to see
|
|
33
|
+
// what is in it, which makes a binding untestable from the outside.
|
|
31
34
|
var reference_ts_1 = require("./reference.js");
|
|
35
|
+
Object.defineProperty(exports, "CHAR_CODE_FROM_NIBBLE", { enumerable: true, get: function () { return reference_ts_1.CHAR_CODE_FROM_NIBBLE; } });
|
|
32
36
|
Object.defineProperty(exports, "packReference", { enumerable: true, get: function () { return reference_ts_1.packReference; } });
|
|
37
|
+
Object.defineProperty(exports, "referenceNibble", { enumerable: true, get: function () { return reference_ts_1.referenceNibble; } });
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,mCAAyC;AAAhC,8GAAA,OAAO,OAAO;AACvB,2CAIqB;AAHnB,2HAAA,6BAA6B,OAAA;AAC7B,qHAAA,uBAAuB,OAAA;AACvB,sHAAA,OAAO,OAAW;AAEpB,mCAAyC;AAAhC,8GAAA,OAAO,OAAO;AACvB,yCAAkD;AAAzC,uHAAA,OAAO,OAAa;AAC7B,yCAAmD;AAA1C,wHAAA,OAAO,OAAc;AAE9B,0EAA0E;AAC1E,+EAA+E;AAC/E,2EAA2E;AAC3E,2BAA2B;AAC3B,iDAQwB;AAPtB,kHAAA,iBAAiB,OAAA;AACjB,mHAAA,kBAAkB,OAAA;AAClB,mHAAA,kBAAkB,OAAA;AAClB,kHAAA,iBAAiB,OAAA;AACjB,mHAAA,kBAAkB,OAAA;AAClB,+GAAA,cAAc,OAAA;AACd,uHAAA,sBAAsB,OAAA;AAExB,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,mCAAyC;AAAhC,8GAAA,OAAO,OAAO;AACvB,2CAIqB;AAHnB,2HAAA,6BAA6B,OAAA;AAC7B,qHAAA,uBAAuB,OAAA;AACvB,sHAAA,OAAO,OAAW;AAEpB,mCAAyC;AAAhC,8GAAA,OAAO,OAAO;AACvB,yCAAkD;AAAzC,uHAAA,OAAO,OAAa;AAC7B,yCAAmD;AAA1C,wHAAA,OAAO,OAAc;AAE9B,0EAA0E;AAC1E,+EAA+E;AAC/E,2EAA2E;AAC3E,2BAA2B;AAC3B,iDAQwB;AAPtB,kHAAA,iBAAiB,OAAA;AACjB,mHAAA,kBAAkB,OAAA;AAClB,mHAAA,kBAAkB,OAAA;AAClB,kHAAA,iBAAiB,OAAA;AACjB,mHAAA,kBAAkB,OAAA;AAClB,+GAAA,cAAc,OAAA;AACd,uHAAA,sBAAsB,OAAA;AAExB,8EAA8E;AAC9E,6EAA6E;AAC7E,oEAAoE;AACpE,+CAIuB;AAHrB,qHAAA,qBAAqB,OAAA;AACrB,6GAAA,aAAa,OAAA;AACb,+GAAA,eAAe,OAAA"}
|
package/esm/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { default as CSI } from './csi.ts';
|
|
|
4
4
|
export { default as BamRecord } from './record.ts';
|
|
5
5
|
export { default as HtsgetFile } from './htsget.ts';
|
|
6
6
|
export { MISMATCH_DELETION, MISMATCH_HARD_CLIP, MISMATCH_INSERTION, MISMATCH_REF_SKIP, MISMATCH_SOFT_CLIP, MISMATCH_SUBST, forEachMismatchNumeric, } from './mismatches.ts';
|
|
7
|
-
export { packReference } from './reference.ts';
|
|
7
|
+
export { CHAR_CODE_FROM_NIBBLE, packReference, referenceNibble, } from './reference.ts';
|
|
8
8
|
export type { NumericCigar } from './record.ts';
|
|
9
9
|
export type { BamRecordClass, BamRecordLike, ReferenceSequenceFetcher, } from './bamFile.ts';
|
|
10
10
|
export type { Mismatch, MismatchCallback, MismatchOptions, } from './mismatches.ts';
|
package/esm/index.js
CHANGED
|
@@ -8,5 +8,8 @@ export { default as HtsgetFile } from "./htsget.js";
|
|
|
8
8
|
// arrays without a record around them — a SAM parser, or a worker that was
|
|
9
9
|
// posted the typed arrays.
|
|
10
10
|
export { MISMATCH_DELETION, MISMATCH_HARD_CLIP, MISMATCH_INSERTION, MISMATCH_REF_SKIP, MISMATCH_SOFT_CLIP, MISMATCH_SUBST, forEachMismatchNumeric, } from "./mismatches.js";
|
|
11
|
-
|
|
11
|
+
// `referenceNibble` and `CHAR_CODE_FROM_NIBBLE` are what read a base back out
|
|
12
|
+
// of a packed region — a consumer that holds one otherwise has no way to see
|
|
13
|
+
// what is in it, which makes a binding untestable from the outside.
|
|
14
|
+
export { CHAR_CODE_FROM_NIBBLE, packReference, referenceNibble, } from "./reference.js";
|
|
12
15
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,OAAO,IAAI,OAAO,GACnB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,aAAa,CAAA;AAEnD,0EAA0E;AAC1E,+EAA+E;AAC/E,2EAA2E;AAC3E,2BAA2B;AAC3B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,GACvB,MAAM,iBAAiB,CAAA;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,OAAO,IAAI,OAAO,GACnB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,aAAa,CAAA;AAEnD,0EAA0E;AAC1E,+EAA+E;AAC/E,2EAA2E;AAC3E,2BAA2B;AAC3B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,GACvB,MAAM,iBAAiB,CAAA;AACxB,8EAA8E;AAC9E,6EAA6E;AAC7E,oEAAoE;AACpE,OAAO,EACL,qBAAqB,EACrB,aAAa,EACb,eAAe,GAChB,MAAM,gBAAgB,CAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -21,7 +21,14 @@ export {
|
|
|
21
21
|
MISMATCH_SUBST,
|
|
22
22
|
forEachMismatchNumeric,
|
|
23
23
|
} from './mismatches.ts'
|
|
24
|
-
|
|
24
|
+
// `referenceNibble` and `CHAR_CODE_FROM_NIBBLE` are what read a base back out
|
|
25
|
+
// of a packed region — a consumer that holds one otherwise has no way to see
|
|
26
|
+
// what is in it, which makes a binding untestable from the outside.
|
|
27
|
+
export {
|
|
28
|
+
CHAR_CODE_FROM_NIBBLE,
|
|
29
|
+
packReference,
|
|
30
|
+
referenceNibble,
|
|
31
|
+
} from './reference.ts'
|
|
25
32
|
|
|
26
33
|
export type { NumericCigar } from './record.ts'
|
|
27
34
|
export type {
|