{% extends "layout_bs4.html" %} {% block content_main %} {% set panel = panel|int %}
{{ basic_stats() }}
{{ cases_stats() }}
{{ variants_stats() }}
{% endblock %} {% macro basic_stats() %}
{{ dashboard_search_form(1) }} {{ general_stats_panels() }}
{% endmacro %} {% macro cases_stats() %}
{{ dashboard_search_form(2) }} {{ cases_stats_panels() }}
{% endmacro %} {% macro variants_stats() %}
{{ dashboard_search_form(3) }}

{{ variants_stats_panels() }}
{% endmacro %} {% macro dashboard_search_form(pane) %}
{% if pane in (1,2) %}
{% endif %}
{% if pane in (1,2) %}
Query examples: {% for elem in ["case:18201", "exact_pheno:HP:0001166", "synopsis:epilepsy", "panel:NMD", "pheno_group:HP:0001250", "status:active", "cohort:pedhep", "similar_case:1820", "similar_pheno:HP:0001166,HP:0001250", "pinned:POT1", "causative:POT1", "user:Kent"]%} {{elem}} {% endfor %}
{% endif %}

{% endmacro %} {% macro general_stats_panels() %}

Samples


{% for group in analysis_types %} {% endfor %}
Total {{ group.name|upper }} samples (not cases) {{ group.count }}

Cases


{% for group in cases %} {% endfor %}
Cases {{ group.status|capitalize }}: {{ group.count }} {{(group.percent * 100)|round(1)}}%

Pedigree info


{% for topic in pedigree %} {% endfor %}
{{ topic.title }} Cases {{ (topic.percent * 100)|round(1) }}%
{% endmacro %} {% macro cases_stats_panels() %}
{% for topic in overview %} {% endfor %}
{{ topic.title }} Cases: {{ topic.count }} {{ (topic.percent * 100)|round(1) }}%
{% endmacro %} {% macro variants_stats_panels() %}
{% for topic in variants %} {% endfor %}
{{ topic.title }} Cases: : {{ topic.count }} {{ (topic.percent * 100)|round(1) }}%

{% endmacro %} {% block scripts %} {{ super() }} {% endblock %}