@sjcrh/proteinpaint-server 2.120.1 → 2.121.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.
@@ -154,12 +154,6 @@ function termdb_test_default() {
154
154
  cnv: {
155
155
  file: "files/hg38/TermdbTest/TermdbTest_CNV_gene.gz"
156
156
  },
157
- /*
158
- on the fly cnv calls from gene body probe signals are no longer used
159
- probe2cnv:{
160
- file: 'files/hg19/pnet/PNET.probesignals.gz'
161
- }
162
- */
163
157
  singleSampleMutation: {
164
158
  src: "native",
165
159
  sample_id_key: "sample_id",
@@ -197,6 +191,10 @@ function termdb_test_default() {
197
191
  topVariablyExpressedGenes: {
198
192
  src: "native"
199
193
  },
194
+ rnaseqGeneCount: {
195
+ storage_type: "HDF5",
196
+ file: "files/hg38/TermdbTest/TermdbTest.geneCounts.h5"
197
+ },
200
198
  WSImages: {
201
199
  type: "H&E",
202
200
  imageBySampleFolder: "files/hg38/TermdbTest/wsimages"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.120.1",
3
+ "version": "2.121.0",
4
4
  "type": "module",
5
5
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
6
6
  "main": "src/app.js",
@@ -65,11 +65,11 @@
65
65
  "typescript": "^5.6.3"
66
66
  },
67
67
  "dependencies": {
68
- "@sjcrh/augen": "2.120.1",
68
+ "@sjcrh/augen": "2.121.0",
69
69
  "@sjcrh/proteinpaint-python": "2.118.0",
70
- "@sjcrh/proteinpaint-rust": "2.120.1",
71
- "@sjcrh/proteinpaint-shared": "2.120.1",
72
- "@sjcrh/proteinpaint-types": "2.119.0",
70
+ "@sjcrh/proteinpaint-rust": "2.121.0",
71
+ "@sjcrh/proteinpaint-shared": "2.121.0",
72
+ "@sjcrh/proteinpaint-types": "2.121.0",
73
73
  "@types/express": "^5.0.0",
74
74
  "@types/express-session": "^1.18.1",
75
75
  "better-sqlite3": "^9.4.1",
package/routes/burden.js CHANGED
@@ -15,7 +15,6 @@ const api = {
15
15
  }
16
16
  }
17
17
  };
18
- const MAXBOOTNUM = 20;
19
18
  function init({ genomes }) {
20
19
  return async function handler(req, res) {
21
20
  try {
@@ -124,9 +123,6 @@ async function compute95ci(result, cumburden) {
124
123
  }
125
124
  await cumburden.db.connection.prepare(`UPDATE estimates SET ci95=? WHERE id=?`).run(JSON.stringify(result.ci95), result.id);
126
125
  }
127
- function sortNumericValue(a, b) {
128
- return a < b ? -1 : 1;
129
- }
130
126
  function formatPayload(estimates) {
131
127
  const rawKeys = Object.keys(estimates["1"]).filter((k) => k.startsWith("["));
132
128
  const renamedKeys = rawKeys.map((k) => `burden${k.split(",")[0].slice(1)}`);
@@ -38,7 +38,7 @@ function init({ genomes }) {
38
38
  }
39
39
  };
40
40
  }
41
- function validate_query_getTopMutatedGenes(ds, genome) {
41
+ function validate_query_getTopMutatedGenes(ds) {
42
42
  const q = ds.queries?.topMutatedGenes;
43
43
  if (!q)
44
44
  return;
@@ -10,7 +10,6 @@ import { numericBins, parseValues } from "./termdb.boxplot.ts";
10
10
  import serverconfig from "../src/serverconfig.js";
11
11
  import run_R from "../src/run_R.js";
12
12
  import path from "path";
13
- const minSampleSize = 5;
14
13
  const api = {
15
14
  endpoint: "termdb/violin",
16
15
  methods: {