{% 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 %}
.vcf
{% for r in results %} {% if r.typ < 4 %} {% else %} {% endif %} {{ all_link(r.chrom, r.position, r.ref, "ACGT"[r.typ], None, r.symbols, query.usehg19) }} {% endfor%}
# RSID Symbol C Samples Effect Het Alt Qual AF Location Impact IGV UCSC 1000G (HG19) OMIM ExAC (HG19)
+ {{ loop.index }} {{ r.rsid | rsid }} {% 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.rowheterozygot|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] }}
{% endblock %}