OBOFoundry / OBOFoundry.github.io

Metadata and website for the Open Bio Ontologies Foundry Ontology Registry
http://obofoundry.org
Other
161 stars 201 forks source link

Non-obsolete ontologies are missing licenses (and contact information) #1637

Closed cthoyt closed 2 years ago

cthoyt commented 2 years ago

There are several ontologies that are not marked as deprecated that don't have licenses (though it might be the case that all are orphaned). Worse, these ontologies are offenders in not having very well-documented metadata on how to get in touch or request improvements:

prefix contact email github tracker
fix chEBI
miro C. Louis louis@imbb.forth.gr
ogi
rex
vario Mauno Vihinen mauno.vihinen@med.lu.se

The following code was used to produce this table after running pip install bioregistry:

from tabulate import tabulate

from bioregistry.external.obofoundry import get_obofoundry

def main():
    rows = []
    for key, entry in sorted(get_obofoundry(force_download=True).items()):
        if entry["deprecated"]:
            continue
        license_label = entry.get("license")
        license_url = entry.get("license.url")
        if license_label is None and license_url is None:
            contact_email = entry.get("contact", "")
            contact_name = entry.get("contact.label", "")
            contact_github = entry.get("contact.github", "")
            tracker = entry.get("tracker", "")
            rows.append((
                f"[{key}](http://www.obofoundry.org/ontology/{key})",
                contact_name,
                contact_email,
                contact_github and f"@{contact_github}",
                tracker,
            ))

    print(tabulate(
        rows,
        headers=["prefix", "contact", "email", "github", "tracker", ],
        tablefmt="github",
    ))

if __name__ == '__main__':
    main()
cthoyt commented 2 years ago

After doing some digging in the PURL system, there is some GitHub information available:

cthoyt commented 2 years ago

@GerardGH were you at some point responsible for the variation ontology? Do you know under what license it was distributed?

nlharris commented 2 years ago

Pinging @GerardGH again

cthoyt commented 2 years ago

It's worth noting that when I wrote the code that checked this, I was unaware of the difference between the obsolete label and inactive/orphaned labels. These five ontologies are all marked as orphaned, and should therefore be disregarded for most checks. I think it's okay to close this, though any input would still be welcome