Skip to content

Releases: linkml/schema-automator

v0.5.1

22 Mar 23:34
398e7f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

26 Feb 22:42
8428e9c
Compare
Choose a tag to compare

Highlights

caDSR CDE JSON imports

Ingests the output of caDSR API <https://cadsrapi.cancer.gov/rad/NCIAPI/1.0/api>_.

Note: this doesn't yet talk to the API so you need to download these yourself. See the Makefiles in https://github.com/monarch-initiative/cde-harmonization for examples.

  • Each CDE becomes a unique slot
  • the CDE is added as a lot of a context-specific class
  • the context-specific class is a subclass of the CDE's DataElementConcept

Note that this creates a lot of 1-1 classes, as in many cases there is no
attempt to group concepts. However, this is not always the case.

E.g. the concept with publicId 2012668 (Access Route) is used in 5 contexts
(AHRQ, CCR, ...)

Each context-specific concept has its own set of CDEs

The resulting LinkML can also be converted to OWL for easier browsing:

image

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

02 Feb 20:50
633d486
Compare
Choose a tag to compare

What's Changed

Example:

from schema_automator.utils.schemautils import write_schema
annotator = LLMAnnotator(model_name="gpt-4")
schema = annotator.enrich("tests/resources/biopax3.yaml")
write_schema(schema)

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.1

16 Jan 16:27
cf2700a
Compare
Choose a tag to compare

What's Changed

  • Remove Bioregistry dependency and update OAK dependency by @cthoyt in #121

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

27 May 01:43
1bb3268
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.11

31 Jan 22:30
c4075fa
Compare
Choose a tag to compare

What's Changed

  • Added ability to import multiple jsonschema files organized in a project. by @cmungall and @dalito in #113

Full Changelog: v0.2.10...v0.2.11

v0.2.10

10 Nov 21:27
b96e566
Compare
Choose a tag to compare

What's Changed

  • Fixes #99 (logging object contents when None by @matentzn in #101
  • Windows fixes (make test suite pass on windows) by @dalito in #104
  • CsvGeneralizer: Adding ability to interpret metadata rows - adding docs to parameters - expose more parameters in CLI - additional tests by @cmungall in #106

New Contributors

Full Changelog: v0.2.9...v0.2.10

v0.2.9

03 Oct 14:48
d0f122e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.8...v0.2.9

v0.2.8

23 Aug 23:29
d8a8a16
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.7...v0.2.8

v0.2.7

21 Jul 02:29
8b7b7c7
Compare
Choose a tag to compare

Highlights

Generation of LinkML schemas by generalizing from tables in web pages

For example, given this table:

https://www.nature.com/articles/s41467-022-31626-4/tables/1

Run:

schemauto  generalize-htmltable  https://www.nature.com/articles/s41467-022-31626-4/tables/1

To get

name: example
description: example
id: https://w3id.org/example
imports:
- linkml:types
prefixes:
  linkml: https://w3id.org/linkml/
  example: https://w3id.org/example
default_prefix: example
slots:
  GWAS trait:
    examples:
    - value: "\xC2"
    range: string
  Peak GWAS SNP:
    examples:
    - value: rs2974298
    range: string
  Gene:
    examples:
    - value: SMIM19
    range: string
  NK cell cis eSNP:
    examples:
    - value: rs2974348
    range: string
  TWAS Z score:
    examples:
    - value: '3.809'
    range: string
  TWAS P value:
    examples:
    - value: '0.0001'
    range: string
classes:
  example:
    slots:
    - GWAS trait
    - Peak GWAS SNP
    - Gene
    - NK cell cis eSNP
    - TWAS Z score
    - TWAS P value

What's Changed

Full Changelog: v0.2.6...v0.2.7