{% load staticfiles %} {% load extras %}
| # | contig | query | length | e-value | score | ident % |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ alignment.hit_def }} | {{ br.query }} | {{ alignment.length }} | {{ alignment.best_evalue }} | {{ alignment.best_score }} | {{ alignment.best_identities }} |
{{ alignment.hit_def }} length = {{ alignment.length }}
{% for hsp in alignment.hsp_list %}| hsp | {{ forloop.counter }} |
|---|---|
| length | {{ hsp.align_length }} |
| e-value | {{ hsp.expect }} |
| score | {{ hsp.score }} |
| identities | {{ hsp.identities }} |
| positives | {{ hsp.positives }} |
| bits | {{ hsp.bits }} |
| query start | {{ hsp.query_start }} |
| query end | {{ hsp.query_end }} |
| subject start | {{ hsp.sbjct_start }} |
| subject end | {{ hsp.sbjct_end }} |
{% for idx in hsp.chop_query %}
Q: {{ hsp.chop_query|get_at_index:forloop.counter0 }}
M: {{ hsp.chop_match|get_at_index:forloop.counter0 }}
S: {{ hsp.chop_sbjct|get_at_index:forloop.counter0 }}
{% endfor %}