{% extends "cases/case_tabular_view.html" %} {% from "utils.html" import comments_panel, activity_panel %} {% block title %} {{ super() }} {% endblock %} {% block css %} {{ super() }} {% endblock %} {% block top_nav %} {{ super() }} {% endblock %} {% block content_main %}
{{ fshd_case_page() }}
{% endblock %} {% macro fshd_case_page() %}

Case: {{case.display_name}}

{{ bionano_individuals_table(case, institute, tissue_types) }}
{% if case.madeline_info and case.individuals|length > 1 %} {{ pedigree_panel() }} {% else %}

No pedigree picture available.

{% endif %}
{{ synopsis_panel() }} {{ comments_panel(institute, case, current_user, comments) }}
{{activity_panel(events)}}
{{ modal_synopsis() }}
{% endmacro %} {% macro bionano_individuals_table(case, institute, tissues) %}
FSHD loci - Individuals
{% for ind in case.individuals %} {% if "fshd_loci" in ind and ind.fshd_loci is not none %} {% for d4z4 in ind.fshd_loci %} {% if loop.index == 1 %} {% else %} {% endif %} {% if loop.index == 1 %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %} {% endfor %}
Sample Sex Phenotype Chr Haplotype D4Z4 count Coverage Ancestry (pred.) Tissue
{{ ind.display_name }} {% if ind.sex_human in ['female','male'] %} {% if ind.sex_human == 'female' %} F {% elif ind.sex_human == 'male' %} M {% else %} {{ind.sex_human}} {% endif %} {% endif %} {% if ind.confirmed_sex %} {% endif %} {{ ind.phenotype_human }}{{ d4z4.chromosome }} {{ d4z4.haplotype }} {{ d4z4.count }} {{ d4z4.spanning_coverage }}{{ ind.predicted_ancestry or 'N/A' }} {{ ind.tissue_type }}
{{ ind.display_name }} {% if ind.sex_human in ['female','male'] %} {% if ind.sex_human == 'female' %} F {% elif ind.sex_human == 'male' %} M {% else %} {{ind.sex_human}} {% endif %} {% endif %} {% if ind.confirmed_sex %} {% endif %} {{ ind.phenotype_human }} N/A {{ ind.predicted_ancestry or 'N/A' }} {{ ind.tissue_type }}
This is the processed FSHD report for the case. Please visit your Bionano Access server
{% endmacro %} {% block scripts %} {{ super() }} {% endblock %}