gramene-search 1.2.79 → 1.2.80
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/2126881b633272fa.txt +2 -2
- package/.parcel-cache/425346ba6a54d932 +0 -0
- package/.parcel-cache/878e3ffbad677982 +0 -0
- package/.parcel-cache/cdecf11601322051 +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.js +86 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/geneSearchUI.js +8 -8
- package/src/components/results/details/Expression.js +35 -5
- /package/.parcel-cache/{d21ffc56064c62e3 → 20b355a17a7b6962} +0 -0
- /package/.parcel-cache/{691bdd0656616144 → ac32af3a76ae9f63} +0 -0
- /package/.parcel-cache/{9a560558b4447bb6 → fc52d23bc970edda} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
412117173
|
|
2
|
+
1698693104569466000
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1807,9 +1807,68 @@ var $541b8b0d8c5501d2$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.conn
|
|
|
1807
1807
|
const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
1808
1808
|
const gene = props.geneDocs[props.searchResult.id];
|
|
1809
1809
|
let paralogs_url;
|
|
1810
|
-
let efp_browser
|
|
1810
|
+
let efp_browser = {
|
|
1811
|
+
show: false
|
|
1812
|
+
};
|
|
1811
1813
|
let gene_url = `/static/atlasWidget.html?reference=0&genes=${gene.atlas_id || gene._id}`;
|
|
1812
|
-
gene.
|
|
1814
|
+
if (gene.system_name === "sorghum_bicolor") {
|
|
1815
|
+
efp_browser.show = true;
|
|
1816
|
+
efp_browser.options = [
|
|
1817
|
+
{
|
|
1818
|
+
value: "Developmental_Atlas",
|
|
1819
|
+
label: "Developmental Atlas"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
value: "Stress_Atlas",
|
|
1823
|
+
label: "Stress Atlas"
|
|
1824
|
+
}
|
|
1825
|
+
];
|
|
1826
|
+
efp_browser.gene = gene._id.replace("SORBI_3", "Sobic.");
|
|
1827
|
+
efp_browser.path = `https://bar.utoronto.ca/api/efp_image/efp_sorghum`;
|
|
1828
|
+
efp_browser.bar = "https://bar.utoronto.ca/~asher/efp_sorghum/cgi-bin/efpWeb.cgi?";
|
|
1829
|
+
// efp_browser = `https://bar.utoronto.ca/api/efp_image/efp_sorghum/Stress_Atlas/Absolute/${gene._id.replace('SORBI_3','Sobic.')}`
|
|
1830
|
+
// efp_browser = `https://bar.utoronto.ca/api/efp_image/efp_sorghum/`
|
|
1831
|
+
// efp_browser = `https://bar.utoronto.ca/~asher/efp_sorghum/cgi-bin/efpWeb.cgi?dataSource=Developmental_Atlas&mode=Absolute&primaryGene=${gene._id.replace('SORBI_3','Sobic.')}`
|
|
1832
|
+
}
|
|
1833
|
+
if (efp_browser.show) {
|
|
1834
|
+
const [selectedStudy, setSelectedStudy] = (0, $gXNCa$react.useState)(efp_browser.options[0].value);
|
|
1835
|
+
const handleSelectChange = (event)=>{
|
|
1836
|
+
setSelectedStudy(event.target.value);
|
|
1837
|
+
};
|
|
1838
|
+
efp_browser.content = /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
1839
|
+
children: [
|
|
1840
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("label", {
|
|
1841
|
+
children: "Select a study:"
|
|
1842
|
+
}),
|
|
1843
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("select", {
|
|
1844
|
+
value: selectedStudy,
|
|
1845
|
+
onChange: handleSelectChange,
|
|
1846
|
+
children: efp_browser.options.map((o)=>/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("option", {
|
|
1847
|
+
value: o.value,
|
|
1848
|
+
children: o.label
|
|
1849
|
+
}))
|
|
1850
|
+
}),
|
|
1851
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("br", {}),
|
|
1852
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("img", {
|
|
1853
|
+
style: {
|
|
1854
|
+
"max-width": "100%"
|
|
1855
|
+
},
|
|
1856
|
+
src: `${efp_browser.path}/${selectedStudy}/Absolute/${efp_browser.gene}`
|
|
1857
|
+
}),
|
|
1858
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("br", {}),
|
|
1859
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("a", {
|
|
1860
|
+
href: `${efp_browser.bar}?dataSource=${selectedStudy}&mode=Absolute&primaryGene=${efp_browser.gene}`,
|
|
1861
|
+
children: [
|
|
1862
|
+
"Powered by ",
|
|
1863
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("img", {
|
|
1864
|
+
src: "https://bar.utoronto.ca/bbc_logo_small.gif"
|
|
1865
|
+
}),
|
|
1866
|
+
" BAR Webservices"
|
|
1867
|
+
]
|
|
1868
|
+
})
|
|
1869
|
+
]
|
|
1870
|
+
});
|
|
1871
|
+
}
|
|
1813
1872
|
if (props.paralogExpression && props.paralogExpression[gene._id]) {
|
|
1814
1873
|
let paralogs = props.paralogExpression[gene._id].map((p)=>p.atlas_id || p.id);
|
|
1815
1874
|
if (paralogs.length > 1) paralogs_url = `/static/atlasWidget.html?reference=1&genes=${paralogs.join(" ")}`;
|
|
@@ -1836,9 +1895,10 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
1836
1895
|
height: "500px"
|
|
1837
1896
|
})
|
|
1838
1897
|
}),
|
|
1839
|
-
efp_browser && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Tab), {
|
|
1898
|
+
efp_browser.show && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactbootstrap.Tab), {
|
|
1840
1899
|
eventKey: "eFP",
|
|
1841
|
-
title: "eFP browser (BAR)"
|
|
1900
|
+
title: "eFP browser (BAR)",
|
|
1901
|
+
children: efp_browser.content
|
|
1842
1902
|
})
|
|
1843
1903
|
]
|
|
1844
1904
|
});
|
|
@@ -4300,6 +4360,28 @@ const $693dd8c7a5607c3a$var$ViewsCmp = (props)=>/*#__PURE__*/ (0, $gXNCa$reactjs
|
|
|
4300
4360
|
},
|
|
4301
4361
|
children: view.name
|
|
4302
4362
|
}, idx))
|
|
4363
|
+
}),
|
|
4364
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
4365
|
+
children: [
|
|
4366
|
+
"\xa0Key:",
|
|
4367
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("ul", {
|
|
4368
|
+
className: "gramene-view",
|
|
4369
|
+
children: [
|
|
4370
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("li", {
|
|
4371
|
+
className: "gramene-view-on",
|
|
4372
|
+
children: "On"
|
|
4373
|
+
}),
|
|
4374
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("li", {
|
|
4375
|
+
className: "gramene-view-off",
|
|
4376
|
+
children: "Off"
|
|
4377
|
+
}),
|
|
4378
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("li", {
|
|
4379
|
+
className: "gramene-view-disabled",
|
|
4380
|
+
children: "Disabled"
|
|
4381
|
+
})
|
|
4382
|
+
]
|
|
4383
|
+
})
|
|
4384
|
+
]
|
|
4303
4385
|
})
|
|
4304
4386
|
]
|
|
4305
4387
|
});
|