@sjcrh/proteinpaint-server 2.120.2-0 → 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.
- package/package.json +5 -5
- package/routes/burden.js +0 -4
- package/routes/termdb.topMutatedGenes.js +1 -1
- package/routes/termdb.violin.js +0 -1
- package/src/app.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjcrh/proteinpaint-server",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
68
|
+
"@sjcrh/augen": "2.121.0",
|
|
69
69
|
"@sjcrh/proteinpaint-python": "2.118.0",
|
|
70
|
-
"@sjcrh/proteinpaint-rust": "2.
|
|
71
|
-
"@sjcrh/proteinpaint-shared": "2.
|
|
72
|
-
"@sjcrh/proteinpaint-types": "2.
|
|
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)}`);
|
package/routes/termdb.violin.js
CHANGED
|
@@ -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: {
|