{% macro table(diagnostic_yield, show_genes=False) %}
{{ _('Sample') }} | {{ _('Fully covered transcripts') }} [%] | {{ _('Incompletely covered') }} {{ _('transcripts') }} | {% if show_genes %}{{ _('Incompletely covered') }} {{ _('genes') }} | {% endif %}
---|---|---|---|
{{ sample.sample_id }} | {{ data.diagnostic_yield|round(3) }} | {{ data.count }} / {{ data.total_count }} | {% if show_genes %}{% for transcript in data.transcripts %} {{ transcript.gene.gene_id }} {% else %} - {% endfor %} | {% endif %}