{% macro individuals_table(case, institute, tissues) %}
Individuals
{% for ind in case.individuals %} {% endfor %}
Sample Sex Age Phenotype Sequencing Ancestry (pred.) Parenthood CGH Tissue
{{ ind.display_name }} {% if ind.sex_human in ['female','male'] %} {% else %} {{ind.sex_human}} {% endif %} {% if ind.confirmed_sex %} {% endif %} {{ ind.phenotype_human }} {{ ind.analysis_type|upper }} {{ ind.predicted_ancestry or 'N/A' }} {% if ind.confirmed_parent == True %} {% elif ind.confirmed_parent == False %} {% else %} N/A {% endif %} {% if ind.vcf2cytosure %} {% else %} N/A {% endif %}
{% endmacro %}