{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% import "bootstrap/fixes.html" as fixes %} {% import "bootstrap/utils.html" as util %} {% import "macros.html" as pbw %} {% block title %}Node Catalog{% endblock %} {% block content %}
{{ util.flashed_messages(dismissible=True, container=False) }}

Nodes

{% for node in nodes %}

{{ node.bel }} In-Edges: {{ node.in_edges.count() }} | Out-Edges: {{ node.out_edges.count() }} | {% if node.type == 'Gene' %} Orthologies: {{ node.out_edges.filter_by(relation='orthologous').count() }} | {% endif %} Equivalencies: {{ node.out_edges.filter_by(relation='equivalentTo').count() }} | Classes: {{ node.out_edges.filter_by(relation='isA').count() }} | Children: {{ node.in_edges.filter_by(relation='isA').count() }} | Explore {% if current_user.is_authenticated and current_user.is_admin %} | JSON {% endif %}

{% set node_members = node.out_edges.filter_by(relation='hasComponent').all() %} {% if node_members %}

Components

{% endif %} {% set node_in_edges = node.in_edges.limit(3) %} {% set node_out_edges = node.out_edges.limit(2) %} {% if node_in_edges or node_out_edges %}

Example Edges:

{% endif %}

Appears in Networks:

{% if node.namespace_entry %} {% if hgnc_manager and node.namespace_entry.namespace.keyword == 'HGNC' %} {{ pbw.render_node_hgnc_enrichment(hgnc_manager, node) }} {% elif entrez_manager and node.namespace_entry.namespace.keyword in ['EGID', 'EG', 'ENTREZ'] %} {{ pbw.render_node_entrez_enrichment(entrez_manager, node) }} {% elif chebi_manager and node.namespace_entry.namespace.keyword in ['CHEBI', 'CHEBIID'] %} {{ pbw.render_node_chebi_enrichment(chebi_manager, node) }} {% elif go_manager and node.namespace_entry.namespace.keyword in ['GO', 'GOBP', 'GOBPID'] %} {{ pbw.render_node_go_enrichment(go_manager, node) }} {% else %}

Entity

Name
{{ node.namespace_entry.name }}
Namespace
{{ node.namespace_entry.namespace.keyword }}
Namespace Version
{{ node.namespace_entry.namespace.version }}
{% if node.namespace_entry.namespace.url %}
Namespace URL
{{ node.namespace_entry.namespace.url }}
{% else %}
Pattern
{{ node.namespace_entry.namespace.pattern }}
{% endif %}
{% endif %} {% endif %}
{% endfor %}
{% if count %} {% endif %}
{% include "footer.html" %} {% endblock %}