{% macro gene_table(genes) %}
Gene | ID | Location | Description | Omim | Morbid | Constraint LoF Score | HI |
---|---|---|---|---|---|---|---|
{% if gene.hgnc_id %} {{ gene.symbol }} {% else %} {{ gene.symbol }} {% endif %} | {% if gene.ensembl_id %} {{ gene.ensembl_id }} {% else %} {{ '-' }} {% endif %} | {{ gene.location or '-' }} | {{ gene.description or '-' }} | {% if gene.omim_number %} {{ gene.symbol }} {% else %} {{ '-' }} {% endif %} | {{ gene.morbid or '-' }} | {% if gene.constraint_score %} {{ gene.constraint_score|round(4) }} {% else %} {{ '-' }} {% endif %} | {% if gene.hi_score %} {{ gene.hi_score|round(2) }} {% else %} {{ '-' }} {% endif %} |