Lanthipeptide predictions {{ help_tooltip(tooltip, "lanthi-body") }}
{% if not results %} Lanthipeptides - No core peptides found. {% else %} {% for locus in results | sort %}

Lanthipeptide(s) for {{ locus }}


{% for core, motifs in results[locus].items() %}
{% for motif in motifs %} {% set motif_name = motif.get_name().rsplit("_", 1)[0] %}
{{ motif_name }}
Leader:
{{ motif.leader }}
{% endfor %}
{% if motifs | length > 1%}Shared core:{% else %}Core:{% endif %}
{{ coloured_ripp_sequence(core) }}
Core with dehydrations:
{{ coloured_ripp_sequence(core, dehydrate=True) }}
{{ comparippson.get_html_for_query(motifs[0].get_name().rsplit("_", 1)[0]) }}
{% endfor %} {% endfor %}

Legend:

Dha: Didehydroalanine
Dhb: Didehydrobutyrine
{% endif %}