gramene-search 1.2.49 → 1.2.50
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/0eebcef07661bc3d +0 -0
- package/.parcel-cache/109421cc5334effc +0 -0
- package/.parcel-cache/2de2aad73a84c506.txt +2 -2
- package/.parcel-cache/475da2e0135128de +0 -0
- package/.parcel-cache/{c93f495d165f10af → ac4031cc4f41c756} +0 -0
- package/.parcel-cache/{de6fc4a04e7d6f20 → b059a54e0cf36e1d} +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/{392ff3fc9995349d → fe1c8de122b1083f} +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/results/GeneList.js +1 -1
- package/src/components/results/details/Location.js +9 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gramene-search",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.50",
|
|
4
4
|
"description": "search wrapper for gramene",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"gramene-dbxrefs": "^3.0.11",
|
|
29
29
|
"gramene-genetree-vis": "^4.1.13",
|
|
30
30
|
"gramene-mdview": "^1.1.8",
|
|
31
|
-
"gramene-search-vis": "^4.1.
|
|
31
|
+
"gramene-search-vis": "^4.1.11",
|
|
32
32
|
"gramene-taxonomy-with-genomes": "^3.0.10",
|
|
33
33
|
"gramene-trees-client": "^2.6.1",
|
|
34
34
|
"lodash": "^4.17.15",
|
|
@@ -25,7 +25,7 @@ let inventory = {
|
|
|
25
25
|
|
|
26
26
|
function renderTairSummary(searchResult) {
|
|
27
27
|
const summary = searchResult.summary;
|
|
28
|
-
if(summary && searchResult.taxon_id === 3702) {
|
|
28
|
+
if(summary && summary !== "NULL" && searchResult.taxon_id === 3702) {
|
|
29
29
|
return (
|
|
30
30
|
<div className="gene-summary-tair">
|
|
31
31
|
{trimSummary(summary)}
|
|
@@ -158,17 +158,18 @@ class Location extends React.Component {
|
|
|
158
158
|
let links = [
|
|
159
159
|
{name: 'Ensembl Browser', url: `${this.props.ensemblURL}/${gene.system_name}/Gene/Summary?g=${gene._id}`}
|
|
160
160
|
];
|
|
161
|
-
if (gene.annotations.taxonomy.ancestors.includes(4557))
|
|
162
|
-
links.push({name: '
|
|
163
|
-
}
|
|
161
|
+
if (gene.annotations.taxonomy.ancestors.includes(4557))
|
|
162
|
+
links.push({name: 'Phytozome', url: `https://phytozome.jgi.doe.gov/phytomine/keywordSearchResults.do?searchTerm=${jgiify(gene._id)}&searchSubmit=Search`})
|
|
164
163
|
if (gene.taxon_id === 3702)
|
|
165
|
-
links.push(
|
|
164
|
+
links.push(
|
|
165
|
+
{name: 'tair', url: `https://www.arabidopsis.org/servlets/TairObject?name=${gene._id}&type=locus`},
|
|
166
|
+
{name: 'ThaleMine', url: `https://bar.utoronto.ca/thalemine/keywordSearchResults.do?searchTerm=${gene._id}&searchSubmit=search`}
|
|
167
|
+
);
|
|
168
|
+
if (gene.taxon_id === 39947)
|
|
169
|
+
links.push({name: 'RAP-DB', url: `https://rapdb.dna.affrc.go.jp/locus/?name=${gene._id}`});
|
|
166
170
|
const isMaize = new RegExp(/^Zm[0-9]+/);
|
|
167
|
-
if (isMaize.test(gene._id))
|
|
171
|
+
if (isMaize.test(gene._id))
|
|
168
172
|
links.push({name: 'MaizeGDB', url: `http://www.maizegdb.org/gene_center/gene/${gene._id}`});
|
|
169
|
-
}
|
|
170
|
-
// if (gene.taxon_id === 4577)
|
|
171
|
-
// links.push({name: 'MaizeGDB', url: `http://www.maizegdb.org/gene_center/gene/${gene._id}`});
|
|
172
173
|
return links;
|
|
173
174
|
}
|
|
174
175
|
|