@sjcrh/proteinpaint-server 2.15.0 → 2.17.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/dataset/clinvar.hg19.js +53 -51
- package/dataset/clinvar.hg38.js +60 -58
- package/dataset/clinvar.js +49 -55
- package/genome/CriGri.js +23 -1853
- package/genome/danRer10.js +48 -1108
- package/genome/dm3.js +47 -60
- package/genome/dm6.js +48 -1916
- package/genome/galGal5.js +48 -23522
- package/genome/galGal6.js +48 -512
- package/genome/hg19.js +210 -304
- package/genome/hg38.js +108 -474
- package/genome/hg38.test.js +42 -409
- package/genome/hgvirus.js +21 -43
- package/genome/mm10.js +70 -135
- package/genome/mm9.js +82 -118
- package/genome/rn6.js +49 -1000
- package/package.json +10 -7
- package/server.js +1 -2
- package/shared/common.js +4 -0
- package/src/serverconfig.js +10 -2
- package/utils/lowess.R +9 -0
- package/server.js.LICENSE.txt +0 -1
package/shared/common.js
CHANGED
|
@@ -428,6 +428,10 @@ morigin[morigingermline] = {
|
|
|
428
428
|
'A constitutional variant found in a normal sample. The proportion is indicated by the span of the solid arc within the whole circle.',
|
|
429
429
|
legend: germlinelegend
|
|
430
430
|
}
|
|
431
|
+
|
|
432
|
+
morigin.germline = morigin[morigingermline]
|
|
433
|
+
morigin.somatic = morigin[moriginsomatic]
|
|
434
|
+
|
|
431
435
|
export const moriginrelapse = 'R'
|
|
432
436
|
morigin[moriginrelapse] = {
|
|
433
437
|
label: 'Relapse',
|
package/src/serverconfig.js
CHANGED
|
@@ -177,7 +177,7 @@ if (!serverconfig.features) {
|
|
|
177
177
|
serverconfig.features = {}
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
if (!serverconfig.backend_only) {
|
|
180
|
+
if (!serverconfig.backend_only && fs.existsSync(path.join(process.cwd(), './public'))) {
|
|
181
181
|
const defaultTarget = path.join(serverconfig.binpath, 'cards')
|
|
182
182
|
if (!serverconfig.cards) {
|
|
183
183
|
serverconfig.cards = {
|
|
@@ -187,9 +187,17 @@ if (!serverconfig.backend_only) {
|
|
|
187
187
|
}
|
|
188
188
|
const cards = serverconfig.cards
|
|
189
189
|
const cardsPath = path.join(process.cwd(), './public/', cards.path)
|
|
190
|
+
|
|
191
|
+
let cardsSymlink
|
|
192
|
+
try {
|
|
193
|
+
cardsSymlink = fs.lstatSync(cardsPath)
|
|
194
|
+
} catch (e) {
|
|
195
|
+
cardsSymlink = false
|
|
196
|
+
}
|
|
197
|
+
|
|
190
198
|
// only set up the symlink if the user doesn't already have a custom public/${cards.path} directory
|
|
191
199
|
// a user may also not specify cards.path for other reasons, in that case no need for symlink
|
|
192
|
-
if (cards.path && !fs.existsSync(cardsPath)) {
|
|
200
|
+
if (cards.path && !fs.existsSync(cardsPath) && !cardsSymlink) {
|
|
193
201
|
// a user may only wish to use a different public path for the cards
|
|
194
202
|
// and keep the defaulf of using server/cards
|
|
195
203
|
if (!cards.target) cards.target = defaultTarget
|
package/utils/lowess.R
ADDED
package/server.js.LICENSE.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//!!! DO NOT USE FOR geneVariant filterCTE constructor
|