{%- macro identifier(id) -%} {%- if identifier -%} {{id}} {%- else -%} {{id}} {%- endif -%} {%- endmacro -%}
{{identifier(feature.get_name())}}
{%- if feature.product and feature.gene != feature.get_name() -%} {{feature.product}}
{%- endif -%}
Locus tag: {{identifier(feature.locus_tag)}}
Protein ID: {{feature.protein_id}}
Gene: {{feature.gene}}
{%- if ec_numbers -%} EC-Number(s): {{ec_numbers}}
{%- endif -%} Location: {{ "{:,d}".format(feature.start + 1) }} - {{ "{:,d}".format(feature.end) }}, (total: {{feature.location | length}} nt{%- if (feature.location.parts | length) > 1 -%}, excluding introns{%- endif -%})

{%- for gene_function in feature.gene_functions -%} {{ gene_function }}
{%- endfor -%}
{%- if asf_notes -%} Active site details: {{collapser_start(feature.get_name(), level="none")}}
{%- for domain, hits in asf_notes.items() -%}
{{ domain[0] }} ({{domain[1]}}..{{domain[2]}})
{%- for hit in hits -%} {{ hit }}
{%- endfor -%}
{%- endfor -%}
{{collapser_end()}}
{%- endif -%} {%- if pfam_notes -%}
Pfam hits:{{collapser_start(feature.get_name(), level="none")}} {%- for note in pfam_notes -%} {{note}}
{%- endfor -%} {{collapser_end()}}
{%- endif -%} {%- if tigr_notes -%}
TIGRFam hits:{{collapser_start(feature.get_name(), level="none")}} {%- for note in tigr_notes -%} {{note}}
{%- endfor -%} {{collapser_end()}}
{%- endif -%} {%- if go_notes -%}
Gene Ontology terms for Pfam domains:{{collapser_start(feature.get_name(), level="none")}} {%- for note in go_notes -%} {{note}}
{%- endfor -%} {{collapser_end()}}
{%- endif -%}
{{build_blastp_link(feature.get_name(), "NCBI BlastP on this gene")}}
Blast against antiSMASH-database
{%- if add_ncbi_context and not feature.crosses_origin() -%} View genomic context
{%- endif -%} {%- if urls['mibig'] -%} MIBiG Hits
{%- endif -%} {%- if urls['transport'] -%} TransportDB BLAST on this gene
{%- endif -%} {%- if urls['smcog_tree'] -%} View smCOG seed phylogenetic tree with this gene
{%- endif -%}
AA sequence: Copy to clipboard
Nucleotide sequence: Copy to clipboard