Candidate ranking

Ranked source windows with key scoring, RNA/expression, and top HLA epitope evidence. Exact emitted sequences and placements follow under Emitted products.

{% if ranked_candidates %} {% macro ranking_table(rows) %} {% for candidate in rows %}{% endfor %}
RankTarget / sourceScore & ranking evidenceTop candidate windowLinked products
{% if candidate_details %}{{ candidate.rank }}{% else %}{{ candidate.rank }}{% endif %} {{ candidate.gene | e }} ({{ candidate.kind | e }})
{{ candidate.source_id }}{% if candidate.qualifying_timepoints %} {{ candidate.qualifying_timepoints | join(', ') | e }}{% endif %}{% if candidate.qualified_only_earlier %} Earlier TP only{% endif %}{% if candidate.normal_badge %} {{ candidate.normal_badge | e }}{% endif %}
{{ candidate.score }}{% if candidate.target_score is defined %} (epitope {{ candidate.target_score }}){% endif %}{% if candidate.ms_supported %} MS{% endif %} {% if candidate.rna_summary %}
RNA: {{ candidate.rna_summary | e }}{% endif %} {% if candidate.top_epitope %}
Top: {{ candidate.top_epitope | e }}{% if candidate.epitope_count > 1 %} (+{{ candidate.epitope_count - 1 }}){% endif %}{% endif %}
{{ candidate.window | e }}{% if candidate.window_count > 1 %}
{{ candidate.window_count }} retained windows{% endif %}
{% if candidate.selected_products %}{% for prod in candidate.selected_products %}{{ prod | e }}{% if not loop.last %}
{% endif %}{% endfor %}{% else %}{{ candidate.products | e }}{% endif %}{% for outcome in candidate.assembly_outcomes %}
{{ outcome.modality }}: {{ outcome.outcome | replace('_', ' ') }}{% if outcome.shared %}; shared exact sequence{% endif %}{% endfor %} {% for decision in candidate.window_decisions %}
Window {{ decision }}{% endfor %}
{% endmacro %} {% set selected_rows = ranked_candidates | selectattr('selected') | list %} {% set other_rows = ranked_candidates | rejectattr('selected') | list %} {% if selected_rows and other_rows %}

Selected candidates ({{ selected_rows | length }})

{{ ranking_table(selected_rows) }}
Additional ranked candidates not emitted in products ({{ other_rows | length }}) {{ ranking_table(other_rows) }}
{% else %} {{ ranking_table(ranked_candidates) }} {% endif %} {% if not candidate_details %}

Use --report-candidate-details to include grouped source windows and full epitope tables.

{% endif %} {% else %}

No candidates passed ranking.

{% endif %}