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,
"disease": {
"conceptType": "Disease",
"primaryCoding": {
"id": "ncit:C34803",
"code": "C34803",
"system": "https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI_Thesaurus&code=",
},
"id": "normalize.disease:liver%20cancer",
"name": "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.disease.primaryCoding.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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file disease_normalizer-0.12.0.tar.gz.
File metadata
- Download URL: disease_normalizer-0.12.0.tar.gz
- Upload date:
- Size: 326.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20f6b2c63c2aae341e1d36952d01060d06daf4c56da8192df00d62d3e0aab7bc
|
|
| MD5 |
a1bbf469fb863776cde4e3e5563cfb3a
|
|
| BLAKE2b-256 |
7b885bbe47ade8900d32cc80c65bdc73e2e87095cb065b73f54fdf0e589408da
|
Provenance
The following attestation bundles were made for disease_normalizer-0.12.0.tar.gz:
Publisher:
release.yml on cancervariants/disease-normalization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
disease_normalizer-0.12.0.tar.gz -
Subject digest:
20f6b2c63c2aae341e1d36952d01060d06daf4c56da8192df00d62d3e0aab7bc - Sigstore transparency entry: 667300074
- Sigstore integration time:
-
Permalink:
cancervariants/disease-normalization@2f8b1a2e73037b1ddbca0ccf041c270cd71828b7 -
Branch / Tag:
refs/tags/0.12.0 - Owner: https://github.com/cancervariants
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2f8b1a2e73037b1ddbca0ccf041c270cd71828b7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file disease_normalizer-0.12.0-py3-none-any.whl.
File metadata
- Download URL: disease_normalizer-0.12.0-py3-none-any.whl
- Upload date:
- Size: 58.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321c7c2d6bab17fb3378531335dfbf040593a93b708286faf98683e01c856569
|
|
| MD5 |
ed870bea26a7717cc8ad2768eb92351c
|
|
| BLAKE2b-256 |
3349bac61ac3d8ae3430ae48076d937fdd93a84efc85a073b98a01bf8b9b7e40
|
Provenance
The following attestation bundles were made for disease_normalizer-0.12.0-py3-none-any.whl:
Publisher:
release.yml on cancervariants/disease-normalization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
disease_normalizer-0.12.0-py3-none-any.whl -
Subject digest:
321c7c2d6bab17fb3378531335dfbf040593a93b708286faf98683e01c856569 - Sigstore transparency entry: 667300075
- Sigstore integration time:
-
Permalink:
cancervariants/disease-normalization@2f8b1a2e73037b1ddbca0ccf041c270cd71828b7 -
Branch / Tag:
refs/tags/0.12.0 - Owner: https://github.com/cancervariants
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2f8b1a2e73037b1ddbca0ccf041c270cd71828b7 -
Trigger Event:
release
-
Statement type: