@sjcrh/proteinpaint-server 2.30.4 → 2.30.5

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.
Files changed (51) hide show
  1. package/genome/hg19.js +3 -3
  2. package/genome/hg38.js +3 -3
  3. package/genome/hg38.test.js +3 -3
  4. package/package.json +1 -1
  5. package/routes/burden.ts +5 -2
  6. package/routes/gdc.maf.ts +39 -26
  7. package/routes/gdc.mafBuild.ts +5 -5
  8. package/routes/hicdata.ts +113 -0
  9. package/routes/hicstat.ts +55 -0
  10. package/routes/termdb.categories.ts +30 -6
  11. package/routes/termdb.getpercentile.ts +117 -0
  12. package/routes/termdb.termbyid.ts +5 -1
  13. package/server.js +1 -1
  14. package/src/serverconfig.js +0 -19
  15. package/cards/2dmaf.json +0 -37
  16. package/cards/README.md +0 -15
  17. package/cards/ai.json +0 -37
  18. package/cards/arc.json +0 -34
  19. package/cards/ase.json +0 -99
  20. package/cards/bam.json +0 -264
  21. package/cards/bampile.json +0 -22
  22. package/cards/bedj.json +0 -304
  23. package/cards/bigwig.json +0 -70
  24. package/cards/citations.json +0 -39
  25. package/cards/civicBtn.json +0 -15
  26. package/cards/databrowser.json +0 -276
  27. package/cards/disco.json +0 -69
  28. package/cards/dnanexusTips.txt +0 -221
  29. package/cards/exprank.json +0 -64
  30. package/cards/featuredDatasets.json +0 -84
  31. package/cards/fusioneditor.json +0 -34
  32. package/cards/gdcbam.json +0 -23
  33. package/cards/genefusion.json +0 -57
  34. package/cards/genomepaint.json +0 -122
  35. package/cards/hic.json +0 -79
  36. package/cards/index.json +0 -327
  37. package/cards/junction.json +0 -98
  38. package/cards/lollipop.json +0 -327
  39. package/cards/maf.timeline.json +0 -19
  40. package/cards/mavb.json +0 -47
  41. package/cards/nciGdcBtn.json +0 -21
  42. package/cards/pcmBtn.json +0 -16
  43. package/cards/ped2Btn.json +0 -16
  44. package/cards/pgv.json +0 -59
  45. package/cards/scatterplot.json +0 -31
  46. package/cards/singlecell.json +0 -25
  47. package/cards/study.json +0 -34
  48. package/cards/survivorBtn.json +0 -18
  49. package/cards/svview.txt +0 -101
  50. package/cards/tkFeatures.json +0 -92
  51. package/cards/tklist.json +0 -27
@@ -198,25 +198,6 @@ if (!serverconfig.backend_only && fs.existsSync(path.join(process.cwd(), './publ
198
198
  path: 'cards'
199
199
  }
200
200
  }
201
- const cards = serverconfig.cards
202
- const cardsPath = path.join(process.cwd(), './public/', cards.path)
203
-
204
- let cardsSymlink
205
- try {
206
- cardsSymlink = fs.lstatSync(cardsPath)
207
- } catch (e) {
208
- cardsSymlink = false
209
- }
210
-
211
- // only set up the symlink if the user doesn't already have a custom public/${cards.path} directory
212
- // a user may also not specify cards.path for other reasons, in that case no need for symlink
213
- if (cards.path && !fs.existsSync(cardsPath) && !cardsSymlink) {
214
- // a user may only wish to use a different public path for the cards
215
- // and keep the defaulf of using server/cards
216
- if (!cards.target) cards.target = defaultTarget
217
-
218
- fs.symlink(serverconfig.cards.target, cardsPath, 'dir', console.error)
219
- }
220
201
  }
221
202
 
