{% 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.
{% if reference_method and sample_method %}{{ 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 %}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 %}
|
{{ raw_vars|string }}
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 %} |