{% extends "base.html" %} {% set active_page = "description-extractor" %} {% set page_title = "Variant Description Extractor" %} {% block content %}

Note that this is an experimental service.

Extract the HGVS variant description from a reference sequence and an observed sequence. For now, we require the user to fill in two sequences. After the testing phase, we plan to use the underlying algorithm for:

Please supply a reference sequence and an observed sequence.

Reference input

Example: ATGATGATCAGATACAGTGTGATACAGGTAGTTAGACAA

Example: NM_004006.1

Sample input

Example: ATGATTTGATCAGATACATGTGATACCGGTAGTTAGGACAA

Example: NM_004006.2

Help
{% if reference_method and sample_method %}
{% for m in messages %} {% if m.class == "error" %}

{{ m.description }}

{% elif m.class == "warning" %}

{{ m.description }}

{% elif m.class == "information" %}

{{ m.description }}

{% elif m.class == "debug" %}

{{ m.description }}

{% endif %} {% endfor %} {% if summary == "0 Errors, 0 Warnings." %}

{{ summary }}

{% else %}

{{summary}}

{% endif %} {% if not errors %}

Input

Field Value
Reference input {% if reference_method == 'raw_method' %} {{ reference_sequence|short(40) }} {% elif reference_method == 'file_method' %} File upload {% elif reference_method == 'refseq_method' %} {{ reference_accession_number }} {% endif %}
Sample input {% if sample_method == 'raw_method' %} {{ sample_sequence|short(40) }} {% elif sample_method == 'file_method' %} File upload {% elif sample_method == 'refseq_method' %} {{ sample_accession_number }} {% endif %}

Description

{{ raw_vars|string }}

Overview of the raw variants

{% for raw_var in raw_vars %} {% endfor %}
Start End Type Deleted Inserted Shift Description
{{ raw_var.start }} {{ raw_var.end }} {{ raw_var.type }} {{ raw_var.deleted|string|short }} {{ raw_var.inserted|string|short }} {{ raw_var.shift }} {% if raw_var|string|length > 20 %}Too long to show{% else %}{{ raw_var|string }}{% endif %}
{% endif %}{# not errors #} {% endif %}{# description #} {% endblock content %}