VICC normalization routines for diseases
Project description
Disease Normalizer
The Disease Normalizer resolves ambiguous references and descriptions of human diseases to consistently-structured, normalized terms. For concepts extracted from NCIt, Mondo Disease Ontology, The Human Disease Ontology, OMIM, and OncoTree, it designates a CURIE, and provides additional metadata like aliases and cross-references.
Documentation · Installation · API reference
Installation
The Disease Normalizer is available via PyPI:
python3 -m pip install disease-normalizer
See installation instructions in the documentation for a description of installation options and data setup requirements.
Examples
Use the live service to programmatically normalize disease terms, as in the following truncated example:
$ curl -s 'https://normalize.cancervariants.org/disease/normalize?q=liver%20cancer' | python -m json.tool
{
"query": "liver cancer",
"warnings": null,
"match_type": 80,
"normalized_id": "ncit:C34803",
"disease": {
"type": "Disease",
"id": "normalize.disease:liver%20cancer",
"label": "Primary Malignant Liver Neoplasm",
# ...
}
}
Or utilize the Python API for fast local access:
>>> from disease.query import QueryHandler
>>> from disease.database import create_db
>>> q = QueryHandler(create_db())
>>> result = q.normalize("NSCLC")
>>> result.normalized_id
'ncit:C2926'
Feedback and contributing
We welcome bug reports, feature requests, and code contributions from users and interested collaborators. The documentation contains guidance for submitting feedback and contributing new code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file disease_normalizer-0.6.0.tar.gz
.
File metadata
- Download URL: disease_normalizer-0.6.0.tar.gz
- Upload date:
- Size: 290.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2d900f7e0008b167aa60bcfa2d8bd70cf1b026465d7be236186dcf4e6e284a |
|
MD5 | 3ab629b15293da54f2e3aca83410d673 |
|
BLAKE2b-256 | a9bdd35422286b1cec9dc9f87d38c84a0125f2808f5b4c2b20bf8999e6705d19 |
Provenance
The following attestation bundles were made for disease_normalizer-0.6.0.tar.gz
:
Publisher:
release.yml
on cancervariants/disease-normalization
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
disease_normalizer-0.6.0.tar.gz
- Subject digest:
fb2d900f7e0008b167aa60bcfa2d8bd70cf1b026465d7be236186dcf4e6e284a
- Sigstore transparency entry: 152488915
- Sigstore integration time:
- Predicate type:
File details
Details for the file disease_normalizer-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: disease_normalizer-0.6.0-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b3cc7e7e40762b262f3948b0671e271cd79d44f596576927fc6d17dde6ab86 |
|
MD5 | 7ff7cc3932d606b051c28a131a2633ad |
|
BLAKE2b-256 | 962de2df0ae81cb59978eafa540bc5cd2092a5db37fc8f2e5f180f4232f93656 |
Provenance
The following attestation bundles were made for disease_normalizer-0.6.0-py3-none-any.whl
:
Publisher:
release.yml
on cancervariants/disease-normalization
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
disease_normalizer-0.6.0-py3-none-any.whl
- Subject digest:
a6b3cc7e7e40762b262f3948b0671e271cd79d44f596576927fc6d17dde6ab86
- Sigstore transparency entry: 152488916
- Sigstore integration time:
- Predicate type: