{% autoescape true %}

Selection rules and score calculations

{% if selection_policy.available %}

Recorded policy: {{ selection_policy.name }}; Vaxrank {{ selection_policy.version }}. These are resolved design settings. Raw invocation defaults in Methods and provenance do not override saved assembly settings.

Effective configuration identity: {{ selection_policy.identity }}

{% for section in selection_policy.sections %}

{{ section.title }}

{% for label, value in section.rows %}{% endfor %}
{{ label }}{{ value }}
{% endfor %} {% else %}

Effective run configuration was not recorded or was not supplied to this report. The calculations below use the actual candidate objects; invocation defaults are not substituted for historical design settings.

{% endif %} {% if score_calculations %}

Candidate score calculations

The expression is taken from each candidate. Its target_epitope_score sums the stored scores of retained target occurrences; With MS scoring, this is the baseline allele sum plus one maximum MS increment per unique peptide sequence in the window. The MS transform is B^(1/G), where G = 1 + gain × log2(1 + max(R, P, J)); these are heuristic ranking scores, not probabilities. Without MS scoring, each occurrence sums its credited allele scores. This is distinct from a window utility that uses unique sequence/allele pairs. Presentation, WT comparison, cleavage, RNA support and manufacturability affect this expression only when its recorded terms use them. Admission and window-selection constraints may act separately.

{% for calculation in score_calculations %}{% endfor %}
SourcesExpression and inputsResult / target contributions
{% for source in calculation.sources %}{{ source }}{% if not loop.last %}, {% endif %}{% endfor %} {{ calculation.expression }}{% for term in calculation.terms %}
{{ term.name }} = {{ term.display }} ({{ term.unit }}){% if term.evidence %}
{{ term.evidence }}{% endif %}{% endfor %}
Combined score: {{ calculation.result }}
Target-epitope total: {{ calculation.target_score }} {% for target in calculation.targets %}

{{ target.sequence }}, offset {{ target.offset }}: {% for allele, score in target.allele_scores.items() %}{{ allele }}: {{ '%.6g' | format(score) }}{% if not loop.last %}; {% endif %}{% endfor %}{% if target.ms_scoring %}
MS increment (counted once per sequence): {{ "%.6g" | format(target.ms_increment) }}{% for allele, trace in target.ms_scoring.items() %}
{{ allele }}: base {{ trace.base }}, adjusted {{ "%.6g" | format(trace.adjusted) }}; resolved support {{ trace.resolved }}, presence {{ trace.presence }}, reference support {{ trace.reference }}{% endfor %}{% endif %}

{% endfor %}
{% endif %} {% include "templates/window_decisions.html" %} {% endautoescape %}