{% extends 'report/layouts/base.html' %}
{% block main %}
{% for tx_id, tx_group in tx_groups %}
{% set txgroup_list = tx_group|list %}
Transcript: {{ tx_id }}
Sample |
Mean coverage |
{% for level, _ in levels %}
Completeness {{ level }}X |
{% endfor %}
{% for transcript in txgroup_list %}
{{ id_map[transcript.sample_id]|default(transcript.sample_id) }} |
{{ transcript.mean_coverage|round(2) }} |
{% for _, field_id in levels %}
{% if transcript|attr(field_id) is number %}
{{ transcript|attr(field_id)|round(2) }}
{% endif %}
|
{% endfor %}
{% endfor %}
{% for transcript in txgroup_list %}
-
{% if transcript._incomplete_exons %}
Incomplete exons
{% else %}
No incomplete exons
{% endif %}
for {{ id_map[transcript.sample_id]|default(transcript.sample_id) }} at {{ transcript.threshold }}X
{% for exon_group in transcript.incomplete_exons|batch(5) %}
{% for exon in exon_group %}
{{ exon.chrom }}:{{ exon.start }}-{{ exon.end }}
{{ exon.completeness|round(2) }}
|
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}