Vaccine Design Report
{% for key, val in patient_info.items() %}
{{ key }}: {{ val }}
{% endfor %}

{% include "templates/products.txt" %}

{% if ranked_candidates is defined %}{% include "templates/ranking.txt" %}{% endif %}

{% if candidate_details | default(true) and variants %}
=== Candidate window details ===
Candidate context only. Final sequences are listed under Emitted products.
{% for v in variants %}
{{ v.num }}) {{ v.short_description }} ({{ v.variant_data['Gene name'] }})
        {% for key, val in v.variant_data.items() %}
        {{ key }}: {{ val }}
        {% endfor %}

        {% for key, val in v.effect_data.items() %}
        {{ key }}: {{ val }}
        {% endfor %}

        Candidate windows:
        {% for p in v.peptides %}
                {{ p.header_display_data.num }}. {{ p.header_display_data.aa_before_mutation }}_{{ p.header_display_data.aa_mutant }}_{{ p.header_display_data.aa_after_mutation }} (score = {{ v.variant_data["Top score"] }})
                  {% for key, val in p.peptide_data.items() %}
                  - {{ key }}: {{ val }}
                  {% endfor %}

                  Predicted target epitopes:
                  {{ p.ascii_epitopes|indent(18) }}

                  {% if include_wt_epitopes and p.wt_epitopes %}
                  Predicted self epitopes:
                  {{ p.ascii_wt_epitopes|indent(18) }}
                  {% endif %}

        {% endfor %}
{% endfor %}
{% endif %}

Run arguments
{% for key, val in args %}
  {{ key }}: {{ val }}
{% endfor %}

Package versions
{% for key, val in package_versions.items() %}
  {{ key }}: {{ val }}
{% endfor %}
