{% extends "layout_bs4.html" %} {% from "variants/utils.html" import compounds_table %} {% from "variants/components.html" import gene_cell, frequency_cell %} {% from "utils.html" import comments_table %} {% block title %} {{ super() }} - {{ institute.display_name }} - {{ case.display_name }} - STR variants {% endblock %} {% block top_nav %} {{ super() }} {% endblock %} {% block top_nav_right %} {{ super() }} {% endblock %} {% block content_main %}
{% set ns = namespace(allele0='') %} {% for variant in variants %} {% if variant.chromosome + variant.position|string != ns.allele0 %} {% endif %} {% set ns.allele0 = variant.chromosome + variant.position|string %} {% if variant.dismiss_variant %} {% elif variant.str_status == 'normal' %} {% elif variant.str_status == 'full_mutation' %} {% elif variant.str_status == 'pre_mutation' %} {% else %} {% endif %} {% else %} {% endfor %}
Index Repeat locus Reference repeat unit Estimated size Reference size Status Max normal Min pathologic Genotype Chr. Position
{{ cell_rank(variant) }} {{ variant.str_repid }} {{ variant.str_ru }} {{ variant.alternative|replace("STR", "")|replace("<", "")|replace(">", "") }} {{ variant.str_ref }} {{ variant.str_status }} {{ variant.str_normal_max }} {{ variant.str_pathologic_min }} {% for sample in variant.samples %} {% if sample.genotype_call != "./." %}
{{ sample.display_name }}
{{ sample.genotype_call }}

{% endif %} {% endfor %}
{{ variant.chromosome }} {{ variant.position }} {% if case.bam_files %} {% endif %}
No matching variants

{{ footer() }} {% endblock %} {% macro cell_rank(variant) %} {{ variant.variant_rank }} {% set comment_count = variant.comments.count() %} {% if variant.manual_rank %} {{ variant.manual_rank }} {% endif %} {% if comment_count > 0 %} {% set comments_content = comments_table(institute, case, variant.comments, variant._id) %} {{ comment_count }} {% if 'GLOBAL' in comments_content %} {% endif %} {% endif %} {% endmacro %} {% macro footer() %}
{% if more_variants %} {% else %} No more variants to display First page {% endif %}
{% endmacro %} {% block scripts %} {{ super() }} {% endblock %}