Metadata-Version: 2.4
Name: prenatal-tools
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Intended Audience :: Science/Research
License-File: LICENSE
Summary: Prenatal and rare-disease phenotype tools: ontology access, with more to come
Keywords: ontology,Human Phenotype Ontology,HPO,phenopackets,prenatal
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Repository, https://github.com/VarenyaJ/prenatal-tools

# prenatal-tools

Rust crates, with a Python package built from them, for working with prenatal and
rare-disease phenotype data: ontology access, clinical observations,
phenopackets, variant normalisation and phenopacket checks.

Each part is its own crate, so a project depends only on what it uses. The
`prenatal-tools` crate re-exports the parts behind features.

| Crate | Purpose |
|---|---|
| `prenatal-tools` | Umbrella crate; one feature per part |
| `prenatal-tools-ontology` | Term identifiers (CURIEs), loading OBO Graphs JSON, the is-a hierarchy |

The Python package `prenatal-tools` (import `prenatal_tools`) wraps the same
code.

More crates are added as they are written: clinical observations,
phenopackets, variants, and phenopacket checks.

## Installing

```bash
uv add prenatal-tools            # Python (3.11+)
cargo add prenatal-tools         # Rust (1.85+)
```

[docs/install.md](docs/install.md) explains uv and cargo for newcomers (what
each tool is, how to install it, the key commands), pinning a version,
installing before the first release, and building from source.

## Building

```bash
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all --check
uv sync --frozen && uv run pytest
```

## Licence

MIT. See `LICENSE`.

