{% extends "layout.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() %}

Basic statistics

{% for group in analysis_types %}
{{ group.name|capitalize }} samples (not cases)

{{ group.count }}

{% endfor %}
{% for group in cases %}
{{ group.status|capitalize }} Cases

{{ group.count }}

{{ (group.percent * 100)|round(1) }}%
{% endfor %}

Pedigree info

{% for topic in pedigree %}
{{ topic.title }} Cases

{{ topic.count }}

{{ (topic.percent * 100)|round(1) }}%
{% endfor %}
{% endmacro %} {% macro cases_stats_panels() %}

Cases with...

{% for topic in overview %}
{{ topic.title }}

{{ topic.count }}

{{ (topic.percent * 100)|round(1) }}%
{% endfor %}
{% endmacro %} {% macro variants_stats_panels() %}
{% for topic in variants %}
{{ topic.title }}

{{ topic.count }}

{{ (topic.percent * 100)|round(1) }}%
{% endfor %}
{% endmacro %} {% block scripts %} {{ super() }} {% endblock %}