@sjcrh/proteinpaint-front 2.191.4-0 → 2.192.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/bundles.tgz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-front",
3
- "version": "2.191.4-0",
3
+ "version": "2.192.0",
4
4
  "browser": "src/app.js",
5
5
  "main": "src/index.js",
6
6
  "bin": "init.js",
@@ -13,7 +13,7 @@
13
13
  "test:integration": "echo 'TODO: front integration tests'"
14
14
  },
15
15
  "devDependencies": {
16
- "@sjcrh/proteinpaint-client": "2.191.4-0",
16
+ "@sjcrh/proteinpaint-client": "2.192.0",
17
17
  "node-polyfill-webpack-plugin": "^4.0.0",
18
18
  "webpack": "^5.76.0",
19
19
  "webpack-cli": "^4.9.2",
@@ -1,28 +1,27 @@
1
1
  {
2
2
  "ppcalls": [
3
3
  {
4
- "label": "Whole Exome",
5
- "urlparam": "?genome=hg19&block=1&position=chr4:55589607-55590007&bamfile=Test%20WES%20BAM,proteinpaint_demo/hg19/bam/kit.exon8.del.bam",
4
+ "label": "Mutation",
5
+ "urlparam": "?genome=hg19&block=1&position=chr17:7577039-7577195&bamfile=Test,proteinpaint_demo/hg19/bam/tp53snv.bam",
6
6
  "runargs": {
7
7
  "parseurl": true,
8
8
  "block": true,
9
9
  "nobox": 1,
10
10
  "noheader": 1,
11
11
  "genome": "hg19",
12
- "position": "chr4:55589707-55589907",
12
+ "position": "chr17:7577039-7577195",
13
13
  "nativetracks": "RefGene",
14
14
  "tracks": [
15
15
  {
16
16
  "type": "bedj",
17
17
  "file": "anno/refGene.hg19.gz",
18
18
  "color": "#1D591D",
19
- "name": "RefGene",
20
- "filterByName": "NM_000222"
19
+ "name": "RefGene"
21
20
  },
22
21
  {
23
22
  "type": "bam",
24
- "file": "proteinpaint_demo/hg19/bam/kit.exon8.del.bam",
25
- "name": "WES KIT exon mutation demo"
23
+ "file": "proteinpaint_demo/hg19/bam/tp53snv.bam",
24
+ "name": "Mutation demo"
26
25
  }
27
26
  ]
28
27
  },
@@ -12,7 +12,8 @@
12
12
  "tracks": [
13
13
  {
14
14
  "type": "mds3",
15
- "dslabel": "GDC"
15
+ "dslabel": "GDC",
16
+ "snvIndelOnly":1
16
17
  }
17
18
  ]
18
19
  },
@@ -46,7 +47,8 @@
46
47
  }
47
48
  },
48
49
  {
49
- "label": "Custom Variants",
50
+ "label": "Custom Genomic Alterations",
51
+ "message":"This example display supported genomic alterations including mutation, CNV, SV, fusion, ITD.",
50
52
  "runargs": {
51
53
  "parseurl": true,
52
54
  "noheader": true,
@@ -56,7 +58,7 @@
56
58
  "tracks": [
57
59
  {
58
60
  "type": "mds3",
59
- "name": "custom snvindel and fusion",
61
+ "name": "custom alterations",
60
62
  "custom_variants": [
61
63
  {
62
64
  "chr": "chr9",
@@ -66,6 +68,7 @@
66
68
  "dt": 1,
67
69
  "ref": "G",
68
70
  "alt": "C",
71
+ "sample":"Sample 1",
69
72
  "info":{"Pathogenicity":"P"}
70
73
  },
71
74
  {
@@ -76,6 +79,7 @@
76
79
  "dt": 1,
77
80
  "ref": "G",
78
81
  "alt": "C",
82
+ "sample":"Sample 1",
79
83
  "info":{"Pathogenicity":"LP"}
80
84
  },
81
85
  {
@@ -103,79 +107,49 @@
103
107
  "dt": 5,
104
108
  "class": "SV",
105
109
  "sample": "SV Sample ID"
106
- }
107
- ]
108
- }
109
- ]
110
- },
111
- "testSpec": {
112
- "expected": {
113
- "circle": 2
114
- }
115
- },
116
- "buttons": [
117
- {
118
- "name": "Custom Data Documentation",
119
- "link": "https://github.com/stjude/proteinpaint/wiki/Lollipop-%E2%80%90-mds3#tkskewermodes"
120
- }
121
- ]
122
- },
123
- {
124
- "label": "Custom CNV and SNV Data",
125
- "runargs": {
126
- "nobox": 1,
127
- "noheader": 1,
128
- "genome": "hg38",
129
- "gene": "NM_000546",
130
- "tracks": [
131
- {
132
- "type": "mds3",
133
- "name": "Custom data",
134
- "custom_variants": [
110
+ },
135
111
  {
136
- "chr": "chr17",
137
- "start": 7670699,
138
- "stop": 7674000,
112
+ "chr": "chr9",
113
+ "start": 36923400,
114
+ "stop": 37015000,
139
115
  "dt": 4,
140
116
  "class": "CNV_amp",
117
+ "sample":"Sample 1",
141
118
  "value": 1
142
119
  },
143
120
  {
144
- "chr": "chr17",
145
- "start": 7670699,
146
- "stop": 7674000,
121
+ "chr": "chr9",
122
+ "start": 36923535,
123
+ "stop": 37034010,
147
124
  "dt": 4,
148
125
  "class": "CNV_loss",
126
+ "sample":"Sample 2",
149
127
  "value": -1
150
128
  },
151
129
  {
152
- "chr": "chr17",
153
- "start": 7670699,
154
- "stop": 7676000,
130
+ "chr": "chr9",
131
+ "start": 36923333,
132
+ "stop": 36923456,
155
133
  "dt": 4,
156
134
  "class": "CNV_loss",
157
- "value": -0.5
158
- },
159
- {
160
- "chr": "chr17",
161
- "pos": 7675993,
162
- "mname": "Custom snv 1",
163
- "class": "M",
164
- "dt": 1
135
+ "value": -0.5,
136
+ "sample":"Sample 3"
165
137
  },
166
138
  {
167
- "chr": "chr17",
168
- "pos": 7676520,
169
- "mname": "Custom snv 2",
170
- "class": "M",
171
- "dt": 1
139
+ "chr": "chr9",
140
+ "start": 37015191,
141
+ "stop": 37020799,
142
+ "dt": 6,
143
+ "class": "ITD",
144
+ "sample":"Sample 1"
172
145
  },
173
146
  {
174
- "chr": "chr17",
175
- "pos": 7676381,
176
- "mname": "Custom snv 3",
177
- "class": "M",
178
- "dt": 1
147
+ "chr": "chr9",
148
+ "start": 37015191,
149
+ "stop": 37020799,
150
+ "dt": 6,
151
+ "class": "ITD",
152
+ "sample":"Sample 2"
179
153
  }
180
154
  ]
181
155
  }
@@ -183,12 +157,18 @@
183
157
  },
184
158
  "testSpec": {
185
159
  "expected": {
186
- "rect": 3
160
+ "circle": 2
187
161
  }
188
- }
162
+ },
163
+ "buttons": [
164
+ {
165
+ "name": "Custom Data Documentation",
166
+ "link": "https://github.com/stjude/proteinpaint/wiki/Lollipop-%E2%80%90-mds3#tkcustom_variants"
167
+ }
168
+ ]
189
169
  },
