...
Create Github issue if needed in https://github.com/Sage-Bionetworks/synapseAnnotations/issues
Term information is stored in JSON schemas in the synapseAnnotations/terms directory.
NOTE: Terms specific to MODEL-AD are stored in: synapseAnnotations/terms/neuroCreate a JSON schema file or edit an existing one.
Copy and Paste schema template.
Edit
$id
line with Modulename and Key name.Version numbers start with
0.0.1
and should be incremented with each update.Add new term, a brief definition, and an ontology citation for the included definition.
Create a branch name formatted like ‘username-edit-type/‘
Add a brief description of changes to commit
Data checks will start to run in the background. All data checks must successfully pass.
Once desired changes are committed, initiate a Pull Request and select DCC curators as reviewers.
Once the changes PRs have been merged into master, need to run script to update the metadata dictionary needs to be updated with the latest version of terms. To register these the schemas in Synapse run the register-schemas.R script.
To register all schemas, run
./register-schemas.R terms/*/*.json
Learn more about this script, run
./register-schemas.R --help
To update the Synapse annotations table, run update-annotations-table.R
Github sysbioDCCjsonschemas repo
Add/Remove terms from XLS template file. Alternatively, this can be done programmatically with JSON.
Links
Ontology Lookup Service: https://www.ebi.ac.uk/ols/index
...