monarch-initiative / koza

Licence: other
Data transformation framework for LinkML data models

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to koza

knowledge-graph-change-language
Tools for working with KGCL
Stars: ✭ 14 (-33.33%)
Mutual labels:  ontology, knowledge-graph, obofoundry, linkml
uberon
An ontology of gross anatomy covering metazoa. Works in concert with https://github.com/obophenotype/cell-ontology
Stars: ✭ 104 (+395.24%)
Mutual labels:  ontology, monarchinitiative, obofoundry
biolink-model
Schema and generated objects for biolink data model and upper ontology
Stars: ✭ 83 (+295.24%)
Mutual labels:  monarchinitiative, obofoundry, linkml
mondo
Mondo Disease Ontology
Stars: ✭ 156 (+642.86%)
Mutual labels:  ontology, monarchinitiative, obofoundry
MAxO
Medical action ontology
Stars: ✭ 26 (+23.81%)
Mutual labels:  ontology, monarchinitiative, obofoundry
envo
A community-driven ontology for the representation of environments
Stars: ✭ 106 (+404.76%)
Mutual labels:  ontology, obofoundry
pronto
A Python frontend to (Open Biomedical) Ontologies.
Stars: ✭ 202 (+861.9%)
Mutual labels:  ontology, obofoundry
morph-kgc
Powerful RDF Knowledge Graph Generation with [R2]RML Mappings
Stars: ✭ 77 (+266.67%)
Mutual labels:  etl, knowledge-graph
dead simple owl design patterns
A simple system for specifying OWL class design patterns for OBO-ish ontologies.
Stars: ✭ 34 (+61.9%)
Mutual labels:  ontology, obofoundry
ontobio
python library for working with ontologies and ontology associations
Stars: ✭ 104 (+395.24%)
Mutual labels:  ontology, obofoundry
fastobo-py
Faultless AST for Open Biomedical Ontologies in Python.
Stars: ✭ 21 (+0%)
Mutual labels:  ontology, obofoundry
evidenceontology
Evidence & Conclusion Ontology development site: Use ISSUES to request terms. See WIKI for how to request terms. See README for how to cite ECO. Visit our website for more project info.
Stars: ✭ 35 (+66.67%)
Mutual labels:  ontology, obofoundry
SEPIO-ontology
Ontology for representing scientific evidence and provenance information
Stars: ✭ 40 (+90.48%)
Mutual labels:  monarchinitiative, obofoundry
foodon
The core repository for the FOODON food ontology project. This holds the key classes of the ontology; larger files and the results of text-mining projects will be stored in other repos.
Stars: ✭ 137 (+552.38%)
Mutual labels:  ontology, obofoundry
OLGA
an Ontology SDK
Stars: ✭ 36 (+71.43%)
Mutual labels:  ontology, knowledge-graph
semantic-python-overview
(subjective) overview of projects which are related both to python and semantic technologies (RDF, OWL, Reasoning, ...)
Stars: ✭ 406 (+1833.33%)
Mutual labels:  ontology, knowledge-graph
environmental-exposure-ontology
Modular environmental exposures ontology
Stars: ✭ 20 (-4.76%)
Mutual labels:  ontology, obofoundry
obi
The Ontology for Biomedical Investigations
Stars: ✭ 49 (+133.33%)
Mutual labels:  ontology, obofoundry
HPO-translations
Internationalisation of the HPO content
Stars: ✭ 19 (-9.52%)
Mutual labels:  ontology, obofoundry
yang-db
YANGDB Open-source, Scalable, Non-native Graph database (Powered by Elasticsearch)
Stars: ✭ 92 (+338.1%)
Mutual labels:  ontology, knowledge-graph

Pyversions PyPi

Koza

pupa Data transformation framework

Disclaimer: Koza is in beta; we are looking for beta testers

Transform csv, json, yaml, jsonl, and xml and converting them to a target csv, json, or jsonl format based on your dataclass model. Koza also can output data in the KGX format

Documentation: https://koza.monarchinitiative.org/

Highlights
  • Author data transforms in semi-declarative Python
  • Configure source files, expected columns/json properties and path filters, field filters, and metadata in yaml
  • Create or import mapping files to be used in ingests (eg id mapping, type mappings)
  • Create and use translation tables to map between source and target vocabularies

Installation

pip install koza

Getting Started

Send a local or remote csv file through Koza to get some basic information (headers, number of rows)

koza validate \
  --file https://raw.githubusercontent.com/monarch-initiative/koza/main/examples/data/string.tsv \
  --delimiter ' '

Sending a json or jsonl formatted file will confirm if the file is valid json or jsonl

koza validate \
  --file ./examples/data/ZFIN_PHENOTYPE_0.jsonl.gz \
  --format jsonl
koza validate \
  --file ./examples/data/ddpheno.json.gz \
  --format json \
  --compression gzip
Example: transforming StringDB
koza transform --source examples/string/protein-links-detailed.yaml --global-table examples/translation_table.yaml

koza transform --source examples/string-declarative/protein-links-detailed.yaml --global-table examples/translation_table.yaml
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].