PSS database schema
Naming conventions
- Name format
-
- Node labels: UpperCamelCase
- Relationship types: UPPER_SNAKE_CASE
- Property keys: snake_case
- Edge
- Relationship between two nodes
- Source
- source (start) node of a relationship.
- Target
- target (end) node of a relationship.
Node labels
A node can have multiple labels. In general, the primary labels have a constraint of a unique name within the label.
-
Primary Labels
Primary label Secondary labels (*=optional) Description Complex Node Complexes that can contain plant, foreign and/or metabolite components Metabolite Node, MetaboliteFamily* Chemical entities Family Node, [PlantAbstract | PlantCoding | PlantNonCoding] Gene family (set of all genes within the family) FunctionalCluster Node, FunctionalClusterClass, [PlantAbstract | PlantCoding | PlantNonCoding] Set of genes with the same function DeprecatedFunctionalCluster FunctionalClusterClass, [PlantAbstract | PlantCoding | PlantNonCoding] Functional cluster that was removed or merged into another; kept (without its edges) so its id still resolves Process Node ForeignEntity Node, Foreign Biological foreign entity, such as a pathogen species ForeignCoding Node, Foreign Protein coding agent of an external factor, such as a pathogen gene ForeignNonCoding Node, Foreign Non-coding agent of an external factor, such as a pathogen gene ForeignAbstract Node, Foreign Undefined or unspecified agent of an external factor, such as a pathogen gene ForeignAbiotic Node, Foreign Abiotic factors (e.g. heat) Reaction Node, ReactionClass Reaction node defines a reaction or interaction between entities DeprecatedReaction ReactionClass Reaction that was removed or merged into another; kept (without its edges) so its id still resolves Condition Condition that affects reaction(s) -
Secondary Labels
Label Description Node All nodes MetaboliteFamily A group of similar chemical entities (e.g. reactive oxygen species) PlantAbstract Undefined or unspecified plant gene (e.g. without standard gene identifier) PlantCoding Plant gene with protein gene product PlantNonCoding Plant gene without protein gene product (e.g miRNA) Plant All plant specific nodes (PlantAbstract, PlantCoding, PlantNonCoding) Foreign External factors that are neither plant nor metabolite related ReactionClass Reactions, current and deprecated (Reaction, DeprecatedReaction) FunctionalClusterClass Functional clusters, current and deprecated (FunctionalCluster, DeprecatedFunctionalCluster)
Edge types
Each edge only has one type.
-
Hierarchical related edges
Type Description Edge example COMPONENT_OF Source node is a component of target node (Complex): the substrates of the binding reactions that form the complex; a component is not a complex itself (a complex in a complex is listed as its own components) (JAZ) ―[:COMPONENT_OF]→ (JAZ|DELLA) TYPE_OF Source node (Metabolite) is a type of target node (MetaboliteFamily) (O3) ―[:TYPE_OF]→ (ROS) AGENT_OF Source node (Foreign[*]) is an agent of target node (ForeignEntity) (VPg) ―[:AGENT_OF]→ (potyvirus) TAKES_PART Source node (Family) takes part in reactions via target node (FunctionalCluster) (ACS) ―[:TAKES_PART]→ (ACS6) CONDITION_INPUT Source node form part of the condition target node (Condition) defines (JAZ) ―[:CONDITION_INPUT]→ (NPR1 high & JAZ high) -
Reaction related edges
Type Description Edge example ACTIVATES Source node activates target node (Reaction) (CYP94) ―[:ACTIVATES]→ (rx00042) INHIBITS Source node inhibits target node (Reaction) (miR6022) ―[:INHIBITS]→ (rx00308) SUBSTRATE Source node is a substrate in the reaction, and is consumed/catalysed by reaction (JA-Ile) ―[:SUBSTRATE]→ (rx00042) PRODUCT Target node is a product in the reaction, and is produced/resulted from reaction (rx00042) ―[:PRODUCT]→ (12-OH-JA-Ile) TRANSLOCATE_FROM Source node is translocated from source_compartment by reaction (sister to SUBSTRATE) (SA) ―[:TRANSLOCATE_FROM]→ (rx00072) TRANSLOCATE_TO Target node is translocated to target_compartment by reaction (sister to PRODUCT) (rx00072) ―[:TRANSLOCATE_TO]→ (SA)
Properties
| Property name | Applies to (labels/edge types) | Type | Note |
|---|---|---|---|
| added_by | - | string | |
| creation_date | - | string | |
| name | - | string | |
| display_label | All nodes | string | The name shown in the explorers and exports: the short name for functional clusters, the name for the others |
| curator_notes | All nodes | list | Changes made by curators and data fixes, each as <note> ~ <initials> <yyyy-mm-dd> |
| classification | ForeignEntity | string | Phylogenetic classification |
| species | ForeignEntity | string | |
| family | FunctionalCluster | string | |
| functional_cluster_id | FunctionalCluster, DeprecatedFunctionalCluster | string | e.g. fc00367; the end of the cluster's name, e.g. LHB1B1[fc00367] |
| sequence | FunctionalCluster | string | Only in case of gene not existing in genome model (of GoMapMan) |
| short_name | FunctionalCluster | string | |
| mapman | FunctionalCluster | list | MapMan bins of the cluster's Arabidopsis genes (GoMapMan 2, MapMan4), as <bin code>_<full bin name>, e.g. 26.11.3.2.1_External stimuli response.pathogen.defense mechanisms.WRKY33-dependent plant immunity.transcription factor *(WRKY33); updated from GoMapMan, not curated |
| additional_information | Node | string | |
| curated | Node | bool | |
| external_links | Node | list | identifiers.org CURIEs, in the case the database requires, e.g. doi:10.1104/pp.18.00450, pubmed:29934298, CHEBI:15653, pubchem.compound:5460234, kegg:C04785, biocyc:META:CPD-728 (MetaCyc), ec-code:1.3.1.78, tair.name:AT2G39350; aracyc:RXN-20153 (PMN AraCyc, no identifiers.org namespace); or PSS-internal: invented:<reason>, other:<text>, conceptual:<type> |
| public | Reaction, DeprecatedReaction | bool | Computed by the web app from external_links (don't edit it): true if at least one source is not other: or invented: (the public downloads' rule). Restricted (false) reactions are shown only to logged-in members. |
| model_version | Node | string | |
| pathway | Node | string | One of defined pathways |
| all_pathways | Node | list | All pathways of the node, including pathway |
| synonyms | FunctionalCluster, Family, Metabolite, Foreign, Process | list | Other names |
| model_status | Node excluding Reaction | string | |
| description | Node, Condition | string | |
| function | Condition | string | The condition as a function of its inputs, e.g. f(SA)=|SA|>t |
| archive | DeprecatedReaction, DeprecatedFunctionalCluster | string | The node's edges when it was deprecated, as Cypher (apoc.text.toCypher) |
| <species>_homologues | Plant | list | list of species specific homologues |
| proposed_identifiers | FunctionalCluster | list | Gene identifiers a contributor gave for this cluster that are in other clusters; not homologues until a curator moves them to <species>_homologues (or removes them), see the curator notes |
| species | Plant | list | Subset of defined species |
| evidence_sentence | Reaction | string | |
| experimental_techniques | Reaction | string | |
| reaction_effect | Reaction | string | activation or inhibition |
| reaction_mechanism | Reaction | string | transcriptional/translational activation and repression: transcription, translation or unknown; protein activation and deactivation: phosphorylation, dephosphorylation, binding, conformational change or unknown |
| species | Reaction | list | Subset of defined species, and "all" |
| trust_level | Reaction | string | R1;R2;Rx... |
| reaction_id | Reaction | string | |
| reaction_type | Reaction | string | One of defined reaction types |
| source_form | ACTIVATES, INHIBITS, SUBSTRATE, TRANSLOCATE_FROM | string | One of defined node forms |
| source_location | ACTIVATES, INHIBITS, SUBSTRATE, TRANSLOCATE_FROM | string | One of defined locations |
| source_organ | ACTIVATES, INHIBITS, SUBSTRATE, TRANSLOCATE_FROM | string | One of defined plant organs (leaf, stem, root) |
| source_identifiers | ACTIVATES, INHIBITS, SUBSTRATE, TRANSLOCATE_FROM | list | The genes of the source node that take part, as given with the reaction, e.g. AT3G03990 |
| target_form | PRODUCT, TRANSLOCATE_TO | string | One of defined node forms |
| target_location | PRODUCT, TRANSLOCATE_TO | string | One of defined locations |
| target_organ | PRODUCT, TRANSLOCATE_TO | string | One of defined plant organs (leaf, stem, root) |
| target_identifiers | PRODUCT, TRANSLOCATE_TO | list | The genes of the target node that take part, as given with the reaction, e.g. AT4G01370 |
Indices
Indices are generated across nodes with the same label to allow faster searching.
In progress
Plant node hierarchy
Families contain all genes associated with the family, across plant species.
FunctionalClusters are subsets of (possibly multiple) families, as defined by participation in reactions (i.e. their function).
Of the two layers, only FunctionalClusters can participate in reactions.
Defined reaction types
The database schema is based on a representations of chemical reactions. In a simple example, the following reaction A + B → C (catalysed by e):
can be represented in the graph database (using only nodes and edges) as follows:
Edges (arrows) and reaction nodes are reaction specific. Nodes other than reactions can take part in multiple reactions.
Using this schematic, the database can contain the following reaction types:
binding/oligomerisation
Biological representation
Database representation
dissociation
Biological representation
Database representation
catalysis
Biological representation
Database representation
degradation/secretion
Biological representation
Database representation
protein deactivation
Biological representation
Database representation
protein activation
Biological representation
Database representation
transcriptional/translational activation
Biological representation
Database representation
transcriptional/translational repression
Biological representation
Database representation
translocation
Biological representation
Database representation
unknown
Biological representation
Database representation