{% extends "humanization/humanize_layout.html" %} {% set title = "Humanization Result" %} {% set SORTABLE = 'sortable' if not has_next_page and not has_prev_page %} {% set RARE_FAMILY_FREQUENCY = 0.01 %} {% from 'humanization/humanize_alignment_component.html' import oasis_sequence_pair with context %} {% block main %}
{{ icon('chevron-left') }} Input
{% if show == 'alignments' %} {{ icon('table') }} Show table {% else %} {{ icon('list-nested') }} Show alignments {% endif %}

Humanization results

{% with result = results[0] %} {% include 'humanization/humanize_params_summary.html' %} {% endwith %}

{% if has_both_chain_types and num_unpaired %} {% endif %} {% if show == 'alignments' %} {% for result in results %} {% set min_subj = result.oasis_params.min_fraction_subjects if result.oasis_params else none %} {% set detail_url = url_for('biophi_humanization.humanize_detail_get', task_id=task_id, index=loop.index + offset) %}

{{ result.input.name }} Show detail

{% if result.humanized_humanness.vh %}
Heavy chain
{{ oasis_sequence_pair(result.parental_humanness.vh, result.humanized_humanness.vh, min_subj, url=detail_url, num_germlines=1) }} {% endif %} {% if result.humanized_humanness.vl %}
Light chain
{{ oasis_sequence_pair(result.parental_humanness.vl, result.humanized_humanness.vl, min_subj, url=detail_url, num_germlines=1) }} {% endif %} {% endfor %} {% else %} {% for result in results %} {% set min_subj = result.oasis_params.min_fraction_subjects if result.oasis_params else none %} {% set detail_url = url_for('biophi_humanization.humanize_detail_get', task_id=task_id, index=loop.index + offset) %} {% if isinstance(result, Exception) %} {% else %} {% if result.humanized_humanness.vh %} {% else %} {% endif %} {% if result.humanized_humanness.vl %} {% else %} {% endif %} {% if result.humanization.vh %} {% else %} {% endif %} {% if result.humanization.vl %} {% else %} {% endif %} {% endif %} {% endfor %}
OASis identity {{ info_icon('Fraction of 9-mer peptides considered human based on given prevalence threshold') }} OASis percentile {{ info_icon('Percentile of OASis identity among therapeutic mAbs at the current prevalence threshold. Zero percentile corresponds to the least human and 100% percentile corresponds to the most human mAb in the clinic, including all clinical stage human, humanized and murine therapeutics.') }} Germline content {{ info_icon('Sequence identity with nearest heavy and light human germline sequences') }} Germlines {{ info_icon('Nearest human germline genes based on sequence similarity.') }} Humanizing mutations {{ info_icon('Number of humanizing mutations made to the parental sequence.') }}
Name Before After Before After Before After VH VL VH VL Actions
{{ result.input.name }}Failed: {{ result }}{{ '{:.0%}'.format(result.parental_humanness.get_oasis_identity(min_subj)) }} {{ '{:.0%}'.format(result.humanized_humanness.get_oasis_identity(min_subj)) }} {{ '{:.0%}'.format(result.parental_humanness.get_oasis_percentile(min_subj)) }} {{ '{:.0%}'.format(result.humanized_humanness.get_oasis_percentile(min_subj)) }} {{ '{:.0%}'.format(result.parental_humanness.get_germline_content()) }} {{ '{:.0%}'.format(result.humanized_humanness.get_germline_content()) }}{{ result.humanized_humanness.vh.v_germline_names[0] }}-{{ result.humanized_humanness.vl.v_germline_names[0] }}-{{ result.humanization.vh.num_mutations() }}-{{ result.humanization.vl.num_mutations() }}- Detail
{% endif %} {% if has_next_page or has_prev_page %}
{% if has_prev_page %} < Previous page {% else %} < Previous page {% endif %} {% if has_next_page %} Next page > {% else %} Next page > {% endif %}
{% endif %}
{% endblock %}