@platforma-open/milaboratories.clonotype-clustering.model 2.12.1 → 2.13.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.12.1 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.13.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
- CJS dist/index.cjs 6.22 KB
15
- CJS dist/index.cjs.map 15.31 KB
16
- CJS ⚡️ Build success in 216ms
17
- ESM dist/index.js 6.23 KB
18
- ESM dist/index.js.map 15.21 KB
19
- ESM ⚡️ Build success in 216ms
14
+ CJS dist/index.cjs 6.49 KB
15
+ CJS dist/index.cjs.map 16.04 KB
16
+ CJS ⚡️ Build success in 185ms
17
+ ESM dist/index.js 6.48 KB
18
+ ESM dist/index.js.map 15.95 KB
19
+ ESM ⚡️ Build success in 184ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2845ms
22
- DTS dist/index.d.cts 5.81 KB
23
- DTS dist/index.d.ts 5.81 KB
21
+ DTS ⚡️ Build success in 2455ms
22
+ DTS dist/index.d.cts 5.85 KB
23
+ DTS dist/index.d.ts 5.85 KB
24
24
  vite v6.3.5 building for production...
25
25
  transforming...
26
26
  ✓ 68 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 241.84 kB │ gzip: 46.03 kB │ map: 515.03 kB
30
- dist/bundle.js 257.09 kB │ gzip: 46.76 kB │ map: 516.70 kB
31
- ✓ built in 1.03s
29
+ dist/bundle.js 242.11 kB │ gzip: 46.10 kB │ map: 515.68 kB
30
+ dist/bundle.js 257.37 kB │ gzip: 46.84 kB │ map: 517.35 kB
31
+ ✓ built in 947ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.clonotype-clustering.model
2
2
 
3
+ ## 2.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c722cfb: Included input sequence trimming option for clustering
8
+
3
9
  ## 2.12.1
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -7198,8 +7198,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7198
7198
  similarityType: "sequence-identity",
7199
7199
  coverageThreshold: 0.8,
7200
7200
  // default value matching MMseqs2 default
7201
- coverageMode: 0
7201
+ coverageMode: 0,
7202
7202
  // default to coverage of query and target
7203
+ trimStart: 0,
7204
+ // default to no trimming from start
7205
+ trimEnd: 0
7206
+ // default to no trimming from end
7203
7207
  }).withUiState({
7204
7208
  title: "Clonotype Clustering",
7205
7209
  tableState: createPlDataTableStateV2(),
@@ -7328,6 +7332,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7328
7332
  var _a, _b;
7329
7333
  const msaCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("msaPf")) == null ? void 0 : _b.getPColumns();
7330
7334
  if (!msaCols) return void 0;
7335
+ const trimEnabled = (ctx.args.trimStart ?? 0) > 0 || (ctx.args.trimEnd ?? 0) > 0;
7336
+ if (trimEnabled) {
7337
+ return createPFrameForGraphs(ctx, msaCols);
7338
+ }
7331
7339
  const datasetRef = ctx.args.datasetRef;
7332
7340
  if (datasetRef === void 0)
7333
7341
  return void 0;