{% extends 'base.html' %} {% block title %} {% if family %} {{ family.name }} details {% else %} Gene family not found {% endif %} {% endblock %} {% block container %} {% import 'macros/pagination.html' as macro %} {% import 'macros/ajax_table.html' as ajax %}
{% if family %}

{{ family.name }} ({{ family.method.method }})

View comparative expression as heatmap: raw | row-normalized

Trees: {% for t in family.trees %} {{t.label}} ({{t.method.description}}) {% else%} No tree available {% endfor %}

{% if family.clade_id %}

Specific for {{ family.clade.name}}

{% endif %} {% if family.go_annotations.count() > 0 %}

GO Terms (top 5): {% for term in family.go_annotations %} {{ term.go_term.name }}{%- if not loop.last -%}, {%- endif -%} {% endfor %}

{% endif %} {% if family.interpro_annotations.count() > 0 %}

InterPro domains (top 3): {% for domain in family.interpro_annotations %} {{ domain.domain.description }}{%- if not loop.last -%}, {%- endif -%} {% endfor %}

{% endif %}

There are {{ count }} sequences with this label.

{% if count > 0 %}
{% endif %}
{{ macro.pagination( 'Sequences', url_for('family.family_sequences', family_id=family.id), count, url_for('family.family_sequences_table', family_id=family.id), 'seq' ) }}
{{ macro.pagination( 'Expression Context Conservation', url_for('family.family_ecc_relations', family_id=family.id), -1, none, 'ecc' ) }}
{% if (count >= 300) %}
Info: GO-associations disabled for items with more than 300 associated sequences ! {% if (count >= 5000) %}
InterPro and Family associations disabled for items with more than 5000 associated sequences ! {% endif %}
{% endif %} {% if (count < 5000) %} {{ ajax.ajax_table( 'InterPro Domains', url_for('family.family_interpro_ajax', family_id=family.id), none, 'interpro_ajax' ) }} {% endif %} {% if (count < 300) %} {{ ajax.ajax_table( 'GO terms', url_for('family.family_go_ajax', family_id=family.id), none, 'go_ajax' ) }} {% endif %} {% if (count < 5000) %} {{ ajax.ajax_table( 'Other families', url_for('family.family_family_ajax', family_id=family.id), none, 'family_ajax' ) }} {% endif %}
{% for xref in xrefs %} {% else %} {% endfor %}
{{ xref.platform }} {{ xref.name }}

No external references for this sequences in the database.

{% endif %}
{% endblock %} {% block extrajs %} {% if count > 0 %} {% endif %} {% endblock %}