Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-namespace annotations #60

Open
wshayes opened this issue Feb 16, 2018 · 1 comment
Open

Add non-namespace annotations #60

wshayes opened this issue Feb 16, 2018 · 1 comment

Comments

@wshayes
Copy link
Contributor

wshayes commented Feb 16, 2018

Allow different types of annotations:

  • namespaces
  • p-value (e.g. .001 or <0.05)
  • cohort name

Requires changes to nanopub_bel JSONSchema, belbio_conf, bel_api and front-end tools.

Best way to handle this is probably to provide BEL API configurable annotation field requirements.

Change meaning of annotation type to: NSArg, P-value, Cohort, etc

Add schemas for each annotation type in the belbio_conf configuration file (NSArg and keyvalue would be default annotation types).

E.g. NSArg: {"class": string, "id": string, "label": string}, pvalue: {"name": string, "value": [number, string]}, keyvalue: {"key": string, "value": value}

Examples

  • pvalue 'label': X 'value': 0.10
  • pvalue 'label': X 'value': <1E-5
  • Cohort Description 'value':
  • Cohort Size 'value':
@wshayes
Copy link
Contributor Author

wshayes commented Feb 16, 2018

Need to understand how this would affect using annotations to search for Nanopubs. Allowing for somewhat arbitrary annotation types will make it difficult to use those annotation values for filtering/searching for Nanopubs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant