{% 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) %}

Examples: case_id=18201, HPO-term=HP:0001166, synopsis=synopsis:epilepsy, panel=panel:NMD, phenotype group=PG:0100022, cohort=cohort:pedhep.
{% 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 %}