{% import 'legend_entry_macro.html' as le %} {% set results = results_by_record_id[record.id] %} {% set show_tta = tta_name in results and record.get_gc_content() >= options.tta_threshold %}
{{record.get_name()}} - Region {{region.get_region_number()}} - {{region.get_product_string()}} {{help_tooltip(svg_tooltip, "region_svg")}}
{% if options.region_gbks %} {% endif %}
{{region.description_text()}} {% if region.detection_rules %} Show pHMM detection rules used {% endif %} {% if region.contig_edge %}
Region on contig edge.
{% endif %}
{% if region.detection_rules %}
{{- region.detection_rules|join('
'|safe) -}}
{% endif %}

Legend:

{{le.legend('legend-type-biosynthetic', 'core biosynthetic genes')}} {{le.legend('legend-type-biosynthetic-additional', 'additional biosynthetic genes')}} {{le.legend('legend-type-transport', 'transport-related genes')}} {{le.legend('legend-type-regulatory', 'regulatory genes')}} {{le.legend('legend-type-other', 'other genes')}}
{% call le.symbol_legend('legend-resistance', 'resistance') %} {% endcall %} {% if show_tta %} {% call le.symbol_legend('legend-tta-codon', 'TTA codons') %} {% endcall %} {% endif %} {% if tfbs_name in results %} {% call le.static_symbol_legend('legend-binding-site', 'binding site') %} {% endcall %} {% endif %} {% if region.has_subregion_by_tool("cassis") %} {{le.static_legend('legend-border-cassis', 'cluster extent as predicted by CASSIS')}} {% endif %}
reset zoomreset view
zoomzoom to selection
Gene details {{help_tooltip("Shows details of the most recently selected gene, including names, products, location, and other annotations.", "focus-panel")}}
Select a gene to view the details available for it
{% set all_module_sections = sections[record.id][region.get_region_number()] %}
{% for module_sections in all_module_sections %} {% for section in module_sections.detail_sections %}
{{section.label}}
{% endfor %} {% endfor %}
{% for module_sections in all_module_sections %} {% for section in module_sections.detail_sections %}
{{section.content}}
{% endfor %} {% endfor %}
{% for module_sections in all_module_sections %} {% for section in module_sections.sidepanel_sections %}
{{section.label}}
{% endfor %} {% endfor %}
{% for module_sections in all_module_sections %} {% for section in module_sections.sidepanel_sections %}
{{section.content}}
{% endfor %} {% endfor %}