UK Biobank data processing library
Project description
ukbparse is a Python library for pre-processing of UK BioBank data.
Installation
Install ukbparse via pip:
pip install ukbparse
Usage
Comprehensive documentation has not yet been written.
General usage is as follows:
ukbparse [options] output.tsv input1.tsv input2.tsv
You can get information on all of the options by typing ukbparse --help.
Options can be specified on the command line, and/or stored in a configuration file. For example, the options in the following command line:
ukbparse \ --overwrite \ --import_all \ --log_file log.txt \ --icd10_map_file icd_codes.tsv \ --category 10 \ --category 11 \ output.tsv input1.tsv input2.tsv
Could be stored in a configuration file config.txt:
overwrite import_all log_file log.txt icd10_map_file icd_codes.tsv category 10 category 11
And then executed as follows:
ukbparse -cfg config.txt output.tsv input1.tsv input2.tsv
Tests
To run the test suite, you need to install some additional dependencies:
pip install -r requirements-dev.txt
Then you can run the test suite using pytest:
pytest
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
ukbparse-0.12.0.tar.gz
(538.4 kB
view hashes)
Built Distribution
ukbparse-0.12.0-py3-none-any.whl
(565.5 kB
view hashes)
Close
Hashes for ukbparse-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54edcd7b7386f470d21aa2f845be8647b10f5fe23993c17d3a3b4df01edd65ee |
|
MD5 | 425c5d4eef314eee8af98d757248b6e5 |
|
BLAKE2b-256 | e8d0cb0ae0f1dbbd42b0725638f0d6cb973f39ccb183ae426a69ce0f8d273c18 |