@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
@@ -1,276 +0,0 @@
1
- {
2
- "intro": "By uploading a dictionary in the Data Browser, one can explore the structure of their custom data. <br><br>Options to upload sample annotation and other data types are in development.",
3
- "ppcalls":[
4
- {
5
- "isUi": true,
6
- "runargs": {
7
- "noheader": true,
8
- "nobox": 1,
9
- "parseurl": false,
10
- "tkui": "databrowser"
11
- }
12
- },
13
- {
14
- "label": "Custom Data",
15
- "download":"https://proteinpaint.stjude.org/ppdemo/databrowser/dictionaryDemoData.tar.gz",
16
- "runargs": {
17
- "noheader": true,
18
- "nobox":true,
19
- "mass":{
20
- "state": {
21
- "vocab": {
22
- "terms": [
23
- {
24
- "id": "Demographic",
25
- "isleaf": false,
26
- "name": "Demographic",
27
- "parent_id": null
28
- },
29
- {
30
- "id": "Prognosis",
31
- "isleaf": false,
32
- "name": "Prognosis",
33
- "parent_id": null
34
- },
35
- {
36
- "groupsetting": {
37
- "disabled": true
38
- },
39
- "id": "Gender",
40
- "isleaf": true,
41
- "name": "Gender",
42
- "parent_id": "Demographic",
43
- "type": "categorical",
44
- "values": {
45
- "Female": {
46
- "color": "pink",
47
- "key": "Female",
48
- "label": "Female"
49
- },
50
- "Male": {
51
- "color": "lightblue",
52
- "key": "Male",
53
- "label": "Male"
54
- }
55
- }
56
- },
57
- {
58
- "bins": {
59
- "default": {
60
- "bin_size": 0.5,
61
- "first_bin": {
62
- "stop": 0.5
63
- },
64
- "rounding": ".1f",
65
- "startinclusive": true,
66
- "type": "regular-bin"
67
- }
68
- },
69
- "id": "Age",
70
- "isleaf": true,
71
- "parent_id": "Demographic",
72
- "name": "Age at Diagnosis",
73
- "type": "float",
74
- "values": {}
75
- },
76
- {
77
- "type": "categorical",
78
- "values": {
79
- "3-6 yrs": {
80
- "key": "3-6 yrs",
81
- "label": "3-6 yrs",
82
- "color": "green"
83
- },
84
- "<3 yrs": {
85
- "key": "<3 yrs",
86
- "label": "<3 yrs",
87
- "color": "orange"
88
- }
89
- },
90
- "isleaf": true,
91
- "id": "Age Group",
92
- "name": "Age Group",
93
- "parent_id": "Demographic",
94
- "groupsetting": {
95
- "disabled": true
96
- }
97
- },
98
- {
99
- "type": "categorical",
100
- "values": {
101
- "Dead ": {
102
- "key": "Dead ",
103
- "label": "Dead "
104
- },
105
- "Alive": {
106
- "key": "Alive",
107
- "label": "Alive"
108
- }
109
- },
110
- "isleaf": true,
111
- "id": "Alive/Dead",
112
- "name": "Alive/Dead",
113
- "parent_id": "Prognosis",
114
- "groupsetting": {
115
- "disabled": true
116
- }
117
- },
118
- {
119
- "groupsetting": {
120
- "disabled": true
121
- },
122
- "id": "Progresssive Disease",
123
- "isleaf": true,
124
- "name": "Progresssive Disease",
125
- "parent_id": "Prognosis",
126
- "type": "categorical",
127
- "values": {
128
- "No": {
129
- "color": "red",
130
- "key": "No",
131
- "label": "No"
132
- },
133
- "Yes": {
134
- "color": "green",
135
- "key": "Yes",
136
- "label": "Yes"
137
- }
138
- }
139
- }
140
- ],
141
- "sampleannotation": {
142
- "0": {
143
- "Age": 5,
144
- "Gender": "Male",
145
- "Alive/Dead": "Dead",
146
- "Age Group": "3-6 yrs",
147
- "Progresssive Disease": "No"
148
- },
149
- "1": {
150
- "Age": 2,
151
- "Gender": "Female",
152
- "Alive/Dead": "Alive",
153
- "Age Group": "<3 yrs",
154
- "Progresssive Disease": "Yes"
155
- },
156
- "2": {
157
- "Age": 4,
158
- "Gender": "Male",
159
- "Alive/Dead": "Alive",
160
- "Age Group": "3-6 yrs",
161
- "Progresssive Disease": "No"
162
- },
163
- "3": {
164
- "Age": 6,
165
- "Gender": "Male",
166
- "Alive/Dead": "Alive",
167
- "Age Group": "3-6 yrs",
168
- "Progresssive Disease": "Yes"
169
- },
170
- "4": {
171
- "Age": 5,
172
- "Gender": "Male",
173
- "Alive/Dead": "Alive",
174
- "Age Group": "3-6 yrs",
175
- "Progresssive Disease": "No"
176
- },
177
- "5": {
178
- "Age": 4,
179
- "Gender": "Male",
180
- "Alive/Dead": "Alive",
181
- "Age Group": "3-6 yrs",
182
- "Progresssive Disease": "No"
183
- },
184
- "6": {
185
- "Age": 2,
186
- "Gender": "Male",
187
- "Alive/Dead": "Alive",
188
- "Age Group": "<3 yrs",
189
- "Progresssive Disease": "No"
190
- },
191
- "7": {
192
- "Age": 4,
193
- "Gender": "Male",
194
- "Alive/Dead": "Dead",
195
- "Age Group": "3-6 yrs",
196
- "Progresssive Disease": "Yes"
197
- },
198
- "8": {
199
- "Age": 5,
200
- "Gender": "Female",
201
- "Alive/Dead": "Alive",
202
- "Age Group": "3-6 yrs",
203
- "Progresssive Disease": "Yes"
204
- },
205
- "9": {
206
- "Age": 5,
207
- "Gender": "Male",
208
- "Alive/Dead": "Alive",
209
- "Age Group": "3-6 yrs",
210
- "Progresssive Disease": "No"
211
- }
212
- }
213
- },
214
- "plots": [{
215
- "chartType": "dictionary"
216
- }]
217
- }
218
- }
219
- },
220
- "testSpec": {
221
- "timeout": 7000,
222
- "expected": { "button": 1 }
223
- }
224
- },
225
- {
226
- "label": "Survivorship Study",
227
- "runargs":{
228
- "noheader": true,
229
- "nobox":true,
230
- "termdb":{
231
- "state": {
232
- "vocab": {
233
- "dslabel": "SJLife",
234
- "genome": "hg38"
235
- }
236
- }
237
- }
238
- },
239
- "buttons": [
240
- {
241
- "name": "Survivorship Study Homepage",
242
- "link": "https://survivorship.stjude.cloud/"
243
- }
244
- ],
245
- "testSpec": {
246
- "timeout": 7000,
247
- "expected": { "input": 1, "button": 1 }
248
- }
249
- },
250
- {
251
- "label": "MSigDB",
252
- "runargs":{
253
- "noheader": true,
254
- "nobox":true,
255
- "termdb":{
256
- "state": {
257
- "vocab": {
258
- "dslabel": "msigdb",
259
- "genome": "hg38"
260
- }
261
- }
262
- }
263
- },
264
- "buttons": [
265
- {
266
- "name": "MSigDB Homepage",
267
- "link": "http://www.gsea-msigdb.org/gsea/msigdb/index.jsp"
268
- }
269
- ],
270
- "testSpec": {
271
- "timeout": 7000,
272
- "expected": { "input": 1, "button": 1 }
273
- }
274
- }
275
- ]
276
- }
package/cards/disco.json DELETED
@@ -1,69 +0,0 @@
1
- {
2
- "ribbonMessage": "We're excited to announce our newest app, the <b>Disco Plot!</b>",
3
- "ppcalls": [
4
- {
5
- "isUi": true,
6
- "runargs": {
7
- "noheader": true,
8
- "nobox": 1,
9
- "parseurl": false,
10
- "tkui": "disco"
11
- }
12
- },
13
- {
14
- "message": "In this plot, all chromosomes of the genome are arranged in a circle. Multiple rings along the circle indicates example data points of mutation, copy number change, and structural variation/fusion events. Gene labels are based on mutation and sv/fusion events.",
15
- "runargs": {
16
- "noheader": true,
17
- "nobox": true,
18
- "genome": "hg38",
19
- "disco": {
20
- "mlst": [
21
- {
22
- "alt": "T",
23
- "chr": "chr1",
24
- "class": "M",
25
- "dt": 1,
26
- "gene": "H3F3A",
27
- "isoform": "NM_002107",
28
- "mname": "K28M",
29
- "position": 226252135,
30
- "ref": "A"
31
- },
32
- {
33
- "dt": 4,
34
- "chr": "chr1",
35
- "start": 1,
36
- "stop": 100000000,
37
- "value": 0.5
38
- },
39
- {
40
- "dt": 4,
41
- "chr": "chr1",
42
- "start": 100000000,
43
- "stop": 200000000,
44
- "value": -0.5
45
- },
46
- {
47
- "chrA": "chr6",
48
- "posA": 3067605,
49
- "geneA": "MDC1",
50
- "chrB": "chr12",
51
- "posB": 61521661,
52
- "geneB": "KMT2D",
53
- "dt": 2,
54
- "strandA": "+",
55
- "strandB": "-"
56
- }
57
- ]
58
- }
59
- },
60
- "testSpec": {
61
- "button": 1,
62
- "expected": {
63
- "svg": 1,
64
- "g": 2
65
- }
66
- }
67
- }
68
- ]
69
- }
@@ -1,221 +0,0 @@
1
- <div style="line-height: 1.5em; padding: 2vw; font-family: 'Lucida Grande', sans-serif;">
2
-
3
- <h1 style="margin: 5% 0% 2% 2%;">Using DNAnexus and ProteinPaint</h1>
4
- <br>
5
- <p style="font-style:oblique; font-weight: 300; margin: 0vw 5vw; text-align:center; color: #403f3f;">
6
- DNAnexus provides a secure way to view unpublished/sensitive files and create tracks within ProteinPaint. Use the tips in the guide below for how to store files and create tracks in ProteinPaint.
7
- </p>
8
- <nav style="margin: 5% 0% 2% 2%;">
9
- <ul style="list-style-type: none;">
10
- <li><a href="#start">Getting Started</a></li>
11
- <li><a href="#upload">Upload Files</a></li>
12
- <li><a href="#link">Creating URLs</a></li>
13
- <li><a href="#track">Create a Track</a></li>
14
- <li><a href="#fileviewer">ProteinPaint Fileviewer</a></li>
15
- </ul>
16
- </nav>
17
- <div style="margin: 3vw;">
18
- <p style="margin-left: 2vw;">
19
- This tutorial is specific to ProteinPaint. For more detailed information about DNAnexus, please see the <a href="https://documentation.dnanexus.com/" target="_blank"> documentation</a>.
20
- </p>
21
- <br>
22
-
23
-
24
- <h2 id="start">Getting Started</h2>
25
- <p style="margin-left: 2vw;">
26
- <ul style="margin-left: 2vw;">
27
- <li>
28
- Create an account with DNAnexus. <a href="https://university.stjude.cloud/docs/genomics-platform/accounts-and-billing/" target="_blank">Follow the instructions from St. Jude Cloud</a>. Please direct questions regarding account set up to the St. Jude Cloud team (<a href="mailto:support@stjude.cloud?subject=Help Setting Up a DNAnexus Account">support@stjude.cloud</a>).
29
- </li>
30
- <li>
31
- Create a token from the <a href="https://platform.dnanexus.com/" target="_self">DNAnexus platform</a>. See this link on how to generate an authentication <a href="https://documentation.dnanexus.com/user/login-and-logout#authentication-tokens" target="_blank">token</a>. Be sure to save the token!
32
- </li>
33
- <li>
34
- Create a new project in DNAnexus with Azure (will not work with AWS funded projects). See the DNAnexus documentation <a href="https://documentation.dnanexus.com/getting-started/ui-quickstart#step-1-make-your-first-project" target="_blank">See the DNAnexus documentation</a> for instructions on how to set up a new project.
35
- </li>
36
- <li>
37
- Install <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;"> dx-toolkit</span> by following the <a href="https://documentation.dnanexus.com/downloads" target="_blank">DNAnexus documentation</a>.
38
- </li>
39
- </ul>
40
- </p>
41
- <p style="margin-left: 2vw;">
42
- <strong>Tip</strong>: Uploading files from the command line is faster than from the web browser. Instructions for both methods are provided.
43
- </p>
44
- <br>
45
- <br>
46
-
47
-
48
- <h2 id="upload">Upload Files</h2>
49
- <br>
50
-
51
- <h3>Command Line</h3>
52
- <p style="margin-left: 2vw;">
53
- All DNAnexus <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;"> dx-toolkit</span> commands begin with <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;"> dx</span>. A full list of commands to navigate through folders, copy files, etc. is available <a href="https://documentation.dnanexus.com/user/helpstrings-of-sdk-command-line-utilities" target="_blank">here</a>.
54
- <br>
55
- Login into DNAnexus with your authentication token:
56
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
57
- $ dx login --token MyAuthenicationToken
58
- </pre>
59
- </p>
60
- <p style="margin-left: 2vw;">
61
- A list of available projects will appear. Select the appropriate project from the number appearing in brackets:
62
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
63
- Available projects (CONTRIBUTE or higher):
64
- [0]My_ProteinPaint_Project
65
-
66
- Pick a numbered choice: 0
67
- </pre>
68
- </p>
69
- <p style="margin-left: 2vw;">
70
- Upload all files to the project with the <a href="https://documentation.dnanexus.com/user/helpstrings-of-sdk-command-line-utilities#upload" target="_blank">dx upload</a> command.
71
-
72
- Unzip the FileViewer and upload it to the project with this command:
73
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
74
- $ dx upload --type FileViewer 'ProteinPaint (VCF, bigWig, BEDj, junction, BAM)'
75
- </pre>
76
- </p>
77
- <br>
78
-
79
- <h3>DNAnexus Website</h3>
80
- <p style="margin-left: 2vw;">
81
- Uploading files through the DNAnexus website is easy but takes more time and processing power.
82
- <ul style="margin-left: 2vw;">
83
- <li>
84
- Select the appropriate project
85
- </li>
86
- <li>
87
- Click the Upload button. Upload all files and the FileViewer.
88
- </li>
89
- </ul>
90
- </p>
91
- <br>
92
- <br>
93
-
94
-
95
- <h2 id="link">Creating URLs</h2>
96
- <br>
97
-
98
- <h3>Command line</h3>
99
- <p style="margin-left: 2vw;">
100
- While logged into DNAnexus on the command line, create a URL with the <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;"> make_download_url</span> command. Specify the file and duration for the URL. The following is an example of a download URL command expiring in ten years. </p>
101
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
102
- dx make_download_url bigWigExample.bw -–duration 10y
103
- </pre>
104
- <p style="margin-left: 2vw;">
105
- See the <a href='https://documentation.dnanexus.com/user/helpstrings-of-sdk-command-line-utilities#make_download_url' target='Extend URL'>DNAnexus documentation</a> for more information.
106
- </p>
107
- <br>
108
-
109
- <h3>DNAnexus Website</h3>
110
- <p style="margin-left: 2vw;">
111
- Creating the URL from the DNAnexus website is easy but the URL expires in 24 hours. Login to the DNAnexus website and navigate to the appropriate project.
112
- <ul>
113
- <li>
114
- Find the file and hover the mouse on the far right of the screen until three dots appear.
115
- <img style="width: 50vw; margin: 1vw 2vw;" src="https://proteinpaint.stjude.org/ppdemo/images/dnanexus_3dot_menu.png">
116
- </li>
117
- <li>
118
- Select 'Download' from the menu
119
- </li>
120
- <li>
121
- A popup 'Download Data' window will appear. Hover over the file to see the 'Get URL' icon (&#128279) on the right. Click on the (&#128279) icon.
122
- </li>
123
- <li>
124
- The icon button will change to 'Copy URL'. Click to copy the link.
125
- <img style="width: 50vw; margin: 1vw 2vw;" src="https://proteinpaint.stjude.org/ppdemo/images/dnanexus_copy_URL.png">
126
- </li>
127
- </ul>
128
- Save the new URL. The next section describes how to create a ProteinPaint track using URL parameters.
129
- </p>
130
- <br>
131
- <br>
132
-
133
-
134
- <h2 id="track">Create a Track</h2>
135
- <p style="margin-left: 2vw;">
136
- Create a track from stringing together URL parameters described in this <a href='https://docs.google.com/document/d/1e0JVdcf1yQDZst3j77Xeoj_hDN72B6XZ1bo_cAd2rss/edit#heading=h.737pcqp1tlnt' target='URL param'>document</a>. <br><br>
137
-
138
- Start with "https://proteinpaint.stjude.org/?" and add the URL parameters separated by ampersands. In the example below, parameters for the genome, block, track name, and file URL to launch the genome browser. The final URL <a href="https://proteinpaint.stjude.org/?genome=hg19&block=1&bigwigurl=URL,https://proteinpaint.stjude.org/ppdemo/hg19/bigwig/file.bw">https://proteinpaint.stjude.org/?genome=hg19&block=1&bigwigurl=URL,https://proteinpaint.stjude.org/ppdemo/hg19/bigwig/file.bw</a>, launches this bigwig track.
139
- <img style="width: 50vw; margin: 1vw 2vw;" src="https://proteinpaint.stjude.org/ppdemo/images/bigwig_url_ex.png">
140
- </p>
141
- <br>
142
- <br>
143
-
144
-
145
- <h2 id="fileviewer">ProteinPaint FileViewer</h2>
146
- <p style="margin-left: 2vw;">The ProteinPaint FileViewer launches VCF, BigWig, JSON BED, Splice Junction, and BAM tracks from the DNAnexus website. Download the ProteinPaint FileViewer from the blue button below.</p>
147
- <div style="margin:0vw 2vw; display: flex; justify-content: center; padding: 10px;">
148
- <button type="button" onclick="window.open('https://proteinpaint.stjude.org/ppdemo/fileviewers/ProteinPaint%20(VCF,%20bigWig,%20BEDj,%20junction,%20BAM).gz','_self', 'download')" style="background-color: #d0e3ff; padding: 8px; border-radius: 3px; border: none; display: inline-block;margin: 0px 10px; font-size: 1.1em;">Download ProteinPaint FileViewer</button>
149
- </div>
150
- <br>
151
-
152
- <h3>Prepare Files</h3>
153
- <p style="margin-left: 2vw;">
154
- Ensure all files end with one of the following extensions:
155
- <ul style="margin-left: 2vw;">
156
- <li>
157
- <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;">.vcf.gz</span>
158
- </li>
159
- <li>
160
- <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;">.bw</span>
161
- </li>
162
- <li>
163
- <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;">.bedj.gz</span>
164
- </li>
165
- <li>
166
- <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;">.bam</span>
167
- </li>
168
- </ul>
169
- </p>
170
- <p style="margin-left: 2vw;">
171
- Index files for VCF, bedj, and BAM are <strong>required</strong>.
172
- <br><br>
173
- Create the index file for the VCF, bedj and BAM files with the following commands. These commands require samtools, bcftools, and htslib packages. Download these packages <a href="http://www.htslib.org/download/" target="_blank">here</a>.
174
- <br><br>
175
- </p>
176
- <div style="margin-left: 2vw;">
177
- <p style="margin-left: 2vw;">
178
- Index a VCF or bedj file with these commands:
179
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
180
- $ sort -k1,1 -k2,2n FILE > FILE.sorted
181
- $ bgzip FILE.sorted
182
- $ tabix -p bed FILE.sorted.gz
183
- </pre>
184
- </p>
185
- <p style="margin-left: 2vw;">
186
- Index a BAM file with the following command:
187
- <pre style="margin: 0vw 1vw; opacity: 0.6; white-space:pre-wrap;">
188
- $ samtools index bamFile.bam
189
- </pre>
190
- </div>
191
- <br>
192
-
193
- <h3>Launch FileViewer</h3>
194
- <p style="margin-left: 2vw;">
195
- Open the DNAnexus website and navigate to the project.
196
- <ul style="margin-left: 2vw;">
197
- <li>
198
- Click on the <span style="font-family:monospace; font-size:1.25em; opacity: 0.6;">ProteinPaint (VCF, bigWig, BEDj, junction, BAM)</span> FileViewer.
199
- </li>
200
- <li>
201
- Select which files to visualize in ProteinPaint. Ensure to include index files.
202
- <img style="width: 50vw; margin: 1vw 2vw;" src="https://proteinpaint.stjude.org/ppdemo/fileviewers/select_files.png">
203
- </li>
204
- <li>
205
- Click Launch Viewer in the bottom right of the window.
206
- </li>
207
- <li>
208
- The following interface will appear in the browser:
209
-
210
- <img style="width: 20vw; margin: 1vw 4vw; display: block;" src="https://proteinpaint.stjude.org/ppdemo/fileviewers/interface.png">
211
-
212
- Select the reference genome. Then, enter a genomic position or search for a gene to launch the visualization. ProteinPaint will launch in a new tab, like the example below.<br>
213
- <img style="width: 50vw; margin: 1vw 1vw;" src="https://proteinpaint.stjude.org/ppdemo/fileviewers/final.png">
214
- </li>
215
- </ul>
216
- </p>
217
- <p style="margin-left: 2vw;">
218
- <strong>Tip</strong>: The URL created from the FileViewer is only available while the tab is open. Once the tab is closed, repeat the steps in this section to launch the FileViewer again.
219
- </p>
220
- </div>
221
- </div>
@@ -1,64 +0,0 @@
1
- {
2
- "ppcalls": [
3
- {
4
- "message": "<p style='line-height: 1.5em;'>In this example, <em>three</em> expression rank tracks are shown: rank, FPKM, and TPM. The first track displays the expression rank on a scale of 0 - 100%. The second FPKM track and third TPM track display values on a scale from zero to the highest rounded value, 0 - 9,775 and 0 - 3.9, respectively. Hover over the grey bars to see the annotation for each gene.<br><br>To change between expression rank and FPKM/TPM: <ul><li>Click on <span style='color:gray; text-decoration: none;'>CONFIG</span> on the right-hand side of the track</li><li>Change the radio button to either 'FPKM'/'TPM' or 'Rank of a group of samples.'</li></ul></p>",
5
- "datapreview": [
6
- {
7
- "file": "proteinpaint_demo/hg38/exprank/TCGA.fpkm.gz",
8
- "tabixQueryCoord": "chr8:127340055-128243343"
9
- }
10
- ],
11
- "runargs": {
12
- "parseurl": true,
13
- "block": true,
14
- "nobox": 1,
15
- "noheader": 1,
16
- "genome": "hg38",
17
- "position": "chr8:127340055-128243343",
18
- "nativetracks": "RefGene",
19
- "tracks": [
20
- {
21
- "type": "mdsexpressionrank",
22
- "file": "proteinpaint_demo/hg38/exprank/TCGA.fpkm.gz",
23
- "name": "TCGA-GS-A9TQ expression rank",
24
- "sample": "TCGA-GS-A9TQ",
25
- "barheight": 100
26
- },
27
- {
28
- "type": "mdsexpressionrank",
29
- "file": "proteinpaint_demo/hg38/exprank/TCGA.fpkm.gz",
30
- "name": "TCGA-GS-A9TQ gene FPKM",
31
- "sample": "TCGA-GS-A9TQ",
32
- "showrank": false,
33
- "gecfg": {"datatype":"FPKM"},
34
- "barheight": 100,
35
- "toppad": 20
36
- },
37
- {
38
- "type": "mdsexpressionrank",
39
- "file": "proteinpaint_demo/hg38/exprank/cardiomyocyte.fpkm.tpm.gz",
40
- "name": "Cardiomyocyte RNAseq TPM",
41
- "sample": "cardiomyocyte-avg",
42
- "showrank": false,
43
- "gecfg": {"datatype": "TPM"},
44
- "barheight": 100,
45
- "toppad": 20
46
- }
47
- ]
48
- },
49
- "testSpec": {
50
- "expected": {"rect": 5 }
51
- }
52
- }
53
- ],
54
- "buttons": [
55
- {
56
- "name": "Documentation",
57
- "link": "https://docs.google.com/document/d/1owXUQuqw5hBHFERm0Ria7anKtpyoPBaZY_MCiXXf5wE/edit#heading=h.q9ccqxkrh30s"
58
- },
59
- {
60
- "name": "Download Track File",
61
- "link": "https://proteinpaint.stjude.org/ppdemo/hg38/exprank/exprankDemoData.tar.gz"
62
- }
63
- ]
64
- }