{% if results %} {% for proto in region.get_unique_protoclusters() %} {% endfor %} {% for ref, total in results %} {% for proto in region.get_unique_protoclusters() %} {% endfor %} {% for ref_proto in ref.protoclusters %} {% for proto in region.get_unique_protoclusters() %} {%- set scorer = proto_results.get(proto.get_protocluster_number(), {}).get(ref, {}).get(ref_proto) -%} {% if scorer -%} {%- set perc = "{:.0f}".format(scorer.final_score*100) -%} {%- set colour = "rgb(0, 0, 0, {:.2f})".format(scorer.final_score) -%} {% else %} {% endif %} {% endfor %} {% endfor %} {% endfor %}
Reference{{proto.product}}Similarity score Type Compound(s) Organism
{% if url %}{{ref.accession if class_name == "MIBiG" else ref.get_identifier()}}{% else %} {{ref.get_identifier()}} {% endif %}{{"{:.2f}".format(total)}} {{ref.get_product_string()}} {{ref.description}} {{ref.organism}}
{{ref_proto.product}}
{% else %}

No matches found.

{% endif %}