{% extends "layout.html" %}
{% block title %}
{{ super() }} - {{ institute.display_name }} - {{ case.display_name }} - {{ variant.display_name }}
{% endblock %}
{% block top_nav %}
-
{{ variant.variant_rank }}
Rank
-
{{ variant.rank_score }}
Rank score
-
{{ variant.sub_category|upper }}
Category
-
-
Position
-
Cytoband
{% if variant.cytoband_start == variant.cytoband_end %}
{{ variant.chromosome }}{{ variant.cytoband_start }}
{% else %}
{{ variant.chromosome }}{{ variant.cytoband_start }}{{ variant.cytoband_end }}
{% endif %}
-
Length
{{ variant.length }}
-
Type
{{ variant.sub_category|upper }}
{{ frequencies(variant) }}
{{ gt_calls(variant.samples) }}
{{ overlapping(overlapping_snvs, variant.rank_score) }}
{% endblock %}
{% macro pin_button() %}
{% if variant._id not in case.suspects %}
{% else %}
{% endif %}
{% endmacro %}
{% macro causative_button() %}
{% if variant._id in case.causatives %}
{% else %}
{% endif %}
{% endmacro %}
{% macro frequencies(variant) %}
Frequencies
{% for freq_name, value in variant.frequencies %}
-
{{ freq_name }}
{% if value %}
{{ value|human_decimal }}
{% else %}
-
{% endif %}
{% endfor %}
{% endmacro %}
{% macro gt_calls(samples) %}
Sample |
Genotype |
Alleles |
GQ |
1st |
2nd |
{% for sample in samples %}
{{ sample.display_name }} |
{{ sample.genotype_call }} |
{% for allele in sample.allele_depths %}
{{ allele }} |
{% endfor %}
{{ sample.genotype_quality }} |
{% endfor %}
{% endmacro %}
{% macro genes(variant) %}
{% endmacro %}
{% macro ext_links(variant) %}
{# External links #}
{% endmacro %}
{% macro overlapping(other_variants, rank_score) %}
Overlapping SNVs
Variant |
Gene |
Combined score |
Rank score |
Region |
Function |
{% for variant in other_variants %}
{{ variant.display_name|truncate(20, True) }}
|
{{ variant.hgnc_symbols|join(', ') }} |
{{ rank_score + variant.rank_score }} |
{{ variant.rank_score }} |
{{ variant.region_annotations|join(',') }} |
{{ variant.functional_annotations|join(',') }} |
{% else %}
No overlapping SNVs found |
{% endfor %}
{% endmacro %}