@sjcrh/proteinpaint-server 2.30.3 → 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 +11 -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
package/cards/bedj.json DELETED
@@ -1,304 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "label": "JSON BED",
5
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/bedjDemoData.tar.gz",
6
- "urlparam": "?block=on&genome=hg19&bedjfile=JSON-BED,proteinpaint_demo/hg19/bedj/gencode.gz",
7
- "datapreview": [
8
- {
9
- "file": "proteinpaint_demo/hg19/bedj/gencode.gz",
10
- "message": "",
11
- "tabixQueryCoord": "chr17:7568451-7591984"
12
- }
13
- ],
14
- "runargs": {
15
- "parseurl": true,
16
- "block": true,
17
- "nobox": 1,
18
- "noheader": 1,
19
- "genome": "hg19",
20
- "nativetracks": "RefGene",
21
- "tracks": [{
22
- "type": "bedj",
23
- "name": "JSON BED gene track demo",
24
- "file": "proteinpaint_demo/hg19/bedj/gencode.gz",
25
- "stackheight": 16,
26
- "stackspace": 1,
27
- "color": "teal"
28
- }]
29
- },
30
- "testSpec": {
31
- "expected": {"image": 2 }
32
- }
33
- },
34
- {
35
- "label": "bigBed",
36
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/knownGene.bb",
37
- "urlparam": "?block=on&genome=hg19&bedjfile=bigBed demo,proteinpaint_demo/hg19/bedj/knownGene.bb",
38
- "runargs": {
39
- "block": true,
40
- "nobox": 1,
41
- "noheader": 1,
42
- "genome": "hg19",
43
- "nativetracks":"RefGene",
44
- "tracks":[
45
- {
46
- "type":"bedj",
47
- "name":"bigBed demo",
48
- "file":"proteinpaint_demo/hg19/bedj/knownGene.bb",
49
- "stackheight": 16,
50
- "stackspace": 1
51
- }
52
- ]
53
- },
54
- "buttons": [
55
- {
56
- "name": "bigBed file format",
57
- "link": "https://genome.ucsc.edu/goldenpath/help/bigBed.html"
58
- }
59
- ],
60
- "testSpec": {
61
- "expected": {"image": 1 }
62
- }
63
- },
64
- {
65
- "label": "BED3",
66
- "message": "The bare minimum for the JSON BED track is a three column tab-delimited file with the chromosome, start position, and stop position. Below is example of the barebone rendering of the data.",
67
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/bedj3DemoData.tar.gz",
68
- "urlparam": "?genome=hg19&block=1&bedjfile=BED3_Example,proteinpaint_demo/hg19/bedj/bed3.gz",
69
- "datapreview": [
70
- {
71
- "file": "proteinpaint_demo/hg19/bedj/bed3.gz",
72
- "tabixQueryCoord": "chr17:7449122-7706842"
73
- }
74
- ],
75
- "runargs": {
76
- "parseurl": true,
77
- "block": true,
78
- "nobox": 1,
79
- "noheader": 1,
80
- "genome": "hg19",
81
- "nativetracks": "RefGene",
82
- "tracks": [{
83
- "type": "bedj",
84
- "name": "BED3 demo",
85
- "file": "proteinpaint_demo/hg19/bedj/bed3.gz",
86
- "stackheight": 16,
87
- "stackspace": 1
88
- }]
89
- },
90
- "testSpec": {
91
- "expected": {"image": 2 }
92
- }
93
- },
94
- {
95
- "label": "Numeric Filter",
96
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/numericDenomData.tar.gz",
97
- "datapreview": [
98
- {
99
- "file": "proteinpaint_demo/hg19/bedj/value.gz",
100
- "tabixQueryCoord": "chr17:7449122-7706842"
101
- }
102
- ],
103
- "runargs": {
104
- "parseurl": true,
105
- "block": true,
106
- "nobox": 1,
107
- "noheader": 1,
108
- "genome": "hg19",
109
- "position":"chr17:7449122-7706842",
110
- "tracks":[{
111
- "type": "bedj",
112
- "name": "Numeric value demo",
113
- "file": "proteinpaint_demo/hg19/bedj/value.gz",
114
- "usevalue":{
115
- "key": "value",
116
- "dropBelowCutoff":1000
117
- },
118
- "stackheight": 16,
119
- "stackspace": 1
120
- }]
121
- },
122
- "testSpec": {
123
- "expected": {"image": 1 }
124
- }
125
- },
126
- {
127
- "label": "URL Linkout",
128
- "message": "Click on a SNP item to see details on the dbSNP website.",
129
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/bedjLinkoutDemoData.tar.gz",
130
- "datapreview": [
131
- {
132
- "file": "proteinpaint_demo/hg19/bedj/snp.gz",
133
- "tabixQueryCoord": "chr17:7579546-7579629"
134
- }
135
- ],
136
- "runargs": {
137
- "parseurl": true,
138
- "block": true,
139
- "nobox": 1,
140
- "noheader": 1,
141
- "genome": "hg19",
142
- "position":"chr17:7579546-7579629",
143
- "tracks":[
144
- {
145
- "type": "bedj",
146
- "name": "URL linkout demo",
147
- "file": "proteinpaint_demo/hg19/bedj/snp.gz",
148
- "itemurl_appendname": "https://www.ncbi.nlm.nih.gov/snp/",
149
- "stackheight": 16,
150
- "stackspace": 1
151
- }
152
- ]
153
- },
154
- "buttons": [
155
- {
156
- "name": "'URL Linkout' Documentation",
157
- "link": "https://docs.google.com/document/d/1GP81rer7YEb0RpIej2XXfx-k7SCAL1Od9At_oczf06A/edit#heading=h.eqwpaqaeo973"
158
- }
159
- ],
160
- "testSpec": {
161
- "expected": {"image": 1, "rect": 1}
162
- }
163
- },
164
- {
165
- "label": "Hide item names",
166
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/bedjDemoData.tar.gz",
167
- "message": "In this example, the gene name is removed. To add the gene name, navigate to the right-hand side of the track, and click on <span style='color:gray; text-decoration: none;'>CONFIG</span>. Uncheck 'Hide item names' and the gene symbol will reappear.",
168
- "datapreview": [
169
- {
170
- "file": "proteinpaint_demo/hg19/bedj/gencode.gz",
171
- "tabixQueryCoord": "chr17:7449122-7706842"
172
- }
173
- ],
174
- "runargs": {
175
- "parseurl": true,
176
- "block": true,
177
- "nobox": 1,
178
- "noheader": 1,
179
- "genome": "hg19",
180
- "tracks":[
181
- {
182
- "type":"bedj",
183
- "name":"Hide names demo",
184
- "file":"proteinpaint_demo/hg19/bedj/gencode.gz",
185
- "hideItemNames": true,
186
- "stackheight": 16,
187
- "stackspace": 1
188
- }
189
- ]
190
- },
191
- "buttons": [
192
- {
193
- "name": "'Hide item names' Documentation",
194
- "link": "https://docs.google.com/document/d/1GP81rer7YEb0RpIej2XXfx-k7SCAL1Od9At_oczf06A/edit#heading=h.eqwpaqaeo973"
195
- }
196
- ],
197
- "testSpec": {
198
- "expected": {"image": 1 }
199
- }
200
- },
201
- {
202
- "label": "Show item by name",
203
- "message": "To single out genes of interest, click <span style='color:gray; text-decoration: none;'>CONFIG</span> on the right-hand side of the track. Enter the isoform name(s) under 'Show items by names' and click <button>Submit</button>.<br><br>In this example, only MYC and PVT1 are shown. Delete one of the names and uncheck 'Show items by names' to see the differences in the track display.",
204
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bedj/bedjDemoData.tar.gz",
205
- "datapreview": [
206
- {
207
- "file": "proteinpaint_demo/hg19/bedj/gencode.gz",
208
- "tabixQueryCoord": "chr8:128538507-129301994"
209
- }
210
- ],
211
- "runargs": {
212
- "parseurl": true,
213
- "block": true,
214
- "nobox": 1,
215
- "noheader": 1,
216
- "genome": "hg19",
217
- "position":"chr8:128538507-129301994",
218
- "tracks":[
219
- {
220
- "type":"bedj",
221
- "name":"Show item names demo",
222
- "file":"proteinpaint_demo/hg19/bedj/gencode.gz",
223
- "filterByName": "ENST00000377970\nENST00000667305",
224
- "stackheight": 16,
225
- "stackspace": 1
226
- }
227
- ]
228
- },
229
- "buttons": [
230
- {
231
- "name": "'Show item by name' Documentation",
232
- "link": "https://docs.google.com/document/d/1GP81rer7YEb0RpIej2XXfx-k7SCAL1Od9At_oczf06A/edit#heading=h.eqwpaqaeo973"
233
- }
234
- ],
235
- "arrowButtons": [
236
- {
237
- "name": "Run track from URL",
238
- "message": "<p style='line-height:1.5em'>Genes of interest may be filtered in either the JSON BED, RefGene, or both. Use ensembl IDs separated by a space to filter a JSON BED track. For RefGene, use NCBI ids. See the examples below of how to use the <span style='font-family: courier; display: inline-block; color:gray;font-size:16px;'>bedjfilterbyname</span> URL parameter in each case.</p>",
239
- "links": [
240
- {
241
- "name": "JSON BED only",
242
- "link": "https://proteinpaint.stjude.org/?genome=hg19&block=1&position=chr8:128538507-129301994&bedjfilterbyname=ENST00000377970%20ENST00000667305&bedjfile=demo,proteinpaint_demo/hg19/bedj/gencode.gz"
243
- },
244
- {
245
- "name": "RefGene only",
246
- "link": "https://proteinpaint.stjude.org/?genome=hg19&block=1&position=chr8:128538507-129301994&bedjfilterbyname=NM_001354870%20NR_003367"
247
- },
248
- {
249
- "name": "JSON BED & RefGene",
250
- "link": "https://proteinpaint.stjude.org/?genome=hg19&block=1&position=chr8:128538507-129301994&bedjfilterbyname=ENST00000377970%20ENST00000667305%20NM_001354870%20NR_003367&bedjfile=demo,proteinpaint_demo/hg19/bedj/gencode.gz"
251
- }
252
- ]
253
- }
254
- ],
255
- "testSpec": {
256
- "expected": {"image": 1 }
257
- }
258
- },
259
- {
260
- "label": "Color exons",
261
- "message": "<p style='margin:5px'>In the bedj file JSON object, create an \"exon2color\" array with {\"color\": \"XX\", \"start\": ##, \"stop\": ##} objects. For instance, this array defines the exon colors for this example.</p><pre style='color:#656566'><code>\"exon2color\": [{\"color\": \"red\", \"start\": 129146958, \"stop\": 129147048},...]</code></pre></p>",
262
- "download": "https://proteinpaint.stjude.org/ppdemo/hg38/bedj/bedjExonColorDemoData.tar.gz",
263
- "urlparam": "?genome=hg38&block=1&position=chr6:128566421-129833285&bedjfile=Exon2Color_Example,proteinpaint_demo/hg38/bedj/bedjExonColorDemo.gz",
264
- "datapreview": [
265
- {
266
- "file": "proteinpaint_demo/hg38/bedj/bedjExonColorDemo.gz",
267
- "tabixQueryCoord": "chr6:128843664-129561504"
268
- }
269
- ],
270
- "runargs": {
271
- "block": true,
272
- "nobox": 1,
273
- "noheader": 1,
274
- "genome": "hg38",
275
- "position":"chr6:128843664-129561504",
276
- "tracks":[
277
- {
278
- "type":"bedj",
279
- "name":"Color exons demo",
280
- "file":"proteinpaint_demo/hg38/bedj/bedjExonColorDemo.gz",
281
- "stackheight": 16,
282
- "stackspace": 1
283
- }
284
- ]
285
- },
286
- "buttons": [
287
- {
288
- "name": "\"exon2color\" Documentation",
289
- "link": "https://docs.google.com/document/d/1GP81rer7YEb0RpIej2XXfx-k7SCAL1Od9At_oczf06A/edit#heading=h.j87g4brufqhu"
290
- }
291
- ],
292
- "testSpec": {
293
- "expected": {"image": 1 }
294
- }
295
- }
296
- ],
297
- "buttons": [
298
- {
299
- "name": "Documentation",
300
- "link": "https://docs.google.com/document/d/1GP81rer7YEb0RpIej2XXfx-k7SCAL1Od9At_oczf06A"
301
- }
302
- ],
303
- "ribbonMessage": "Now use bigBed files in ProteinPaint! Click on the bigBed example for more information."
304
- }
package/cards/bigwig.json DELETED
@@ -1,70 +0,0 @@
1
- {
2
- "ppcalls":[
3
- {
4
- "isUi": true,
5
- "runargs": {
6
- "noheader": true,
7
- "nobox": 1,
8
- "parseurl": false,
9
- "tkui": "bigwig"
10
- }
11
- },
12
- {
13
- "label": "BigWig",
14
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/bigwig/file.bw",
15
- "urlparam": "?block=on&genome=hg19&bigwigfile=BigWig_Demo,proteinpaint_demo/hg19/bigwig/file.bw",
16
- "runargs":{
17
- "parseurl": true,
18
- "block": true,
19
- "nobox": 1,
20
- "noheader": 1,
21
- "genome": "hg19",
22
- "nativetracks": "RefGene",
23
- "tracks": [{
24
- "type": "bigwig",
25
- "file": "proteinpaint_demo/hg19/bigwig/file.bw",
26
- "name": "BigWig Demo",
27
- "height": 100
28
- }]
29
- },
30
- "buttons": [
31
- {
32
- "name": "Documentation",
33
- "link": "https://docs.google.com/document/d/1ZnPZKSSajWyNISSLELMozKxrZHQbdxQkkkQFnxw6zTs/edit#heading=h.6spyog171fm9"
34
- }
35
- ],
36
- "testSpec": {
37
- "expected": {"image": 2 }
38
- }
39
- },
40
- {
41
- "label": "Stranded BigWig",
42
- "download": "https://proteinpaint.stjude.org/ppdemo/hg19/strandedbigwig/strandedbigwigDemoData.tar.gz",
43
- "runargs": {
44
- "parseurl": true,
45
- "block": true,
46
- "nobox": 1,
47
- "noheader": 1,
48
- "genome": "hg19",
49
- "position": "chr12:6643235-6647792",
50
- "nativetracks": "RefGene",
51
- "tracks": [{
52
- "name": "Stranded RNA-seq Demo",
53
- "strand1": { "file": "proteinpaint_demo/hg19/strandedbigwig/sense.bw" },
54
- "strand2": { "file": "proteinpaint_demo/hg19/strandedbigwig/antisense.bw", "normalize": { "dividefactor": -1 } },
55
- "type": "bigwigstranded"
56
- }]
57
- },
58
- "buttons": [
59
- {
60
- "name": "Documentation",
61
- "link": "https://docs.google.com/document/d/1ZnPZKSSajWyNISSLELMozKxrZHQbdxQkkkQFnxw6zTs/edit#heading=h.5m3g10g8lvol"
62
- }
63
- ],
64
- "testSpec": {
65
- "expected": {"image": 2 }
66
- }
67
- }
68
- ],
69
- "ribbonMessage": "<p style='display: inline-block;'>Create your own bigwig track! Use the new form on the <span style='color:#1575ad; font-weight:600;'>Add Your Data</span> tab to create your own bigwig track. Additional configuration options coming soon.</p>"
70
- }
@@ -1,39 +0,0 @@
1
- {
2
- "publications": [
3
- {
4
- "id": 1001,
5
- "title": "Exploring genomic alteration in pediatric cancer using ProteinPaint",
6
- "year": "2016",
7
- "journal": "Nature Genetics",
8
- "pmid": "26711108",
9
- "pmidURL": "https://pubmed.ncbi.nlm.nih.gov/26711108/",
10
- "doi": "https://doi.org/10.1038/ng.3466" },
11
- {
12
- "id": 1002,
13
- "title": "Exploration of Coding and Non-coding Variants in Cancer Using GenomePaint",
14
- "year": "2021",
15
- "journal": "Cancer Cell",
16
- "pmid": "33434514",
17
- "pmidURL": "https://pubmed.ncbi.nlm.nih.gov/33434514/",
18
- "doi": "https://doi.org/10.1016/j.ccell.2020.12.011"
19
- },
20
- {
21
- "id": 1003,
22
- "title": "CICERO: a versatile method for detecting complex and diverse driver fusions using cancer RNA sequencing data",
23
- "year": "2020",
24
- "journal": "Genome Biology",
25
- "pmid": "32466770",
26
- "pmidURL": "https://pubmed.ncbi.nlm.nih.gov/32466770/",
27
- "doi": "https://doi.org/10.1186/s13059-020-02043-x"
28
- },
29
- {
30
- "id": 1004,
31
- "title": "ppBAM: ProteinPaint BAM track for read alignment visualization and variant genotyping",
32
- "year": "2023",
33
- "journal": "Bioinformatics",
34
- "pmid": "37140547",
35
- "pmidURL": "https://ncbi.nlm.nih.gov/pmc/articles/PMC10182850/",
36
- "doi": "https://doi.org/10.1093/bioinformatics/btad300"
37
- }
38
- ]
39
- }
@@ -1,15 +0,0 @@
1
- {
2
- "button":{
3
- "name": "CIViC",
4
- "intro": "The <a href='https://civicdb.org' target='_blank'>Clinical Interpretation of Variants in Cancer</a> is \"an open-source platform for crowdsourced and expert-moderated cancer variant curation.\" Supported by the NIH, NHGRI, and NCI, CIViC is a richly curated oncology dataset <a href='https://pubmed.ncbi.nlm.nih.gov/28138153/' target='_blank'>(PMID: 28138153)</a>.",
5
- "searchBar": "gene",
6
- "availableGenomes": ["hg19"],
7
- "dsURLparam": "dataset=CIViC",
8
- "runargs": {
9
- "nobox": true,
10
- "parselurl": true,
11
- "noheader": true,
12
- "dataset": "CIViC"
13
- }
14
- }
15
- }