Cross-species MHC allele competence and expression evidence (normalized via mhcgnomes).
Weight mode: {{ mhc_allele_status.policy.expression_weight_mode | e }} ·
Mask lost: {{ 'yes' if mhc_allele_status.policy.mask_lost_alleles else 'no' }} ·
Mask silenced: {{ 'yes' if mhc_allele_status.policy.mask_silenced_alleles else 'no' }} ·
Mask unresolvable: {{ 'yes' if mhc_allele_status.policy.mask_unresolvable_alleles else 'no' }}
{% if mhc_allele_status.affected_epitope_count %}
· Epitopes adjusted: {{ mhc_allele_status.affected_epitope_count }} (total credit removed: {{ '%.3f' % mhc_allele_status.total_credit_removed }})
{% endif %}
| MHC Allele | Status | Weight | DNA LOH / CN | Bulk RNA ASE (Purity) | scRNA Tumor / Immune nTPM (UMIs) | Caveats & Source |
|---|---|---|---|---|---|---|
{{ row.allele | e }} |
{{ row.badge | e }} | {{ '%.2f' % row.ranking_weight }}{% if row.masked %} (masked){% endif %} | {% if row.dna_loh is not none %}{{ 'LOH' if row.dna_loh else 'No LOH' }}{% endif %}{% if row.dna_copy_number is not none %} (CN={{ '%.2f' % row.dna_copy_number }}){% endif %}{% if row.dna_loh is none and row.dna_copy_number is none %}—{% endif %} | {% if row.bulk_rna_allele_ratio is not none or row.bulk_rna_tpm is not none %} {% if row.bulk_rna_allele_ratio is not none %}ratio={{ '%.2f' % row.bulk_rna_allele_ratio }}{% endif %} {% if row.bulk_rna_tpm is not none %}{% if row.bulk_rna_allele_ratio is not none %}, {% endif %}TPM={{ '%.1f' % row.bulk_rna_tpm }}{% endif %} {% if row.tumor_purity is not none %} (purity={{ '%.0f%%' % (row.tumor_purity * 100) }}){% endif %} {% else %}—{% endif %} | {% if row.scrna_tumor_cluster_ntpm is not none or row.scrna_resolvable_umis is not none %} {% if row.scrna_tumor_cluster_ntpm is not none %}{{ '%.1f' % row.scrna_tumor_cluster_ntpm }}{% else %}—{% endif %} / {% if row.scrna_immune_control_ntpm is not none %}{{ '%.1f' % row.scrna_immune_control_ntpm }}{% else %}—{% endif %} {% if row.scrna_resolvable_umis is not none %} ({{ row.scrna_resolvable_umis }} UMIs{% if row.scrna_chemistry %}, {{ row.scrna_chemistry | e }}{% endif %}){% endif %} {% else %}—{% endif %} |
{% if row.caveats %}{{ row.caveats | join('; ') | e }}{% endif %}
{% if row.assay_source %}{% if row.caveats %} {% endif %}{{ row.assay_source | e }}{% endif %} {% if row.notes %} {{ row.notes | e }}{% endif %} {% if not row.caveats and not row.assay_source and not row.notes %}—{% endif %} |
Antigen presentation machinery (APM): {% for label, val in [('B2M', apm.b2m_status), ('TAP1', apm.tap1_status), ('TAP2', apm.tap2_status), ('NLRC5', apm.nlrc5_status), ('JAK1', apm.jak1_status), ('JAK2', apm.jak2_status)] if val %} {{ label }}: {{ val | e }}{% if not loop.last %}; {% endif %} {% endfor %} {% if apm.disrupted_genes %} · APM disruption: {{ apm.disrupted_genes | join(', ') | e }}{% endif %} {% if apm.notes %} · {{ apm.notes | e }}{% endif %}
{% endif %}