{% macro omim_phenotypes(variant) %}
OMIM
{% for gene in variant.genes %} {% if gene.common and gene.disease_terms %} {% for disease_term in gene.disease_terms %} {% if disease_term.source == 'OMIM' %} {% endif %} {% endfor %} {% endif %} {% endfor %}
Gene Phenotype Inheritance model
{{ gene.common.hgnc_symbol }} {{ disease_term.description }} {{ disease_term.inheritance|join(', ') }}
{% endmacro %} {% macro inheritance_panel(variant) %}
Gene annotations
{% endmacro %} {% macro autozygosity_panel(variant) %}
Autozygous region
Length {{ variant.azlength }} Qual {{ variant.azqual }}
{% endmacro %} {% macro inheritance_badge(model,inherit_palette) %} {% if inherit_palette.get(model) %} {{ model }} {% else %} {{ model }} {% endif %} {% endmacro %} {% macro genemodels_panel(variant, inherit_palette) %}
Gene models
{% set ns = namespace(comments_exist=false) %} {% for gene in variant.genes %} {% if gene.comment %} {% set ns.comments_exist = true %} {% endif %} {% endfor %}
Gene Inheritance Penetrance
OMIM Manual OMIM Manual
{{ gene.hgnc_symbol }} {% for model in gene.omim_inheritance %} {{ inheritance_badge(model,inherit_palette) }} {% endfor %} {% for model in gene.manual_inheritance %} {{ inheritance_badge(model,inherit_palette) }} {% endfor %} {% if gene.omim_penetrance %} yes {% else %} no {% endif %} {% if gene.manual_penetrance %} yes {% else %} no {% endif %}
{% if ns.comments_exist %} {% for gene in variant.genes %} {% for comment in gene.comment %} {% endfor %} {% endfor %}
GenePanel comments
{{ gene.hgnc_symbol }}{{ comment }}
{% endif %}
{% endmacro %}