{% extends 'base.html' %} {% block title%} {{ keyword }} search results {% endblock %} {% block container %}
{% if advanced %}

Advanced Search Results

{% if sequences|length > 199 %}
Info! Advanced search results are limited to 200 items. Try a more specific term query to narrow down search results.
{% endif %} {% else %}

Search results for: {{ keyword }}

{% if ((sequences|length > 49) or (go|length > 49) or (interpro|length > 49) or (families|length > 49) or (profiles|length > 49)) %}
Info! Results are limited to 50 items per category. Try a more specific term or use the advanced search to get more accurate results.
{% endif %} {% endif %}
{% if sequences %} {% if advanced %}
{% else %}
{% endif %}
Found {{ sequences|length }} sequences
{% if advanced %}
{% else %}
{% endif %}
{% for s in sequences %} {% endfor %}
{{ s.name }} {%- if s.aliases -%}{{ s.aliases|truncate(20) }}{% endif %} {%- if s.description -%}{{ s.description|truncate(60) }}{% endif %}
{% endif %} {% if go %}
Found {{ go|length }} GO terms
{% for g in go %} {% endfor %}
{{ g.label }}: {{ g.name }}
{% endif %} {% if interpro %}
Found {{ interpro|length }} InterPro domains
{% for i in interpro %} {% endfor %}
{{ i.label }}: {{ i.description }}
{% endif %} {% if families %}
Found {{ families|length }} families
{% for f in families %} {% endfor %}
{{ f.name }}: {{ f.method.method }}
{% endif %} {% if profiles %}
Found {{ profiles|length }} expression profiles
{% for p in profiles %} {% if p.sequence %} {% endif %} {% endfor %}
{{ p.probe }}{{ p.sequence.name }} {%- if p.sequence.aliases -%}{{ p.sequence.aliases|truncate(20) }}{% endif %} {%- if p.sequence.description -%}{{ p.sequence.description|truncate(60) }}{% endif %}
{% endif %} {% if not (sequences or go or interpro or families or profiles) %}

No results found for {{ keyword }}, try a more general term or the advanced search.

{% endif %}
{% endblock %} {% block extrajs %} {% endblock %}