@platforma-open/milaboratories.clonotype-clustering.model 2.6.1 → 2.7.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.6.1 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.7.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 4.51 KB
15
- ESM dist/index.js.map 10.87 KB
16
- ESM ⚡️ Build success in 136ms
17
- CJS dist/index.cjs 4.52 KB
18
- CJS dist/index.cjs.map 10.94 KB
19
- CJS ⚡️ Build success in 137ms
14
+ CJS dist/index.cjs 5.12 KB
15
+ CJS dist/index.cjs.map 12.50 KB
16
+ CJS ⚡️ Build success in 146ms
17
+ ESM dist/index.js 5.11 KB
18
+ ESM dist/index.js.map 12.44 KB
19
+ ESM ⚡️ Build success in 146ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2361ms
22
- DTS dist/index.d.cts 5.17 KB
23
- DTS dist/index.d.ts 5.17 KB
21
+ DTS ⚡️ Build success in 2370ms
22
+ DTS dist/index.d.cts 6.18 KB
23
+ DTS dist/index.d.ts 6.18 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 189.96 kB │ gzip: 37.07 kB │ map: 405.50 kB
30
- dist/bundle.js 202.95 kB │ gzip: 37.72 kB │ map: 407.12 kB
31
- ✓ built in 732ms
29
+ dist/bundle.js 190.65 kB │ gzip: 37.22 kB │ map: 406.91 kB
30
+ dist/bundle.js 203.69 kB │ gzip: 37.87 kB │ map: 408.52 kB
31
+ ✓ built in 737ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.clonotype-clustering.model
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e4317b5: Add cluster size histogram, remove advanced settings panel and fix plot defaults picking up data from previous block if there is another clonotype-clustering block.
8
+
3
9
  ## 2.6.1
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -6131,8 +6131,8 @@
6131
6131
  similarityType: "sequence-identity",
6132
6132
  coverageThreshold: 0.8,
6133
6133
  // default value matching MMseqs2 default
6134
- coverageMode: 1
6135
- // default to coverage of target
6134
+ coverageMode: 0
6135
+ // default to coverage of query and target
6136
6136
  }).withUiState({
6137
6137
  title: "Clonotype Clustering",
6138
6138
  tableState: {
@@ -6148,7 +6148,22 @@
6148
6148
  }
6149
6149
  }
6150
6150
  },
6151
- alignmentModel: {}
6151
+ alignmentModel: {},
6152
+ graphStateHistogram: {
6153
+ title: "Histogram",
6154
+ template: "bins",
6155
+ currentTab: null,
6156
+ layersSettings: {
6157
+ bins: { fillColor: "#99e099" }
6158
+ },
6159
+ axesSettings: {
6160
+ axisY: {
6161
+ axisLabelsAngle: 90,
6162
+ scale: "log"
6163
+ },
6164
+ other: { binsCount: 30 }
6165
+ }
6166
+ }
6152
6167
  }).argsValid((ctx) => ctx.args.datasetRef !== void 0 && ctx.args.sequencesRef.length > 0).output(
6153
6168
  "datasetOptions",
6154
6169
  (ctx) => ctx.resultPool.getOptions(
@@ -6270,6 +6285,18 @@
6270
6285
  return void 0;
6271
6286
  }
6272
6287
  return Rn(ctx, pCols);
6288
+ }).output("clustersPfPcols", (ctx) => {
6289
+ var _a, _b;
6290
+ const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("pf")) == null ? void 0 : _b.getPColumns();
6291
+ if (pCols === void 0) {
6292
+ return void 0;
6293
+ }
6294
+ return pCols.map(
6295
+ (c2) => ({
6296
+ columnId: c2.id,
6297
+ spec: c2.spec
6298
+ })
6299
+ );
6273
6300
  }).output("isRunning", (ctx) => {
6274
6301
  var _a;
6275
6302
  return ((_a = ctx.outputs) == null ? void 0 : _a.getIsReadyOrError()) === false;
@@ -6278,7 +6305,8 @@
6278
6305
  return ((_a = ctx.uiState) == null ? void 0 : _a.title) ?? "Clonotype Clustering";
6279
6306
  }).sections((_ctx) => [
6280
6307
  { type: "link", href: "/", label: "Main" },
6281
- { type: "link", href: "/bubble", label: "Clusters Plot" }
6308
+ { type: "link", href: "/bubble", label: "Clusters Plot" },
6309
+ { type: "link", href: "/histogram", label: "Cluster Size Histogram" }
6282
6310
  ]).done();
6283
6311
  exports2.model = model;
6284
6312
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });