gramene-search 1.4.0 → 1.4.2
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/.parcel-cache/4987902b3f9787cc-BundleGraph-0 +0 -0
- package/.parcel-cache/70f1f7555dda250d-AssetGraph-0 +0 -0
- package/.parcel-cache/7b8e4611c0f03524-AssetGraph-0 +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/requestGraph-369948a06d23ec44-0 +0 -0
- package/.parcel-cache/requestGraph-nodes-0-369948a06d23ec44-0 +0 -0
- package/.parcel-cache/snapshot-369948a06d23ec44.txt +2 -2
- package/dist/index.js +52 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/GeneList.js +6 -6
- package/src/components/results/details/VEP.js +18 -11
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
59112323
|
|
2
|
+
1711893581240648000
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,6 @@ var $gXNCa$lodashget = require("lodash/get");
|
|
|
21
21
|
var $gXNCa$lodashisEqual = require("lodash/isEqual");
|
|
22
22
|
var $gXNCa$flattonested = require("flat-to-nested");
|
|
23
23
|
var $gXNCa$reactsimpletreemenu = require("react-simple-tree-menu");
|
|
24
|
-
require("console");
|
|
25
24
|
var $gXNCa$aggridreact = require("ag-grid-react");
|
|
26
25
|
require("ag-grid-community/styles/ag-grid.css");
|
|
27
26
|
require("ag-grid-community/styles/ag-theme-quartz.css");
|
|
@@ -3222,7 +3221,6 @@ var $54c74a4689d5a778$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.conn
|
|
|
3222
3221
|
|
|
3223
3222
|
|
|
3224
3223
|
|
|
3225
|
-
|
|
3226
3224
|
const $283508ffcf8a47c4$var$metaRenderer = (params)=>{
|
|
3227
3225
|
if (params.value.field === "germplasm") {
|
|
3228
3226
|
if (params.value.germplasm_dbid) return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("a", {
|
|
@@ -3261,9 +3259,10 @@ const $283508ffcf8a47c4$var$metaRenderer = (params)=>{
|
|
|
3261
3259
|
currentURL.searchParams.set("fq_field", `VEP__merged__${$283508ffcf8a47c4$var$study_info[params.value.pop_id].type}__attr_ss`);
|
|
3262
3260
|
currentURL.searchParams.set("fq_value", params.value.ens_id);
|
|
3263
3261
|
currentURL.searchParams.set("name", params.value.ens_id);
|
|
3264
|
-
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)(
|
|
3262
|
+
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Button), {
|
|
3263
|
+
size: "sm",
|
|
3265
3264
|
href: currentURL.toString(),
|
|
3266
|
-
children:
|
|
3265
|
+
children: "Search"
|
|
3267
3266
|
});
|
|
3268
3267
|
}
|
|
3269
3268
|
return params.value.label;
|
|
@@ -3302,27 +3301,32 @@ const $283508ffcf8a47c4$var$Detail = (props)=>{
|
|
|
3302
3301
|
let accessionTable = [];
|
|
3303
3302
|
let tableFields = [
|
|
3304
3303
|
{
|
|
3305
|
-
field: "
|
|
3304
|
+
field: "Order Germplasm",
|
|
3306
3305
|
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3307
3306
|
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3308
3307
|
},
|
|
3309
3308
|
{
|
|
3310
|
-
field: "
|
|
3309
|
+
field: "Synonyms",
|
|
3311
3310
|
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3312
3311
|
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3313
3312
|
},
|
|
3314
3313
|
{
|
|
3315
|
-
field: "
|
|
3314
|
+
field: "Study/Population",
|
|
3315
|
+
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3316
|
+
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3317
|
+
},
|
|
3318
|
+
{
|
|
3319
|
+
field: "VEP consequence",
|
|
3316
3320
|
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3317
3321
|
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3318
3322
|
},
|
|
3319
3323
|
{
|
|
3320
|
-
field: "
|
|
3324
|
+
field: "Allele Status",
|
|
3321
3325
|
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3322
3326
|
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3323
3327
|
},
|
|
3324
3328
|
{
|
|
3325
|
-
field: "
|
|
3329
|
+
field: "All LOF Genes",
|
|
3326
3330
|
cellRenderer: $283508ffcf8a47c4$var$metaRenderer,
|
|
3327
3331
|
comparator: $283508ffcf8a47c4$var$sortByLabel
|
|
3328
3332
|
}
|
|
@@ -3342,16 +3346,19 @@ const $283508ffcf8a47c4$var$Detail = (props)=>{
|
|
|
3342
3346
|
"Allele Status": {
|
|
3343
3347
|
label: parts[2] === "het" ? "heterozygous" : "homozygous"
|
|
3344
3348
|
},
|
|
3345
|
-
"Germplasm": {
|
|
3349
|
+
"Order Germplasm": {
|
|
3346
3350
|
field: "germplasm",
|
|
3347
3351
|
gene_id: props.searchResult.id,
|
|
3348
3352
|
label: germplasm.pub_id,
|
|
3349
3353
|
...germplasm
|
|
3350
3354
|
},
|
|
3351
|
-
"
|
|
3355
|
+
"All LOF Genes": {
|
|
3352
3356
|
field: "search",
|
|
3353
3357
|
label: germplasm.ens_id,
|
|
3354
3358
|
...germplasm
|
|
3359
|
+
},
|
|
3360
|
+
"Synonyms": {
|
|
3361
|
+
label: germplasm.ens_id
|
|
3355
3362
|
}
|
|
3356
3363
|
};
|
|
3357
3364
|
accessionTable.push(accInfo);
|
|
@@ -3365,16 +3372,34 @@ const $283508ffcf8a47c4$var$Detail = (props)=>{
|
|
|
3365
3372
|
filter: true
|
|
3366
3373
|
};
|
|
3367
3374
|
}, []);
|
|
3368
|
-
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3375
|
+
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
3376
|
+
children: [
|
|
3377
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("h5", {
|
|
3378
|
+
children: "Predicted loss-of-function alleles were detected in these germplasm."
|
|
3379
|
+
}),
|
|
3380
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
3381
|
+
children: [
|
|
3382
|
+
"Explore other variants within this gene in the ",
|
|
3383
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("a", {
|
|
3384
|
+
target: "_blank",
|
|
3385
|
+
href: `${props.configuration.ensemblURL}/${gene.system_name}/Gene/Variation_Gene/Image?db=core;g=${props.searchResult.id}`,
|
|
3386
|
+
children: "Variant image"
|
|
3387
|
+
}),
|
|
3388
|
+
" page in the Ensembl genome browser."
|
|
3389
|
+
]
|
|
3390
|
+
}),
|
|
3391
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("div", {
|
|
3392
|
+
className: "ag-theme-quartz",
|
|
3393
|
+
style: {
|
|
3394
|
+
height: `${44 * (accessionTable.length + 2)}px`
|
|
3395
|
+
},
|
|
3396
|
+
children: /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$aggridreact.AgGridReact), {
|
|
3397
|
+
rowData: accessionTable,
|
|
3398
|
+
columnDefs: tableFields,
|
|
3399
|
+
defaultColDef: defaultColDef
|
|
3400
|
+
})
|
|
3401
|
+
})
|
|
3402
|
+
]
|
|
3378
3403
|
});
|
|
3379
3404
|
} else {
|
|
3380
3405
|
props.doRequestVEP(gene._id);
|
|
@@ -4320,6 +4345,12 @@ class $6c5c4f90059875bf$var$Gene extends (0, ($parcel$interopDefault($gXNCa$reac
|
|
|
4320
4345
|
super(props);
|
|
4321
4346
|
this.state = {
|
|
4322
4347
|
details: [
|
|
4348
|
+
{
|
|
4349
|
+
id: "VEP",
|
|
4350
|
+
label: "Germplasm",
|
|
4351
|
+
popup: "Germplasm with protein truncating variants (PTVs)",
|
|
4352
|
+
available: false
|
|
4353
|
+
},
|
|
4323
4354
|
{
|
|
4324
4355
|
id: "sequences",
|
|
4325
4356
|
label: "Sequences",
|
|
@@ -4356,12 +4387,6 @@ class $6c5c4f90059875bf$var$Gene extends (0, ($parcel$interopDefault($gXNCa$reac
|
|
|
4356
4387
|
popup: "Curated Publications",
|
|
4357
4388
|
available: false
|
|
4358
4389
|
},
|
|
4359
|
-
{
|
|
4360
|
-
id: "VEP",
|
|
4361
|
-
label: "Germplasm",
|
|
4362
|
-
popup: "Germplasm with protein truncating variants (PTVs)",
|
|
4363
|
-
available: false
|
|
4364
|
-
},
|
|
4365
4390
|
{
|
|
4366
4391
|
id: "xrefs",
|
|
4367
4392
|
label: "Xrefs",
|