{% if messages['downloads']['sites'] != 'disabled' or messages['downloads']['snps'] != 'disabled' or messages['downloads']['expression'] != 'disabled' %}
{% endif %}
{% if messages['downloads']['sites'] == 'disabled' %}
×
Warning! There isn't any regulatory element in this region
{%- else -%}
Table of the coordinates of the regulatory sites
Site
Chromosome
Start
End
{% if 'tfs' in messages['table_tfbs'][0] %}
TFs
{% endif %}
{% for line in messages['table_tfbs'] %}
{{ line['group'] }}
{{ line['chromosome'] }}
{{ line['start'] }}
{{ line['end'] }}
{% if 'tfs' in line %}
{{ line['tfs'] }}
{% endif %}
{% endfor -%}
{%- endif -%}
{% if messages['downloads']['snps'] == 'disabled' %}
×
Warning! There are no SNPs in this region
{%- else -%}
Table of the ten most significant {{ messages['table_snp'][0]['dataset'] }} SNPs
SNP
Chromosome
Position
P-Value
{% for line in messages['table_snp'] %}
{{ line['snp_id'] }}
{{ line['chromosome'] }}
{{ line['position'] }}
{{ line['p_value'] }}
{% endfor -%}
{%- endif -%}
{% if messages['downloads']['expression'] == 'disabled' %}
×
Warning! There isn't any gene in this region
{%- else -%}
Table of RNA gene expression
Gene
Chromosome
Start
End
Expression
{% for line in messages['table_expression'] %}
{{ line['gene'] }}
{{ line['chromosome'] }}
{{ line['start'] }}
{{ line['end'] }}
{{ line['expression'] }}
{% endfor -%}
{%- endif -%}
{% endblock %}