{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% import "bootstrap/fixes.html" as fixes %} {% import "bootstrap/utils.html" as util %} {% block title %}Pathway Details{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% macro write_label(resource) -%} {% if resource == 'kegg' %} label-success {% elif resource == 'reactome' %} label-danger {% elif resource == 'wikipathways' %} label-info {% elif resource == 'msig' %} label-default {% else %} label-warning {% endif %} {%- endmacro %} {% macro write_pathways(pathways, title) -%} {% if pathways|length > 0 %}
Name | {{ pathway }} |
Resource | {{ resource|upper }} |
Genes | {% for hgnc_symbol in pathway.get_gene_set() %} {% if submitted_gene_set and hgnc_symbol in submitted_gene_set %} {{ hgnc_symbol }} {% else %} {{ hgnc_symbol }} {% endif %} {% endfor %} |
Size | {{ pathway.get_gene_set()|length }} |