222
203
  if (fs.existsSync('./public/rev.txt')) {
package/cards/2dmaf.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "isUi": true,
5
- "runargs": {
6
- "genome": "hg19",
7
- "nobox": 1,
8
- "noheader": 1,
9
- "parseurl": false,
10
- "twodmaf": { "uionly": true }
11
- }
12
- },
13
- {
14
- "message": "Click on the sample label in the bar graph to display the 2DMAF plot. A new plot will appear for each clicked sample. Hide the plot by clicking on the bolded sample label.",
15
- "runargs": {
16
- "genome": "hg19",
17
- "nobox": 1,
18
- "noheader": 1,
19
- "twodmaf": {
20
- "genome": "hg19",
21
- "datasetname": "2DMAF Demo",
22
- "input": "source\tPatient\tType\tIndex\tMinD.D1_G1\tTinD.D1_G1\tdMAF\tMinN.D1_G1\tTinN.D1_G1\tMinD.R1_G1\tTinD.R1_G1\trMAF\tMinN.R1_G1\tTinN.R1_G1\tGENENAME\tCHR\tWU_HG19_POS\tCLASS\tAACHANGE\trefseq\tCALL_D1_G1\tPrimary_Purity.SNVIndel\tPrimary_Purity.CNVLOH\tnewComment.LOH\tCALL_R1_G1\tRelapse_Purity.SNVIndel\tRecurrent_purity.CNVLOH\tRelapse.CNV new comment\tlabelAs\tlabelIsVisible\tsymbol\tsymbollabel\nfiltered\tPABLDZ\tsnv\t3.140185548.C.T\t16\t41\t0.39\t0\t57\t0\t5\t0\t0\t5\tCLSTN2\t3\t140185548\tmissense\tA440V\tNM_022131\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\twildtype\t80%\t20%\tis low CNVLOH\tABCXYZ\t1\tstar\tXYZ-ABC\nfiltered\tPABLDZ\tsnv\t9.132630419.C.T\t14\t36\t0.39\t0\t80\t14\t36\t0.39\t0\t80\tUSP20\t9\t132630419\tmissense\tR276W\tNM_006676\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t11.32413565.C.G\t48\t52\t0.92\t0\t48\t20\t49\t0.41\t0\t48\tWT1\t11\t32413565\tmissense\tR445P\tNM_000378\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t14.102493608.A.G\t7\t30\t0.23\t1\t39\t0\t5\t0\t0\t5\tDYNC1H1\t14\t102493608\tmissense\tS2957G\tNM_001376\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t15.79587229.A.T\t10\t27\t0.37\t0\t43\t0\t5\t0\t0\t5\tANKRD34C\t15\t79587229\tmissense\tT535S\tNM_001146341\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t17.35988658.T.G\t4\t14\t0.29\t0\t22\t0\t5\t0\t0\t5\tDDX52\t17\t35988658\tmissense\tH269P\tNM_007010\tsomatic\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t2.102835470.G.A\t0\t5\t0\t0\t5\t6\t42\t0.14\t0\t42\tIL1RL2\t2\t102835470\tmissense\tR261Q\tNM_003854\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t2.224462734.C.T\t0\t5\t0\t0\t5\t15\t39\t0.38\t0\t55\tSCG2\t2\t224462734\tmissense\tG423R\tNM_003469\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t3.120998770.C.T\t0\t5\t0\t0\t5\t12\t26\t0.46\t0\t34\tSTXBP5L\t3\t120998770\tmissense\tR693W\tNM_014980\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t5.112178210.T.A\t0\t5\t0\t0\t5\t13\t45\t0.29\t0\t55\tAPC\t5\t112178210\tmissense\tS2307T\tNM_000038\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t5.167645836.G.A\t0\t5\t0\t0\t5\t5\t25\t0.2\t0\t22\tTENM2\t5\t167645836\tmissense\tR1638H\tNM_001122679\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t6.139266738.G.A\t0\t5\t0\t0\t5\t10\t33\t0.3\t0\t28\tREPS1\t6\t139266738\tmissense\tS125L\tNM_031922\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t8.131922042.C.T\t0\t5\t0\t0\t5\t9\t43\t0.21\t0\t26\tADCY8\t8\t131922042\tmissense\tG518S\tNM_001115\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPABLDZ\tsnv\t15.42985456.G.A\t0\t5\t0\t0\t5\t5\t37\t0.14\t0\t33\tSTARD9\t15\t42985456\tmissense\tV3894M\tNM_020759\twildtype\t90%\t90%, LOH 9p, 11p\tchr9p;chr11p\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t1.202914204.A.G\t5\t43\t0.12\t0\t49\t0\t5\t0\t0\t5\tADIPOR1\t1\t202914204\tmissense\tM175T\tNM_015999\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t2.100019386.A.G\t12\t31\t0.39\t0\t30\t15\t37\t0.41\t0\t30\tREV1\t2\t100019386\tmissense\tL1117P\tNM_016316\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t2.168099251.A.G\t18\t36\t0.5\t0\t40\t13\t41\t0.32\t0\t40\tXIRP2\t2\t168099251\tmissense\tE450G\tNM_152381\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t6.44248025.C.T\t25\t56\t0.45\t0\t49\t15\t43\t0.35\t0\t49\tTCTE1\t6\t44248025\tmissense\tG467S\tNM_182539\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t6.131913557.C.T\t12\t32\t0.38\t0\t35\t16\t32\t0.5\t0\t35\tMED23\t6\t131913557\tmissense\tA1148T\tNM_004830\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tindel\t16.85682289.-.C\t13\t25\t0.52\t2\t25\t0\t5\t0\t0\t5\tGSE1\t16\t85682289\tframeshift\tT120fs\tNM_014615\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPADZCG\tsnv\t8.133090175.T.A\t0\t5\t0\t0\t5\t5\t39\t0.13\t0\t36\tHHLA1\t8\t133090175\tmissense\tR323S\tNM_001145095\twildtype\t80%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAECCE\tsnv\t2.27290381.G.A\t0\t5\t0\t0\t5\t7\t38\t0.18\t0\t29\tAGBL5\t2\t27290381\tmissense\tR703_R704>RG\tNM_021831\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAECCE\tsnv\t19.52448853.A.T\t0\t5\t0\t0\t5\t6\t35\t0.17\t0\t40\tZNF613\t19\t52448853\tmissense\tT573S\tNM_001031721\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t50%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAECCE\tsnv\tX.123182926.C.A\t0\t5\t0\t0\t5\t9\t16\t0.56\t0\t14\tSTAG2\tX\t123182926\tnonsense\tY297*\tNM_001042749\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t50%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t1.43914293.T.C\t5\t45\t0.11\t0\t42\t0\t5\t0\t0\t5\tSZT2\t1\t43914293\tmissense\tL3270P\tNM_015284\tsomatic\t20%\t20%\tis low CNVLOH\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t1.231556975.CT.TC\t5\t26\t0.19\t0\t30\t0\t5\t0\t0\t5\tEGLN1\t1\t231556975\tmissense\tQ220R\tNM_022051\tsomatic\t20%\t20%\tis low CNVLOH\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tindel\t1.231556978.-.C\t5\t31\t0.16\t0\t36\t0\t5\t0\t0\t5\tEGLN1\t1\t231556978\tframeshift\tG219fs\tNM_022051\tsomatic\t20%\t20%\tis low CNVLOH\twildtype\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t8.104341924.A.G\t4\t34\t0.12\t1\t31\t9\t39\t0.23\t1\t31\tFZD6\t8\t104341924\tmissense\tE528G\tNM_003506\tsomatic\t20%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t11.6648669.A.C\t0\t5\t0\t0\t5\t6\t26\t0.23\t0\t21\tDCHS1\t11\t6648669\tmissense\tD1867E\tNM_003737\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t17.21117424.A.T\t0\t5\t0\t0\t5\t9\t22\t0.41\t0\t17\tTMEM11\t17\t21117424\tmissense\tS14R\tNM_003876\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEDKB\tsnv\t22.22057685.A.G\t0\t5\t0\t0\t5\t6\t39\t0.15\t0\t47\tYPEL1\t22\t22057685\tmissense\tN81_C82>HL\tNM_013313\twildtype\t20%\t20%\tis low CNVLOH\tsomatic\t80%\t20%\tis low CNVLOH\t\t\t\t\nfiltered\tPAEERJ\tsnv\t1.32207286.CA.AC\t7\t38\t0.18\t0\t23\t0\t5\t0\t0\t5\tBAI2\t1\t32207286\tmissense\tM542S\tNM_001294335\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t2.230456366.G.A\t9\t30\t0.3\t0\t34\t9\t25\t0.36\t0\t34\tDNER\t2\t230456366\tmissense\tT172M\tNM_139072\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t5.95761588.G.T\t4\t35\t0.11\t0\t47\t0\t5\t0\t0\t5\tPCSK1\t5\t95761588\tnonsense\tS111*\tNM_000439\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t6.31726618.G.A\t17\t41\t0.41\t0\t43\t19\t44\t0.43\t0\t43\tMSH5\t6\t31726618\tmissense\tR448H\tNM_025259\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t7.88963976.G.T\t23\t40\t0.58\t0\t38\t20\t38\t0.53\t0\t38\tZNF804B\t7\t88963976\tmissense\tE560D\tNM_181646\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t12.99093310.G.T\t6\t26\t0.23\t0\t15\t0\t5\t0\t0\t5\tAPAF1\t12\t99093310\tmissense\tG799V\tNM_013229\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t15.42985912.G.A\t23\t37\t0.62\t0\t34\t21\t41\t0.51\t0\t34\tSTARD9\t15\t42985912\tmissense\tG4046S\tNM_020759\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t15.63929754.T.C\t13\t28\t0.46\t0\t25\t12\t25\t0.48\t0\t25\tHERC1\t15\t63929754\tmissense\tQ4061R\tNM_003922\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t15.89010548.T.A\t6\t31\t0.19\t0\t23\t0\t5\t0\t0\t5\tMRPL46\t15\t89010548\tmissense\tR21W\tNM_022163\tsomatic\t80%\t20%\tis low CNVLOH\twildtype\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tindel\t11.32417912.C.-\t10\t26\t0.38\t1\t35\t9\t34\t0.26\t1\t35\tWT1\t11\t32417912\tframeshift\tR363fs\tNM_000378\tsomatic\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t12.124337792.C.T\t0\t5\t0\t0\t5\t14\t31\t0.45\t0\t36\tDNAH10\t12\t124337792\tmissense\tR1993W\tNM_207437\twildtype\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t15.58357751.A.G\t0\t5\t0\t0\t5\t5\t31\t0.16\t0\t25\tALDH1A2\t15\t58357751\tmissense\tL33P\tNM_003888\twildtype\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tsnv\t16.2203366.C.T\t0\t5\t0\t0\t5\t7\t36\t0.19\t0\t31\tRAB26\t16\t2203366\tmissense\tR239W\tNM_014353\twildtype\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEERJ\tindel\t11.32417941.-.A\t0\t5\t0\t0\t5\t13\t36\t0.36\t1\t38\tWT1\t11\t32417941\tframeshift\tR353fs\tNM_000378\twildtype\t80%\t20%\tis low CNVLOH\tsomatic\t90%\t90%, LOH 13\tchr13\t\t\t\t\nfiltered\tPAEFGR\tsnv\t1.18808931.C.T\t11\t25\t0.44\t0\t14\t6\t21\t0.29\t0\t14\tKLHDC7A\t1\t18808931\tmissense\tR486C\tNM_152375\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\t\t\t\t\nfiltered\tPAEFGR\tsnv\t1.75097485.A.G\t4\t21\t0.19\t0\t25\t0\t5\t0\t0\t5\tERICH3\t1\t75097485\tmissense\tI244T\tNM_001002912\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\twildtype\t60%\t60%\tchr16:15.5M-16.5M\t\t\t\t\nfiltered\tPAEFGR\tsnv\t1.184675840.A.C\t7\t49\t0.14\t0\t20\t0\t5\t0\t0\t5\tEDEM3\t1\t184675840\tmissense\tC714G\tNM_025191\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\twildtype\t60%\t60%\tchr16:15.5M-16.5M\t\t\t\t\nfiltered\tPAEFGR\tsnv\t1.184675843.G.T\t7\t44\t0.16\t0\t21\t0\t5\t0\t0\t5\tEDEM3\t1\t184675843\tmissense\tQ713K\tNM_025191\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\twildtype\t60%\t60%\tchr16:15.5M-16.5M\t\t\t\t\nfiltered\tPAEFGR\tsnv\t10.101120595.AC.TG\t11\t57\t0.19\t0\t31\t0\t5\t0\t0\t5\tCNNM1\t10\t101120595\tmissense\tD574V\tNM_020348\tsomatic\t60%\t60%\tchr16:15.5M-16.5M\twildtype\t60%\t60%\tchr16:15.5M-16.5M\t\t\t\t\t\t"
23
- }
24
- },
25
- "testSpec": {
26
- "timeout": 7000,
27
- "expected": { "td": 1, "svg": 1 }
28
- }
29
- }
30
- ],
31
- "buttons": [
32
- {
33
- "name": "Documentation",
34
- "link": "https://docs.google.com/document/d/1anyEDMcW1lTSf8399Li2G9r57V-Fqp2591WvoODY7n4/edit#heading=h.mne2ecmp9m13"
35
- }
36
- ]
37
- }
package/cards/README.md DELETED
@@ -1,15 +0,0 @@
1
- # App Drawer
2
-
3
- JSON and .txt for the elements appearing on the app drawer
4
-
5
- ## Documentation
6
-
7
- Documentation for index.json, sandbox JSONs, and other supporting files in ./server/cards is described in this [google document](https://docs.google.com/document/d/18sQH9KxG7wOUkx8kecptElEjwAuJl0xIJqDRbyhahA4/edit#heading=h.jwyqi1mhacps).
8
-
9
- ## Local Instances
10
-
11
- To run the app drawer, download demo files from hpc:~/tp/proteinpaint_demo to /local/path/data/tp. These files are also used for example htmls and http://localhost:3000/url.html links.
12
-
13
- ### Client code
14
-
15
- See `./client/appdrawer` for client side code
package/cards/ai.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/aicheck/aicheckDemoData.tar.gz",
5
- "urlparam": "?block=on&genome=hg19&position=chr9:36816442-37058548&aicheckfile=Demo%20sample%20tumor%20allelic%20imbalance,proteinpaint_demo/hg19/aicheck/file.gz",
6
- "datapreview": [
7
- {
8
- "file": "proteinpaint_demo/hg19/aicheck/file.gz",
9
- "tabixQueryCoord": "chr9:36816442-37058548"
10
- }
11
- ],
12
- "runargs": {
13
- "parseurl": true,
14
- "block": true,
15
- "nobox": 1,
16
- "noheader": 1,
17
- "genome": "hg19",
18
- "position": "chr9:36816442-37058548",
19
- "nativetracks": "RefGene",
20
- "tracks": [{
21
- "type": "aicheck",
22
- "file": "proteinpaint_demo/hg19/aicheck/file.gz",
23
- "name": "Demo sample tumor allelic imbalance"
24
- }]
25
- },
26
- "testSpec": {
27
- "expected": {"image": 2 }
28
- }
29
- }
30
- ],
31
- "buttons": [
32
- {
33
- "name": "Documentation",
34
- "link": "https://docs.google.com/document/d/1dZIOoLLbQE-kmZ31Ia_5cud30d9UeRodP4hRCSw3HII"
35
- }
36
- ]
37
- }
package/cards/arc.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "download":"https://proteinpaint.stjude.org/ppdemo/hg19/arc/arcDemoData.tar.gz",
5
- "urlparam": "?genome=hg19&block=1&position=chr11:7839893-9165172&arcfile=Arc Track,proteinpaint_demo/hg19/arc/mango.gz",
6
- "runargs": {
7
- "parseurl": true,
8
- "block": true,
9
- "nobox": 1,
10
- "noheader": 1,
11
- "genome": "hg19",
12
- "position": "chr11:7839893-9165172",
13
- "nativetracks": "RefGene",
14
- "tracks": [{
15
- "type": "hicstraw",
16
- "bedfile": "proteinpaint_demo/hg19/arc/mango.gz",
17
- "name": "Arc Track Demo",
18
- "percentile_max":99,
19
- "mode_arc": true,
20
- "mode_hm": false
21
- }]
22
- },
23
- "testSpec": {
24
- "expected": {"image": 2 }
25
- }
26
- }
27
- ],
28
- "buttons": [
29
- {
30
- "name": "Documentation",
31
- "link": "https://docs.google.com/document/d/1MQ0Z_AD5moDmaSx2tcn7DyVKGp49TS63pO0cceGL_Ns/edit#heading=h.8zct8j3cscak"
32
- }
33
- ]
34
- }
package/cards/ase.json DELETED
@@ -1,99 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "download":"https://proteinpaint.stjude.org/ppdemo/hg38/ase/aseDemoData.tar.gz",
5
- "runargs": {
6
- "parseurl": true,
7
- "block": true,
8
- "nobox": 1,
9
- "noheader": 1,
10
- "genome": "hg38",
11
- "position": "chr5:1252462-1297568",
12
- "nativetracks": "RefGene",
13
- "tracks": [{
14
- "type": "mdssvcnv",
15
- "name": "ASE Demo",
16
- "checkvcf": {
17
- "file": "proteinpaint_demo/hg38/ase/vcf.gz"
18
- },
19
- "checkrnabam": {
20
- "hetsnp_minbaf": 0.2,
21
- "hetsnp_maxbaf": 0.8,
22
- "samples": {
23
- "sample1": {
24
- "file": "proteinpaint_demo/hg38/ase/sample1.bam",
25
- "totalreads": 172048689,
26
- "pairedend": true
27
- },
28
- "sample2": {
29
- "file": "proteinpaint_demo/hg38/ase/sample2.bam",
30
- "totalreads": 151710239,
31
- "pairedend": true
32
- },
33
- "sample3": {
34
- "file": "proteinpaint_demo/hg38/ase/sample3.bam",
35
- "totalreads": 167864903,
36
- "pairedend": true
37
- },
38
- "sample4": {
39
- "file": "proteinpaint_demo/hg38/ase/sample4.bam",
40
- "totalreads": 153196442,
41
- "pairedend": true
42
- },
43
- "sample12": {
44
- "file": "proteinpaint_demo/hg38/ase/sample12.bam",
45
- "totalreads": 155650314,
46
- "pairedend": true
47
- },
48
- "sample5": {
49
- "file": "proteinpaint_demo/hg38/ase/sample5.bam",
50
- "totalreads": 144649042,
51
- "pairedend": true
52
- },
53
- "sample6": {
54
- "file": "proteinpaint_demo/hg38/ase/sample6.bam",
55
- "totalreads": 170516947,
56
- "pairedend": true
57
- },
58
- "sample7": {
59
- "file": "proteinpaint_demo/hg38/ase/sample7.bam",
60
- "totalreads": 167971047,
61
- "pairedend": true
62
- },
63
- "sample8": {
64
- "file": "proteinpaint_demo/hg38/ase/sample8.bam",
65
- "totalreads": 137990338,
66
- "pairedend": true
67
- },
68
- "sample9": {
69
- "file": "proteinpaint_demo/hg38/ase/sample9.bam",
70
- "totalreads": 150401722,
71
- "pairedend": true
72
- },
73
- "sample10": {
74
- "file": "proteinpaint_demo/hg38/ase/sample10.bam",
75
- "totalreads": 131681552,
76
- "pairedend": true
77
- },
78
- "sample11": {
79
- "file": "proteinpaint_demo/hg38/ase/sample11.bam",
80
- "totalreads": 150240544,
81
- "pairedend": true
82
- }
83
- }
84
- }
85
- }]
86
- },
87
- "testSpec": {
88
- "timeout": 7000,
89
- "expected": { "rect": 5, "line": 10 }
90
- }
91
- }
92
- ],
93
- "buttons": [
94
- {
95
- "name": "Documentation",
96
- "link": "https://docs.google.com/document/d/1owXUQuqw5hBHFERm0Ria7anKtpyoPBaZY_MCiXXf5wE/edit#heading=h.ly3x0hngycmz"
97
- }
98
- ]
99
- }
package/cards/bam.json DELETED
@@ -1,264 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "label": "Whole Exome",
5
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamDemoData.westkit.tar.gz",
6
- "urlparam": "?genome=hg19&block=1&position=chr4:55589607-55590007&bamfile=Test%20WES%20BAM,proteinpaint_demo/hg19/bam/kit.exon8.del.bam",
7
- "runargs": {
8
- "parseurl": true,
9
- "block": true,
10
- "nobox": 1,
11
- "noheader": 1,
12
- "genome": "hg19",
13
- "position": "chr4:55589707-55589907",
14
- "nativetracks": "RefGene",
15
- "tracks": [
16
- {
17
- "type": "bedj",
18
- "file": "anno/refGene.hg19.gz",
19
- "color": "#1D591D",
20
- "name": "RefGene",
21
- "filterByName": "NM_000222"
22
- },
23
- {
24
- "type": "bam",
25
- "file": "proteinpaint_demo/hg19/bam/kit.exon8.del.bam",
26
- "name": "WES KIT exon mutation demo"
27
- }
28
- ]
29
- },
30
- "testSpec": {
31
- "expected": { "image": 2 }
32
- }
33
- },
34
- {
35
- "label": "TP53 Deletion (deep sequencing)",
36
- "message": "For specific variants, use the <span style='font-family: courier; display: inline-block; opacity: 0.7;font-size:16px;'>variants</span> key. Enter a number that is <em>zero based</em> for the position (i.e. <span style='font-family: courier; display: inline-block; opacity: 0.7; font-size:16px;'>pos</span> value).",
37
- "urlparam": "?genome=hg19&block=1&bamfile=TP53_del,proteinpaint_demo/hg19/bam/TP53_del.bam&position=chr17:7578191-7578591&variant=chr17.7578383.AGCAGCGCTCATGGTGGGG.A&bedjfilterbyname=NM_000546",
38
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamTP53ExonDelDemo.tar.gz",
39
- "runargs": {
40
- "parseurl": true,
41
- "block": true,
42
- "nobox": 1,
43
- "noheader": 1,
44
- "genome": "hg19",
45
- "position": "chr17:7578191-7578591",
46
- "nativetracks": "RefGene",
47
- "tracks": [
48
- {
49
- "type": "bedj",
50
- "file": "anno/refGene.hg19.gz",
51
- "color": "#1D591D",
52
- "name": "RefGene",
53
- "filterByName": "NM_000546"
54
- },
55
- {
56
- "type": "bam",
57
- "file": "proteinpaint_demo/hg19/bam/TP53_del.bam",
58
- "name": "TP53 deletion demo",
59
- "variants": [
60
- {
61
- "chr": "chr17",
62
- "pos": 7578382,
63
- "ref": "AGCAGCGCTCATGGTGGGG",
64
- "alt": "A"
65
- }
66
- ]
67
- }
68
- ]
69
- },
70
- "testSpec": {
71
- "expected": { "image": 2 }
72
- }
73
- },
74
- {
75
- "label": "CBL Complex Mutation (exome-seq)",
76
- "urlparam": "?genome=hg19&block=1&bamfile=SJAML040555_D2%20WES,proteinpaint_demo/hg19/bam/wrong_indel.bam&position=chr4:55589768-55589770&variant=chr4.55589768.CTTACGA.AGGG",
77
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamExonMutDemo.tar.gz",
78
- "runargs": {
79
- "parseurl": true,
80
- "block": true,
81
- "nobox": 1,
82
- "noheader": 1,
83
- "genome": "hg19",
84
- "position": "chr4:55589768-55589770",
85
- "nativetracks": "RefGene",
86
- "tracks": [
87
- {
88
- "type": "bedj",
89
- "file": "anno/refGene.hg19.gz",
90
- "color": "#1D591D",
91
- "name": "RefGene",
92
- "filterByName": "NM_000222"
93
- },
94
- {
95
- "type": "bam",
96
- "file": "proteinpaint_demo/hg19/bam/wrong_indel.bam",
97
- "name": "CBL complex mutation",
98
- "variants": [
99
- {
100
- "chr": "chr4",
101
- "pos": 55589767,
102
- "ref": "CTTACGA",
103
- "alt": "AGGG"
104
- }
105
- ]
106
- }
107
- ]
108
- },
109
- "testSpec": {
110
- "expected": { "image": 2 }
111
- }
112
- },
113
- {
114
- "label": "SETD2 Splice Site Insertion (RNA-seq)",
115
- "urlparam": "?genome=hg19&block=1&position=chr3:47155260-47155500&hlregion=chr3:47155365-47155365&bamfile=splice_junction_variant,proteinpaint_demo/hg19/bam/splice_junction_variant.bam&variant=chr3.47155366.G.GGGGCT",
116
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamSpliceSiteDemo.tar.gz",
117
- "runargs": {
118
- "parseurl": true,
119
- "block": true,
120
- "nobox": 1,
121
- "noheader": 1,
122
- "genome": "hg19",
123
- "position": "chr3:47155260-47155500",
124
- "nativetracks": "RefGene",
125
- "tracks": [
126
- {
127
- "type": "bedj",
128
- "file": "anno/refGene.hg19.gz",
129
- "color": "#1D591D",
130
- "name": "RefGene",
131
- "filterByName": "NM_014159"
132
- },
133
- {
134
- "type": "bam",
135
- "file": "proteinpaint_demo/hg19/bam/splice_junction_variant.bam",
136
- "name": "SETD2 splice site 5-bp insertion",
137
- "variants": [
138
- {
139
- "chr": "chr3",
140
- "pos": 47155365,
141
- "ref": "G",
142
- "alt": "GGGGCT"
143
- }
144
- ]
145
- }
146
- ]
147
- },
148
- "testSpec": {
149
- "expected": { "image": 2 }
150
- }
151
- },
152
- {
153
- "label": "Multi-allelic Complex Mutations (RNA-seq)",
154
- "message": "In this example, two alternate alleles, CTGACAGGCT and GTTTC, for multi-allelic KIT exonic complex mutations in one tumor are shown. Continue scrolling down to see the second BAM track for GTTTC",
155
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamMAMutDemo.tar.gz",
156
- "runargs": {
157
- "parseurl": true,
158
- "block": true,
159
- "nobox": 1,
160
- "noheader": 1,
161
- "genome": "hg19",
162
- "position": "chr4:55589660-55589870",
163
- "nativetracks": "RefGene",
164
- "tracks": [
165
- {
166
- "type": "bedj",
167
- "file": "anno/refGene.hg19.gz",
168
- "color": "#1D591D",
169
- "name": "RefGene",
170
- "filterByName": "NM_000222"
171
- },
172
- {
173
- "type": "bam",
174
- "file": "proteinpaint_demo/hg19/bam/multi_allele.bam",
175
- "name": "CTGACAGGCT Alternate Allele",
176
- "variants": [
177
- {
178
- "chr": "chr4",
179
- "pos": 55589772,
180
- "ref": "GACAGGC",
181
- "alt": "CTGACAGGCT"
182
- }
183
- ]
184
- },
185
- {
186
- "type": "bedj",
187
- "file": "anno/refGene.hg19.gz",
188
- "color": "#1D591D",
189
- "name": "RefGene",
190
- "filterByName": "NM_000222"
191
- },
192
- {
193
- "type": "bam",
194
- "file": "proteinpaint_demo/hg19/bam/multi_allele.bam",
195
- "name": "GTTTC Alternate Allele",
196
- "variants": [
197
- {
198
- "chr": "chr4",
199
- "pos": 55589765,
200
- "ref": "GACTTACGACA",
201
- "alt": "GTTTC"
202
- }
203
- ]
204
- }
205
- ]
206
- },
207
- "testSpec": {
208
- "expected": { "image": 2 }
209
- },
210
- "buttons": [
211
- {
212
- "name": "Run 1st Allele Track from URL",
213
- "link": "https://proteinpaint.stjude.org/?genome=hg19&block=1&position=chr4:55589660-55589870&hlregion=chr4:55589768-55589768&bamfile=Alternate_allele1,proteinpaint_demo/hg19/bam/multi_allele.bam&variant=chr4.55589773.GACAGGC.CTGACAGGCT"
214
- },
215
- {
216
- "name": "Run 2nd Allele Track from URL",
217
- "link": "https://proteinpaint.stjude.org/?genome=hg19&block=1&position=chr4:55589660-55589870&hlregion=chr4:55589768-55589768&bamfile=Alternate_allele2,proteinpaint_demo/hg19/bam/multi_allele.bam&variant=chr4.55589766.GACTTACGACA.GTTTC"
218
- }
219
- ]
220
- },
221
- {
222
- "label": "CREBBP Focal Deletion",
223
- "urlparam": "?genome=hg19&block=1&bamfile=Focal deletion demo,proteinpaint_demo/hg19/bam/crebbp.bam&position=chr16:3800245-3803429",
224
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bam/bamExonicDelDemo.tar.gz",
225
- "runargs": {
226
- "parseurl": true,
227
- "block": true,
228
- "nobox": 1,
229
- "noheader": 1,
230
- "genome": "hg19",
231
- "position": "chr16:3800245-3803429",
232
- "nativetracks": "RefGene",
233
- "tracks": [
234
- {
235
- "type": "bedj",
236
- "file": "anno/refGene.hg19.gz",
237
- "color": "#1D591D",
238
- "name": "RefGene",
239
- "filterByName": "NM_004380"
240
- },
241
- {
242
- "type": "bam",
243
- "file": "proteinpaint_demo/hg19/bam/crebbp.bam",
244
- "name": "CREBBP focal deletion"
245
- }
246
- ]
247
- },
248
- "testSpec": {
249
- "expected": { "image": 2 }
250
- }
251
- }
252
- ],
253
- "buttons": [
254
- {
255
- "name": "Download BAM Slicing Script",
256
- "download": "https://proteinpaint.stjude.org/ppdemo/scripts/slice_bam4pp.py.gz"
257
- },
258
- {
259
- "name": "BAM track supporting information",
260
- "link": "https://proteinpaint.stjude.org/bam"
261
- }
262
- ],
263
- "citation_id": 1004
264
- }
@@ -1,22 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bampile/bampileDemoData.tar.gz",
5
- "urlparam": "?block=on&genome=hg19&position=chr12:25362480-25363264&bampilefile=Test%20Bampile,proteinpaint_demo/hg19/bampile/tk.gz",
6
- "runargs": {
7
- "parseurl": true,
8
- "block": true,
9
- "nobox": 1,
10
- "noheader": 1,
11
- "genome": "hg19",
12
- "position": "chr12:25362480-25363264",
13
- "nativetracks": "RefGene",
14
- "tracks": [{
15
- "type": "bampile",
16
- "file": "proteinpaint_demo/hg19/bampile/tk.gz",
17
- "name": "Bampile Demo"
18
- }]
19
- }
20
- }
21
- ]
22
- }