Skip to main content

VICC normalization routines for diseases

Project description

Disease Normalizer

image image image Actions status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

disease_normalizer-0.4.0.dev4.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

disease_normalizer-0.4.0.dev4-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file disease_normalizer-0.4.0.dev4.tar.gz.

File metadata

File hashes

Hashes for disease_normalizer-0.4.0.dev4.tar.gz
Algorithm Hash digest
SHA256 70e02dba4aeaec32e60645a953ee278d0a22e92d3e32e45ba09495d3a746f0b3
MD5 dbead0bf193f79e62dee800f6d83072e
BLAKE2b-256 d1e9a7f28ddda2b5722a65d7f05b9a92e0f95779458f5924a5463111119c45d3

See more details on using hashes here.

File details

Details for the file disease_normalizer-0.4.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for disease_normalizer-0.4.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 205c76058f52b0ea5c18ba28f67a26310f18b2dbd2d7f1236dc0f35b31977ac8
MD5 537c7ef3867f10251a209fc69a073505
BLAKE2b-256 5f132f617d82a14e391c699af9996113adb6c85178446745a93f05184480dce3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page