gramene-search 1.6.31 → 1.6.32
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/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +2 -2
- package/dist/index.js +12 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/details/VEP.js +5 -5
- package/src/demo.js +4 -3
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ const AccessionLink = ({germplasm, gene_id}) => {
|
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
66
|
if (germplasm.pop_id === '15' && germplasm.stock_center === 'NOT FOUND') {
|
|
67
|
-
return <a target="_blank" href={ggURL['maizeGDB']}>SNPVersity
|
|
67
|
+
return <a target="_blank" href={ggURL['maizeGDB']}>{germplasm.pub_id} (SNPVersity)</a>
|
|
68
68
|
}
|
|
69
69
|
return <span>{germplasm.pub_id}</span>
|
|
70
70
|
}
|
|
@@ -123,7 +123,7 @@ function group_germplasm(gene, germplasmLUT, vep_obj) {
|
|
|
123
123
|
return grouped;
|
|
124
124
|
}
|
|
125
125
|
const THRESHOLD = 5;
|
|
126
|
-
const GridWithGroups = ({groups,gene_id}) => {
|
|
126
|
+
const GridWithGroups = ({groups,gene_id,doGrin}) => {
|
|
127
127
|
const [rowData, setRowData] = useState(groups);
|
|
128
128
|
|
|
129
129
|
const initialExpanded = {};
|
|
@@ -184,11 +184,11 @@ const GridWithGroups = ({groups,gene_id}) => {
|
|
|
184
184
|
return null;
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
|
-
{ field: 'accession', headerName: 'Order Germplasm', flex: 1,
|
|
187
|
+
{ field: 'accession', headerName: doGrin ? 'Order Germplasm' : 'Accession', flex: 1,
|
|
188
188
|
headerComponent: (props) => {
|
|
189
189
|
return (
|
|
190
190
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
|
191
|
-
<i className="fas fa-shopping-cart"
|
|
191
|
+
{doGrin && <i className="fas fa-shopping-cart"> </i>}
|
|
192
192
|
<span>{props.displayName}</span>
|
|
193
193
|
</div>
|
|
194
194
|
);
|
|
@@ -273,7 +273,7 @@ const Detail = props => {
|
|
|
273
273
|
<div >Explore other variants within this gene in the <a target="_blank"
|
|
274
274
|
href={`${props.configuration.ensemblURL}/${gene.system_name}/Gene/Variation_Gene/Image?db=core;g=${props.searchResult.id}`}>
|
|
275
275
|
Variant image</a> page in the Ensembl genome browser.</div>
|
|
276
|
-
<GridWithGroups groups={...groups} gene_id={gene._id}/>
|
|
276
|
+
<GridWithGroups groups={...groups} gene_id={gene._id} doGrin={!props.configuration.hasOwnProperty('noGRIN')}/>
|
|
277
277
|
</div>
|
|
278
278
|
} else {
|
|
279
279
|
props.doRequestVEP(gene._id);
|
package/src/demo.js
CHANGED
|
@@ -86,13 +86,14 @@ const panSites = [
|
|
|
86
86
|
id: 'maize',
|
|
87
87
|
name: 'Maize',
|
|
88
88
|
url: 'https://maize-pangenome.gramene.org',
|
|
89
|
-
ensemblURL: 'https://
|
|
90
|
-
ensemblSite: 'https://
|
|
89
|
+
ensemblURL: 'https://maize-pangenome-ensembl.gramene.org',
|
|
90
|
+
ensemblSite: 'https://maize-pangenome-ensembl.gramene.org',
|
|
91
91
|
ensemblRest: 'https://data.gramene.org/pansite-ensembl-108',
|
|
92
|
-
grameneData: 'https://data.
|
|
92
|
+
grameneData: 'https://data.gramene.org/maize_v5',
|
|
93
93
|
targetTaxonId: 4577,
|
|
94
94
|
ga: "G-Y7ZYG1R8QT",
|
|
95
95
|
showViews: true,
|
|
96
|
+
noGRIN: true,
|
|
96
97
|
not_downtime: 'The search interface will be undergoing maintenance on Tuesday, July 20 from 3:00 - 4:00 PM EDT',
|
|
97
98
|
details: {
|
|
98
99
|
sequences: true,
|