Commit a40b3b8
committed
clusterExpression: add Function column for genes
The migrated 'Genes expressed in <cluster>' (clusterExpression) query did not
surface the gene Function column that v2 prod shows. Gene molecular-function
categories (e.g. Enzyme, Small_molecule_binding) are stored as Neo4j labels on
the Gene node, so Function is now derived from labels(g), excluding the
structural/availability labels (Entity, Class, Individual, Gene, Feature and
any has* facet) and sorted.
Added as a new column alongside the existing ones (Gene, Cell type, Expression
Level, Expression Extent, Tags); also added to preview_columns. The reverse
expressionCluster query (rows are clusters, not genes) is left unchanged.
Minor bump to 1.18.0 so the major.minor solr_result_cache key rotates and the
cached clusterExpression results are recomputed with the Function column.
Validated read-only against prod pdb: 128up -> 'Enzyme; Small_molecule_binding'
(matches prod); Nup153 -> 'DNA_binding; Structural_molecule'; genes with no
function category render blank.1 parent a701fa7 commit a40b3b8
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1860 | 1860 | | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | | - | |
| 1863 | + | |
1864 | 1864 | | |
1865 | 1865 | | |
1866 | 1866 | | |
| |||
4507 | 4507 | | |
4508 | 4508 | | |
4509 | 4509 | | |
4510 | | - | |
| 4510 | + | |
| 4511 | + | |
4511 | 4512 | | |
4512 | 4513 | | |
4513 | 4514 | | |
| |||
4525 | 4526 | | |
4526 | 4527 | | |
4527 | 4528 | | |
| 4529 | + | |
4528 | 4530 | | |
4529 | 4531 | | |
4530 | 4532 | | |
| |||
4551 | 4553 | | |
4552 | 4554 | | |
4553 | 4555 | | |
4554 | | - | |
| 4556 | + | |
| 4557 | + | |
4555 | 4558 | | |
4556 | 4559 | | |
4557 | | - | |
| 4560 | + | |
4558 | 4561 | | |
4559 | 4562 | | |
4560 | 4563 | | |
| |||
0 commit comments