{% extends "layout.html" %} {% from "macros.html" import list_out, list_out_bytes, igv_link, igv_open_file, ucsc_link, genemania_single_link, ensemble_link, all_link %} {% block caption %}{% endblock %} {% block title %}SNP{% endblock %} {% block body %}
{% for r in results %} {% if r.typ < 4 %} {% else %} {% endif %} {% endfor%}
# Symbol C Samples Effect Het Alt Qual AF Location Impact Links
+ {{ loop.index }} {% for symbol in r.symbols %} {% set s = symbol.decode() %} {{ ensemble_link(s) }}{% if not loop.last %}, {% endif %} {% endfor %} {{ r.common | length }} {% for s in r.samples %} {{ igv_open_file('bam' + "/" + s + '.bam', s) }} {% if not loop.last %}, {% endif %} {% endfor %}{{ list_out() }} {{ r.effect|effects }} {{ r.heterozygot|heterozygosity}}{{ r.ref }}>{{ "ACGT"[r.typ] }}{{ r.maxqual }} {{ (r.minaf) | round(2) }} - {{ (r.maxaf) | round(2) }} {{ r.chrom }}:{{ r.position }} {{ ["MODIFIER", "LOW", "MODERATE", "HIGH"][r.maximpact] }} {{ all_link(r.chrom, r.position) }}
{% endblock %}