Curation
There are several curation workflows implemented in bioregistry.curation.
Bulk Import
A script for doing bulk import.
If you have a local file or remote file accessible by HTTP/HTTPS/FTP, you can use the –path option like in:
$ python -m bioregistry.curation.bulk_google_import --path <your file path>
If you are doing curation on Google Sheets, you can copy the sheet identifier and use the –google-sheet option like in:
$ python -m bioregistry.curation.bulk_google_import --google-sheet 10MPt-H6My33mOa1V_VkLh4YG8609N7B_Dey0CBnfTL4
Semi-automated Literature Curation
Utilities for working with the data produced by the semi-automated curation workflow.
Classes
|
An enumeration for curation relevance. |
Class Inheritance Diagram
digraph inheritance68742f3e6b { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "CurationRelevance" [URL="api/bioregistry.curation.literature.CurationRelevance.html#bioregistry.curation.literature.CurationRelevance",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An enumeration for curation relevance."]; "Enum" -> "CurationRelevance" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Enum" [URL="https://docs.python.org/3/library/enum.html#enum.Enum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Create a collection of name/value pairs."]; }Adding LinkML
Import a resource from a LinkML configuration.
This curation workflow can be called from the command line by passing a URL to a LinkML YAML configuration file like in the following:
$ python -m bioregistry.curation.add_linkml https://github.com/HendrikBorgelt/CatCore/blob/main/src/catcore/schema/catcore.yaml
Here are some more example LinkML YAML configuration files:
https://github.com/HendrikBorgelt/CatCore/blob/main/src/catcore/schema/catcore.yaml
https://github.com/mapping-commons/sssom/blob/master/src/sssom_schema/schema/sssom_schema.yaml
Warning
This workflow doesn’t produce complete Bioregistry records! You still must add:
homepagecontributor
Given most LinkML configurations are on GitHub, you can probably figure out:
repositorycontact
Functions
Get a resource from a LinkML configuration. |
|
|
Get a resource from a LinkML configuration and write it to the registry. |