Detailed terpene predictions {{ help_tooltip(tooltip, "terpene-body") }}
{% for cluster, prediction in preds_by_cluster.items() %}
{% if preds_by_cluster | length > 1 %}
Terpene cluster {{ loop.index }} ({{ "{:,d}".format(cluster.location.start) }} - {{ "{:,d}".format(cluster.location.end) }}):
{% endif %}
Product predictions:
{% if prediction.products %} {% for product in prediction.products %} {% endfor %}
Class Subclass Product name Chain length Initial cyclisations Functional groups
{{ product.biosynthetic_class }} {{ product.biosynthetic_subclass }} {{ product.get_compound_name() }} C{{ product.chain_length }} {{ product.get_cyclisations_description() }} {{ product.get_functional_groups_description() }}
{% else %} No product predictions {% endif %}
Genes with terpene domains:
{% if prediction.cds_predictions.items() %} {% for cds, domain_preds in prediction.cds_predictions.items() %}
{{ cds_selector_span(cds, ["section-header"]) }}: {{ format_domain_types(domain_preds) }} {{collapser_start(target=cds, level="cds")}} {% for pred in domain_preds %}
Domain {{ loop.index }} ({{ "{:,d}".format(pred.start+1)}} - {{ "{:,d}".format(pred.end) }}): {{ get_domain_description(pred) }} {% if format_subtype(pred) != "none" or pred.reactions %} {{collapser_start(cds, level="cds")}}
{% if format_subtype(pred) != "none" %} Subtype: {{ format_subtype(pred) }}
{% endif %} {% if pred.reactions %}
Reactions:
{{ format_reactions(pred) }}
{% endif %}
{{collapser_end()}} {% endif %}
{% endfor %} {{collapser_end()}}
{% endfor %} {% else %} No domains found {% endif %}
{% endfor %}