@platforma-open/milaboratories.clonotype-clustering.model 2.0.1 → 2.1.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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +41 -18
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +42 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +43 -17
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +45 -29
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/clonotype-clustering/clonotype-clustering/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.clonotype-clustering.model@2.0
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-clustering.model@2.1.0 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
14
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.91 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m6.79 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 132ms
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m2.91 KB[39m
|
|
18
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m6.86 KB[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 132ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 2186ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m3.98 KB[39m
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.98 KB[39m
|
|
24
24
|
[36mvite v6.2.3 [32mbuilding for production...[36m[39m
|
|
@@ -26,6 +26,6 @@ transforming...
|
|
|
26
26
|
[32m✓[39m 11 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m187.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m200.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m187.85 kB[22m[1m[22m[2m │ gzip: 36.75 kB[22m[2m │ map: 397.86 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m200.75 kB[22m[1m[22m[2m │ gzip: 37.38 kB[22m[2m │ map: 399.45 kB[22m
|
|
31
|
+
[32m✓ built in 761ms[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -6154,31 +6154,54 @@
|
|
|
6154
6154
|
}
|
|
6155
6155
|
}
|
|
6156
6156
|
}
|
|
6157
|
-
}).argsValid((ctx) => ctx.args.
|
|
6158
|
-
"
|
|
6157
|
+
}).argsValid((ctx) => ctx.args.datasetRef !== void 0 && ctx.args.sequenceRef !== void 0).output(
|
|
6158
|
+
"datasetOptions",
|
|
6159
6159
|
(ctx) => ctx.resultPool.getOptions(
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6160
|
+
[{
|
|
6161
|
+
axes: [
|
|
6162
|
+
{ name: "pl7.app/sampleId" },
|
|
6163
|
+
{ name: "pl7.app/vdj/clonotypeKey" }
|
|
6164
|
+
],
|
|
6165
|
+
annotations: { "pl7.app/isAnchor": "true" }
|
|
6166
|
+
}, {
|
|
6167
|
+
axes: [
|
|
6168
|
+
{ name: "pl7.app/sampleId" },
|
|
6169
|
+
{ name: "pl7.app/vdj/scClonotypeKey" }
|
|
6170
|
+
],
|
|
6171
|
+
annotations: { "pl7.app/isAnchor": "true" }
|
|
6172
|
+
}],
|
|
6173
|
+
{
|
|
6174
|
+
// suppress native label of the column (e.g. "Number of Reads") to show only the dataset label
|
|
6175
|
+
label: { includeNativeLabel: false }
|
|
6163
6176
|
}
|
|
6164
6177
|
)
|
|
6165
|
-
).output("
|
|
6166
|
-
const
|
|
6167
|
-
if (
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
"pl7.app/
|
|
6173
|
-
|
|
6174
|
-
|
|
6178
|
+
).output("sequenceOptions", (ctx) => {
|
|
6179
|
+
const ref = ctx.args.datasetRef;
|
|
6180
|
+
if (ref === void 0) return void 0;
|
|
6181
|
+
const sequenceMatchers = [];
|
|
6182
|
+
for (const feature of ["CDR3", "VDJRegion"]) {
|
|
6183
|
+
sequenceMatchers.push({
|
|
6184
|
+
axes: [{ anchor: "main", idx: 1 }],
|
|
6185
|
+
name: "pl7.app/vdj/sequence",
|
|
6186
|
+
domain: {
|
|
6187
|
+
"pl7.app/vdj/feature": feature,
|
|
6188
|
+
"pl7.app/vdj/scClonotypeChain": "A",
|
|
6189
|
+
"pl7.app/vdj/scClonotypeChain/index": "primary"
|
|
6190
|
+
}
|
|
6191
|
+
});
|
|
6192
|
+
}
|
|
6193
|
+
return ctx.resultPool.getCanonicalOptions(
|
|
6194
|
+
{ main: ref },
|
|
6195
|
+
sequenceMatchers,
|
|
6196
|
+
{ ignoreMissingDomains: true }
|
|
6197
|
+
);
|
|
6175
6198
|
}).output("isSingleCell", (ctx) => {
|
|
6176
|
-
if (ctx.args.
|
|
6177
|
-
const spec = ctx.resultPool.getPColumnSpecByRef(ctx.args.
|
|
6199
|
+
if (ctx.args.datasetRef === void 0) return void 0;
|
|
6200
|
+
const spec = ctx.resultPool.getPColumnSpecByRef(ctx.args.datasetRef);
|
|
6178
6201
|
if (spec === void 0) {
|
|
6179
6202
|
return void 0;
|
|
6180
6203
|
}
|
|
6181
|
-
return spec.axesSpec[
|
|
6204
|
+
return spec.axesSpec[1].name === "pl7.app/vdj/scClonotypeKey";
|
|
6182
6205
|
}).output("clustersTable", (ctx) => {
|
|
6183
6206
|
var _a, _b, _c;
|
|
6184
6207
|
const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("clustersPf")) == null ? void 0 : _b.getPColumns();
|