Package for fast loading of UK Biobank phenotype and genotype datasets
Project description
UK Biobank data loader
This repository provides a library and set of utilities for the efficient loading of phenotype and genotype data from the UK Biobank.
Features include:
- Loading quantitative and categorical phenotypes, includeding self-reported phenotypes and phenotypes based on ICD-10 disease codes.
- Fast parallelized loading that leverages chunked and compressed Zarr arrays.
- Utilities for splitting the dataset samples randomly, or based on a predefined structure.
Usage
First, the UKB dataset needs to be converted into the Zarr format with the desired test/train/validation split. For this, use the provided conversion script.
For examples on loading various types of phenotypes, see this example notebook.
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 ukb_loader-0.0.6.tar.gz.
File metadata
- Download URL: ukb_loader-0.0.6.tar.gz
- Upload date:
- Size: 54.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d37fb6543da425d8825a72ad754000e36840e931635683fbdb4509241c2fde
|
|
| MD5 |
2be19722fa7b7dc7e3e911b5bbe9b406
|
|
| BLAKE2b-256 |
b58080014081391c47489f065444cd54bc39ffea208749bf197d9d880244d569
|
File details
Details for the file ukb_loader-0.0.6-py3-none-any.whl.
File metadata
- Download URL: ukb_loader-0.0.6-py3-none-any.whl
- Upload date:
- Size: 55.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97ab227883591dc462ee2bef48d8fd80efc6c44f6c356ddb245f5d3de9e6da7e
|
|
| MD5 |
4fc7b5a1a4d0a443665baba600e5e93c
|
|
| BLAKE2b-256 |
66b8773bddc99af84f74448ed01e8db219444489a3e89d20cef1485a0ce19538
|