gramene-search 1.2.91 → 1.2.94
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/a6c49560dea3583b +0 -0
- package/.parcel-cache/cdecf11601322051 +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/Study.5f95cb67.js +137 -0
- package/dist/Study.5f95cb67.js.map +1 -0
- package/dist/index.css +45 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +319 -99
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
- package/src/bundles/api.js +78 -48
- package/src/bundles/docs.js +9 -9
- package/src/bundles/genomes.js +8 -0
- package/src/bundles/views.js +34 -5
- package/src/components/TaxonomyModal.js +12 -9
- package/src/components/geneSearchUI.js +57 -34
- package/src/components/results/Expression.js +53 -0
- package/src/components/results/Study.js +73 -0
- package/src/components/results/TaxDist.js +1 -1
- package/src/components/results/expression.css +6 -0
- package/src/components/styles.css +36 -3
- package/src/demo.js +26 -3
- /package/.parcel-cache/{6255a4a6bd734a5d → 11d1ed8b6259bb81} +0 -0
- /package/.parcel-cache/{b9ae622f0bd517df → 31cffa0c08330755} +0 -0
- /package/.parcel-cache/{db03c2fa6c2fef32 → 34cd372d03cfca2a} +0 -0
- /package/.parcel-cache/{c5a9dcc7e0185213 → b352b4d02fce877b} +0 -0
- /package/.parcel-cache/{119e8c664c43889a → b506b571fb8c5cd8} +0 -0
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
.gramene-sidebar {
|
|
2
2
|
position: fixed;
|
|
3
|
-
background-color:
|
|
3
|
+
background-color: #557b74;
|
|
4
|
+
padding-left: 8px;
|
|
5
|
+
padding-right: 8px;
|
|
6
|
+
padding-bottom: 8px;
|
|
7
|
+
max-width: 16.67%;
|
|
8
|
+
}
|
|
9
|
+
.sorghumbase-sidebar {
|
|
10
|
+
position: fixed;
|
|
11
|
+
background-color: #a03e34;
|
|
4
12
|
padding-left: 8px;
|
|
5
13
|
padding-right: 8px;
|
|
6
14
|
padding-bottom: 8px;
|
|
7
15
|
max-width: 16.67%;
|
|
8
16
|
}
|
|
9
17
|
.gramene-filter-container {
|
|
10
|
-
background-color: #
|
|
18
|
+
background-color: #9bbf6d;
|
|
11
19
|
padding-left: 4px;
|
|
12
20
|
padding-bottom: 4px;
|
|
13
21
|
}
|
|
@@ -55,8 +63,21 @@
|
|
|
55
63
|
background-color: #feff96;
|
|
56
64
|
}
|
|
57
65
|
|
|
66
|
+
.gramene-view-header {
|
|
67
|
+
width: 100%;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-wrap: nowrap;
|
|
70
|
+
justify-content: space-evenly;
|
|
71
|
+
font-size: larger;
|
|
72
|
+
font-weight: bold;
|
|
73
|
+
background-color: #fff3a96e;
|
|
74
|
+
border-top: solid;
|
|
75
|
+
border-top-color: #557b74;
|
|
76
|
+
color: #a03e34;
|
|
77
|
+
}
|
|
78
|
+
|
|
58
79
|
.gramene-view-container {
|
|
59
|
-
background-color:
|
|
80
|
+
background-color: #fff3a9;
|
|
60
81
|
padding-left: 4px;
|
|
61
82
|
padding-right: 4px;
|
|
62
83
|
padding-bottom: 4px;
|
|
@@ -67,6 +88,18 @@
|
|
|
67
88
|
margin-bottom: 0;
|
|
68
89
|
background-color: white;
|
|
69
90
|
}
|
|
91
|
+
.gramene-view-span-on {
|
|
92
|
+
padding-left: 5px;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
vertical-align: text-bottom;
|
|
95
|
+
color: #a03e34;
|
|
96
|
+
}
|
|
97
|
+
.gramene-view-span-off {
|
|
98
|
+
padding-left: 5px;
|
|
99
|
+
/*cursor: pointer;*/
|
|
100
|
+
vertical-align: text-bottom;
|
|
101
|
+
color: darkgray;
|
|
102
|
+
}
|
|
70
103
|
.gramene-view li {
|
|
71
104
|
display: block;
|
|
72
105
|
cursor: pointer;
|
package/src/demo.js
CHANGED
|
@@ -135,6 +135,10 @@ const panSites = [
|
|
|
135
135
|
29760020: 1
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
+
hideGenomes: {
|
|
139
|
+
3702:'arabidopsis',
|
|
140
|
+
4558:'sorghum'
|
|
141
|
+
},
|
|
138
142
|
targetTaxonId: 29760020,
|
|
139
143
|
alertText: 'Grapevine site',
|
|
140
144
|
panSite : {
|
|
@@ -214,10 +218,10 @@ const GeneSearchUI = (store) => (
|
|
|
214
218
|
</div>
|
|
215
219
|
</Provider>
|
|
216
220
|
);
|
|
217
|
-
const
|
|
221
|
+
const SearchViewsCmp = props => (
|
|
218
222
|
<div className="row no-margin no-padding">
|
|
219
223
|
<div className="col-md-2 no-padding">
|
|
220
|
-
<div className=
|
|
224
|
+
<div className={props.id === 'sorghum' ? 'sorghumbase-sidebar' : 'gramene-sidebar'}>
|
|
221
225
|
<Status/>
|
|
222
226
|
<Filters/>
|
|
223
227
|
<Views/>
|
|
@@ -228,6 +232,10 @@ const SearchViews = props => (
|
|
|
228
232
|
</div>
|
|
229
233
|
</div>
|
|
230
234
|
);
|
|
235
|
+
const SearchViews = connect(
|
|
236
|
+
'selectConfiguration',
|
|
237
|
+
SearchViewsCmp
|
|
238
|
+
);
|
|
231
239
|
|
|
232
240
|
const handleKey = (e, props) => {
|
|
233
241
|
if (e.key === "Escape") {
|
|
@@ -423,7 +431,22 @@ cache.getAll().then(initialData => {
|
|
|
423
431
|
const store = getStore(initialData);
|
|
424
432
|
const config = store.selectConfiguration();
|
|
425
433
|
ReactGA.initialize(config.ga);
|
|
426
|
-
|
|
434
|
+
if (initialData.hasOwnProperty('grameneMaps')) {
|
|
435
|
+
// check for hidden genomes
|
|
436
|
+
let notHidden = {};
|
|
437
|
+
let haveHidden = false;
|
|
438
|
+
Object.values(initialData.grameneMaps.data).forEach(m => {
|
|
439
|
+
if (m.hidden) {
|
|
440
|
+
haveHidden=true;
|
|
441
|
+
}
|
|
442
|
+
else {
|
|
443
|
+
notHidden[m.taxon_id]=true;
|
|
444
|
+
}
|
|
445
|
+
})
|
|
446
|
+
if (haveHidden) {
|
|
447
|
+
store.doInitializeGrameneGenomes(notHidden)
|
|
448
|
+
}
|
|
449
|
+
}
|
|
427
450
|
let element = document.getElementById('demo');
|
|
428
451
|
element && render(demo(store), element);
|
|
429
452
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|