{% import "bootstrap/wtf.html" as wtf %} {% from "utils.html" import comments_table %} {% from "cases/utils.html" import pretty_link_variant %} {% from "variants/indicators.html" import pin_indicator, causative_badge, clinical_assessments_badge, comments_badge, dismissals_badge, evaluations_badge, group_assessments_badge, matching_manual_rank, research_assessments_badge %} {% macro filter_script_main(cytobands) %} {% endmacro %} {% macro callers_cell(variant) %} {% for filter in variant.filters %} {{ filter.label }} {% endfor %} {% for name, caller in variant.callers %} {{ name }} {% endfor %} {% endmacro %} {% macro mark_heteroplasmic_mt(individuals, samples) %} {% for ind in individuals if ind.phenotype == 2 %} {% for gt in samples|selectattr("sample_id", "equalto", ind.individual_id) %} {% if gt.alt_frequency and gt.alt_frequency < 0.9 and gt.alt_frequency != -1 %} {{ (100*gt.alt_frequency)|round(1) }}% {% endif %} {% endfor %} {% endfor %} {% endmacro %} {% macro archived_observations_filter(form) %} {% if config.SHOW_OBSERVED_VARIANT_ARCHIVE and config.SHOW_OBSERVED_VARIANT_ARCHIVE is true %} {{ form.local_obs_old.label(class="control-label") }} {{ form.local_obs_old(class="form-control") }} {% endif %} {% endmacro %} {% macro archived_observations_cancer_filters(form) %} {% if config.SHOW_OBSERVED_VARIANT_ARCHIVE and config.SHOW_OBSERVED_VARIANT_ARCHIVE is true %}
Variant | Combined score {% if not is_popover %} ? | {% endif %}Rank score | Gene annotation | Func. annotation |
---|---|---|---|---|
{% if compound.not_loaded %} {{ compound.display_name }} (not loaded) {% elif is_popover %} {{ compound.display_name }} {% else %} {{ compound.display_name|truncate(20, True) }} {% if 'suspects' in case and compound.variant in case.suspects %} {% endif %} {% endif %} | {{ compound.combined_score }} | {{ compound.rank_score }} |
{% for annotation in compound.region_annotations %}
{{ annotation }} {% endfor %} |
{% for annotation in compound.functional_annotations %}
{{ annotation }} {% endfor %} |
Pos | Type | Length | Rank score |
---|---|---|---|
{{ pretty_link_variant(variant, case) }} | {{ variant.sub_category }} | {{ variant.length if variant.length < 100000000000 else '-' }} | {{ variant.rank_score }} |