@platforma-open/milaboratories.clonotype-clustering.model 2.5.1 → 2.6.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.
@@ -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.5.1 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.6.0 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,21 +11,21 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.js 3.42 KB
15
- ESM dist/index.js.map 8.21 KB
16
- ESM ⚡️ Build success in 113ms
17
- CJS dist/index.cjs 3.42 KB
18
- CJS dist/index.cjs.map 8.27 KB
19
- CJS ⚡️ Build success in 114ms
14
+ ESM dist/index.js 4.51 KB
15
+ ESM dist/index.js.map 10.87 KB
16
+ ESM ⚡️ Build success in 157ms
17
+ CJS dist/index.cjs 4.52 KB
18
+ CJS dist/index.cjs.map 10.94 KB
19
+ CJS ⚡️ Build success in 158ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2251ms
22
- DTS dist/index.d.cts 4.12 KB
23
- DTS dist/index.d.ts 4.12 KB
21
+ DTS ⚡️ Build success in 2353ms
22
+ DTS dist/index.d.cts 5.17 KB
23
+ DTS dist/index.d.ts 5.17 KB
24
24
  vite v6.3.5 building for production...
25
25
  transforming...
26
26
  ✓ 11 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 191.12 kB │ gzip: 37.52 kB │ map: 406.27 kB
30
- dist/bundle.js 204.19 kB │ gzip: 38.19 kB │ map: 407.89 kB
31
- ✓ built in 696ms
29
+ dist/bundle.js 192.45 kB │ gzip: 37.73 kB │ map: 408.53 kB
30
+ dist/bundle.js 205.60 kB │ gzip: 38.40 kB │ map: 410.16 kB
31
+ ✓ built in 721ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.clonotype-clustering.model
2
2
 
3
+ ## 2.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d536272: MSA for clusters
8
+
3
9
  ## 2.5.1
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -6228,7 +6228,8 @@
6228
6228
  normalizationDirection: null
6229
6229
  }
6230
6230
  }
6231
- }
6231
+ },
6232
+ alignmentModel: {}
6232
6233
  }).argsValid((ctx) => ctx.args.datasetRef !== void 0 && ctx.args.sequencesRef.length > 0).output(
6233
6234
  "datasetOptions",
6234
6235
  (ctx) => ctx.resultPool.getOptions(
@@ -6279,7 +6280,12 @@
6279
6280
  return ctx.resultPool.getCanonicalOptions(
6280
6281
  { main: ref },
6281
6282
  sequenceMatchers,
6282
- { ignoreMissingDomains: true }
6283
+ {
6284
+ ignoreMissingDomains: true,
6285
+ labelOps: {
6286
+ includeNativeLabel: true
6287
+ }
6288
+ }
6283
6289
  );
6284
6290
  }).output("isSingleCell", (ctx) => {
6285
6291
  if (ctx.args.datasetRef === void 0) return void 0;
@@ -6300,11 +6306,44 @@
6300
6306
  (_) => true,
6301
6307
  (_c = ctx.uiState) == null ? void 0 : _c.tableState
6302
6308
  );
6309
+ }).output("msaPf", (ctx) => {
6310
+ var _a, _b;
6311
+ const msaCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("msaPf")) == null ? void 0 : _b.getPColumns();
6312
+ if (!msaCols) return void 0;
6313
+ const datasetRef = ctx.args.datasetRef;
6314
+ if (datasetRef === void 0)
6315
+ return void 0;
6316
+ const sequencesRef = ctx.args.sequencesRef;
6317
+ if (sequencesRef.length === 0)
6318
+ return void 0;
6319
+ const seqCols = ctx.resultPool.getAnchoredPColumns(
6320
+ { main: datasetRef },
6321
+ sequencesRef.map((s2) => JSON.parse(s2))
6322
+ );
6323
+ if (seqCols === void 0)
6324
+ return void 0;
6325
+ return Dn(ctx, [...msaCols, ...seqCols]);
6326
+ }).output("linkerColumnId", (ctx) => {
6327
+ var _a, _b, _c;
6328
+ const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("msaPf")) == null ? void 0 : _b.getPColumns();
6329
+ if (!pCols) return void 0;
6330
+ return (_c = pCols.find((p2) => {
6331
+ var _a2;
6332
+ return ((_a2 = p2.spec.annotations) == null ? void 0 : _a2["pl7.app/isLinkerColumn"]) === "true";
6333
+ })) == null ? void 0 : _c.id;
6303
6334
  }).output("clusterAbundanceSpec", (ctx) => {
6304
6335
  var _a, _b;
6305
6336
  const spec = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("clusterAbundanceSpec")) == null ? void 0 : _b.getDataAsJson();
6306
6337
  if (spec === void 0) return void 0;
6307
6338
  return spec;
6339
+ }).output("inputSpec", (ctx) => {
6340
+ const anchor = ctx.args.datasetRef;
6341
+ if (anchor === void 0)
6342
+ return void 0;
6343
+ const anchorSpec = ctx.resultPool.getPColumnSpecByRef(anchor);
6344
+ if (anchorSpec === void 0)
6345
+ return void 0;
6346
+ return anchorSpec;
6308
6347
  }).output("clustersPf", (ctx) => {
6309
6348
  var _a, _b;
6310
6349
  const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("pf")) == null ? void 0 : _b.getPColumns();