{% macro compounds_table(institute, case, compounds) %} {% for compound in compounds %} {% endfor %}
Variant Combined score Rank score Gene annotation Func. annotation
{% if compound.not_loaded %} {{ compound.display_name }} (not loaded) {% else %} {{ compound.display_name|truncate(20, True) }} {% endif %} {{ compound.combined_score }} {{ compound.rank_score }} {% for annotation in compound.region_annotations %} {{ annotation }}
{% endfor %}
{% for annotation in compound.functional_annotations %} {{ annotation }}
{% endfor %}
{% endmacro %} {% macro svs_table(institute, case, overlapping) %} {% for sv in overlapping %} {% endfor %}
Region Type Length Rank score
{{ sv.chromosome }}{{ sv.cytoband_start }} {{ sv.sub_category }} {{ sv.length if sv.length < 100000000000 else "-" }} {{ sv.rank_score }}
{% endmacro %}