{% extends "base.html" %} {% import "macros.html" as utils %} {% block title %}{{ config.METAREGISTRY_TITLE }} - {{ name }}{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% set twitter = resource.get_twitter() %} {% set keywords = resource.get_keywords() %} {% macro get_banana_text() %} This means that you may see local unique identifiers that include a redundant prefix and delimiter (also known as a banana) and therefore look like a CURIE. For {{ name }}, the banana looks like {{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}. Therefore, you may see local unique identifiers for this resource that look like {{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}{{ example }} (instead of the canonical form {{ example }}) and CURIEs for this resource that look like {{ prefix }}:{{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}{{ example }} (instead of the canonical form {{ prefix }}:{{ example }}). The Bioregistry will automatically strip off the banana when standardizing local unique identifiers and CURIEs. {% endmacro %} {% block container %}
Registry {{ name }} {{ utils.render_resource_warnings(resource) }}
{% if description %}

{{ description }}

{% endif %} {% if provides %}

This resource is a provider. This means that while it may have its own prefix, it actually reuses the identifiers provided by the {{ provides }} prefix. For all use cases, you should use {{ provides }} instead of {{ prefix }}.

{% endif %}
{% if resource.comment %}
Comment
{{ markdown(resource.comment) | safe }}
{% endif %}
Prefix
{{ prefix }}
{% set preferred_prefix = resource.get_preferred_prefix() %} {% if preferred_prefix %}
Preferred Prefix
{{ preferred_prefix }}
{% endif %} {% if synonyms %}
Alternative Prefixes
{% for synonym in synonyms %} {{ synonym }} {% endfor %}
{% endif %} {% if keywords %}
Keywords
{% for keyword in keywords|sort %} {{ keyword }} {% endfor %}
{% endif %} {% if version %}
Version
{{ version }}
{% endif %} {% set resource_license = resource.get_license() %} {% if resource_license %}
License
{{ resource_license }}
{% endif %}
Links {% if homepage or obo_download or owl_download or json_download or rdf_download %} {% endif %}
{% if homepage %} Homepage {% else %} Missing Homepage {% endif %} {% if repository %} Repository {% endif %} {% if obo_download %} OBO {% endif %} {% if owl_download %} OWL {% endif %} {% if json_download %} OBO JSON {% endif %} {% if rdf_download %} RDF {% endif %} {% if resource.github_request_issue %} Request Discussion {% endif %} {% if twitter %} @{{ twitter }} {% endif %}
Contact {% if contact %} {% endif %}
{% if contact %} {{ utils.render_author(contact, link=none) }} {% else %} Missing Contact {% endif %}
Pattern for Local Unique Identifiers
{% if pattern %}

Local identifiers in {{ name }} should match this regular expression:
{{ pattern }}

{% elif has_no_terms %} No terms in {{ prefix }} {% else %} Missing LUI pattern {% endif %}
Example Local Unique Identifier{% if resource.example_extras %}s{% endif %}
{% if example %} {{ example }} {% if providers %}   Resolve {% endif %} {% for extra_example in example_extras %}
{{ extra_example }} {% if providers %}   Resolve {% endif %} {% endfor %} {% elif has_no_terms %} No Terms in {{ prefix }} {% else %} Missing Example Local Unique Identifier {% endif %}
Pattern for CURIES
{% if curie_pattern %}

Compact URIs (CURIEs) constructed from {{ name }} should match this regular expression:
{{ curie_pattern }}

{% elif has_no_terms %} No terms in {{ prefix }} {% else %} Could not construct CURIE pattern {% endif %}
Example CURIE{% if resource.example_extras %}s{% endif %}
{% if example_curie %} {{ example_curie }} {% for example_curie_extra, example_extra in zip(example_curie_extras, example_extras) %}
{{ example_curie_extra }} {% endfor %} {% elif has_no_terms %} No Terms in {{ prefix }} {% else %} Missing Example Local Unique Identifier {% endif %}
{% if namespace_in_lui %}
MIRIAM Namespace Embedded in LUI
The legacy MIRIAM standard for generating CURIEs with this resource annotates the namespaceEmbeddedInLUI as true. {{ get_banana_text() }}
{% elif banana %}
Namespace Embedded in LUI
This resource has been annotated by the Bioregistry as having a potential namespace embedded in LUI. {{ get_banana_text() }}
{% endif %} {% set publications = resource.get_publications() %} {% if publications %}
Publications
{% if publications | length == 1 %} {{ utils.render_publication(publications[0]) }} {% else %}
    {% for publication in publications %}
  • {{ utils.render_publication(publication) }}
  • {% endfor %}
{% endif %}
{% endif %} {% if resource.references %}
References
{% if resource.references | length == 1 %} {{ utils.render_reference(resource.references[0]) }} {% else %}
    {% for reference in resource.references %}
  • {{ utils.render_reference(reference) }}
  • {% endfor %}
{% endif %}
{% endif %} {% if resource.contributor or resource.contributor_extras %}
Contributors
    {% if resource.contributor %}
  • submitter {{ utils.render_author(resource.contributor, link=url_for('metaregistry_ui.contributor', orcid=resource.contributor.orcid)) }}
  • {% endif %} {% for contributor in resource.contributor_extras or [] %}
  • contributor {{ utils.render_author(contributor, link=url_for('metaregistry_ui.contributor', orcid=contributor.orcid)) }}
  • {% endfor %}
{% endif %} {% if resource.reviewer %}
Reviewer
{{ utils.render_author(resource.reviewer, link=url_for('metaregistry_ui.contributor', orcid=resource.reviewer.orcid)) }}
{% endif %}
{% if provides or provided_by or part_of or has_parts or has_canonical or canonical_for or depends_on or appears_in %}
Ontology
{% if provides %}
Provides
{{ manager.get_preferred_prefix(provides) or provides }}
{% endif %} {% if provided_by %}
Provided By
{% for rel_prefix in provided_by %} {{ manager.get_preferred_prefix(rel_prefix) or rel_prefix }} {% endfor %}
{% endif %} {% if part_of %}
Part Of
{% if manager.get_name(part_of) %} {{ manager.get_preferred_prefix(part_of) or part_of }} {% else %} {{ part_of }} (not directly registered) {% endif %}
{% endif %} {% if has_parts %}
Has Part
{% for rel_prefix in has_parts %} {{ manager.get_preferred_prefix(rel_prefix) or rel_prefix }} {% endfor %}
{% endif %} {% if has_canonical %}
Has Canonical
{{ manager.get_preferred_prefix(has_canonical) or has_canonical }}
{% endif %} {% if canonical_for %}
Canonical For ({{ canonical_for | length }})
{% for rel_prefix in canonical_for %} {{ manager.get_preferred_prefix(rel_prefix) or rel_prefix }} {% endfor %}
{% endif %} {% if depends_on %}
Depends On ({{ depends_on | length }})
{% for rel_prefix in depends_on %} {{ manager.get_preferred_prefix(rel_prefix) or rel_prefix }} {% endfor %}
{% endif %} {% if appears_in %}
Appears In ({{ appears_in | length }})
{% for rel_prefix in appears_in %} {{ manager.get_preferred_prefix(rel_prefix) }} {% endfor %}
{% endif %}
{% endif %} {% if mappings %}
Metaregistry {{ name }}

The metaregistry provides mappings between the Bioregistry and other registries. There are {{ mappings | length }} mappings to external registries for {{ prefix }} with {{ mappings | map(attribute='xref') | unique | list | length }} unique external prefixes.

{# #} {% for mapping in mappings %} {# #} {% endfor %}
Registry Name Registry Metaprefix External PrefixExternal NameCurate
{% if mapping.homepage %} {{ mapping.name }} {% else %} {{ mapping.name }} {% endif %} {% if mapping.metaresource.logo_url %} {{ mapping.name }} logo {% endif %} {{ mapping.metaprefix }} {% if mapping.uri %} {{ mapping.xref }} {% else %} {{ mapping.xref }} {% endif %} {{ resource.get_prefix_key("name", mapping.metaprefix) or "" }}
{% endif %} {% if providers %}
Providers

Providers are various services that resolve CURIEs to URLs. The example CURIE {{ utils.code_curie(prefix, example) }} is used to demonstrate the provides available for {{ prefix }}. Generation of OLS and BioPortal URLs requires additional programmatic logic beyond string formatting.

{{ utils.render_provider_table(prefix=prefix, identifier=example, providers=providers) }}
{% endif %} {% set extra_providers = resource.get_extra_providers() %} {% if extra_providers %}
Extra Providers

Additional providers curated in the Bioregistry are listed here.

{% for provider in extra_providers %} {% set url = provider.resolve(example) %} {% endfor %}
Code Name URL
{{ provider.code }} {{ provider.name }}{{ url }}
{% endif %} {% if synonyms %} {% endif %} {% if version %} {% endif %} {% if resource_license %} {% endif %} {% if contact %} {{ utils.render_author_modal(prefix, contact, "contact") }} {% endif %} {% endblock %}