Image interpreter for clinical pedigrees for conversion to PED file formatting
Project description
Pedigree Interpreter Package
pedigree-interpreter is a python package used to interpretation images of clinical pedigrees into PED file formatting.
Prerequisites
This package depends on the Tesseract ORC Engine, which must be installed separately in addition to the Python dependencies listed in 'pyproject.toml'.
Installation instruction for Tesseract OCR engin are available in the official Teserract documentation:
Installation
All required Python dependencies will be installed automatically with this package.
pip install pedigree-interpreter
Usage
This package has two main functions:
pedigree_processing(FamID, raw_image_dir, export, output_dir)- translates the clinical pedigree image (.png) with the name given as FamID as the file name into a Pandas dataframe with field corresponding to PED file formatting. If desired, the interpretted pedigree can automatically exported as a PED file to the desired output directory (output_dir)PED_export(PED_df, output_dir)- exports a given PED file-formatted Pandas dataframe (PED_df, constructed via pedigree_processing) to a desired output directory. File will be named according to the Family ID listed in first individual entry in PED_df (i.e. output_dir/.ped)
License
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 pedinterp-0.1.7.tar.gz.
File metadata
- Download URL: pedinterp-0.1.7.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb8c2cd857162ea75cdb27025dc529d41c06c0cd2ac0338f8bc74cb98e3fa172
|
|
| MD5 |
fee2d65665b7e293c8e5d82d97b262eb
|
|
| BLAKE2b-256 |
0f04da1147230c077d77aca858d70b40fb24939808db9334931ddb5240e87520
|
File details
Details for the file pedinterp-0.1.7-py3-none-any.whl.
File metadata
- Download URL: pedinterp-0.1.7-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc6d71d71f3fe9efbd51c24324514df0447db664b48df6b38f28856e91d69b69
|
|
| MD5 |
a91da02595d1b233c4d1ac4633ff3432
|
|
| BLAKE2b-256 |
615877f840eb03fe9a98ec1fc20ad3aacd4cc58bb246acbd022cb38f390ae65f
|