190
170
  {
191
- "label": "Custom Data (Differential Phosphorylation)",
171
+ "label": "Differential Phosphorylation",
192
172
  "message": "Create custom datasets with the <span style='font-family: Courier; opacity: 0.6;'>mds3</span> track. In this example, custom data points with a specified value and custom mutatiion classes are shown. See the <span style='font-family: Courier; opacity: 0.6;'>skewerModes</span> attributes applied to the custom variants. <br><br><em>Tip:</em> Clicking on a class label in the legend shows and hides the mutation data.",
193
173
  "runargs": {
194
174
  "nobox": 1,
@@ -697,7 +677,7 @@
697
677
  ]
698
678
  },
699
679
  {
700
- "label": "Data Point Shapes (Differential Phosphorylation)",
680
+ "label": "Data Point Shapes",
701
681
  "message": "Add additional detail to lollipops by specifying the data point shape. Available shapes are described in <a href='https://github.com/stjude/proteinpaint/wiki/Lollipop-%E2%80%90-mds3#mshape' target='__blank' >the lollipop wiki page</a>. With the <span style='font-family: Courier; opacity: 0.6;'>.legend.customShapeLabels</span> object, the count and additional details appears in the legend for each shape.",
702
682
  "runargs": {
703
683
  "nobox": 1,
@@ -1253,21 +1233,22 @@
1253
1233
  }
1254
1234
  },
1255
1235
  {
1256
- "label": "Official dataset",
1257
- "urlparam": "?genome=hg19&gene=JAK2&dataset=Pediatric",
1236
+ "label": "Default zoom",
1237
+ "urlparam": "?genome=hg38&gene=ENST00000407796&mds3=GDC&aarange=4,50",
1258
1238
  "runargs": {
1259
- "gene": "jak2",
1239
+ "gene": "ENST00000407796",
1260
1240
  "nobox": 1,
1261
1241
  "noheader": 1,
1262
- "genome": "hg19",
1263
- "dataset": "Pediatric"
1242
+ "genome": "hg38",
1243
+ "aarange":[4,50],
1244
+ "tracks": [
1245
+ {
1246
+ "type": "mds3",
1247
+ "dslabel": "GDC",
1248
+ "snvIndelOnly":1
1249
+ }
1250
+ ]
1264
1251
  },
1265
- "buttons": [
1266
- {
1267
- "name": "Build an Official Dataset",
1268
- "link": "https://docs.google.com/document/d/1iY7x9PzAzLKzdABam_Tfg8h-kQ0oh2UyyKC0cP-9YWA/edit"
1269
- }
1270
- ],
1271
1252
  "testSpec": {
1272
1253
  "expected": {
1273
1254
  "circle": 10
@@ -1278,9 +1259,8 @@
1278
1259
  "buttons": [
1279
1260
  {
1280
1261
  "name": "Documentation",
1281
- "link": "https://docs.google.com/document/d/1D78jKVaQrWBhAjnfmCqj0Cirf6s-CdcbfPkuZQMT8Co/edit#heading=h.tyjcwt"
1262
+ "link": "https://github.com/stjude/proteinpaint/wiki/Lollipop-%E2%80%90-mds3"
1282
1263
  }
1283
1264
  ],
1284
- "ribbonMessage": "Please see our newest examples for displaying cnv data: GDC CNV and Custom CNV and SNV Data.",
1285
1265
  "citation_id": 1001
1286
1266
  }