{# Single-sample chimerism report. Reads the render context built by allomix.html.context.single_context. To restyle for a lab, override styles.css; to restructure, override this file (and macros.html) via --template. #} {% extends "base.html" %} {% import "macros.html" as m %} {% block body %} {{ m.header(header_rows) }}

Result

QC verdict
{{ badge(analysis.qc_status, large=True) }}
{% if "donors" in analysis %} {% for d in analysis.donors %} {{ m.figure_card("Donor " ~ loop.index ~ " fraction", d.donor_pct | pct_value, ci(d.ci_lo, d.ci_hi, as_pct=False)) }} {% endfor %} {{ m.figure_card("Combined donor", analysis.total_donor_pct | pct_value) }} {{ m.figure_card("Host (recipient)", analysis.host_pct | pct_value) }} {% else %} {{ m.figure_card("Donor fraction", analysis.donor_pct | pct_value, ci(analysis.ci_lo, analysis.ci_hi, as_pct=False)) }} {{ m.figure_card("Host (recipient)", analysis.host_pct | pct_value, ci(host_ci_lo, host_ci_hi, as_pct=False)) }} {% endif %}
{% if "donors" not in analysis %}
Sample sensitivity (as a donor fraction): limit of blank {{ analysis.lob_pct | pct_value }}, limit of detection {{ analysis.lod_pct | pct_value }}.
{% endif %} {{ m.help_fractions() }}
{{ m.host_presence(host_presence.hp, host_presence.detected) }} {{ m.qc_panel(qc) }} {{ m.footer(version, params, citation, timestamp) }} {% endblock %}