Read PLINK files into Pandas data frames
Project description
PLINK reader for Python. It reads binary PLINK files into Pandas data frame and Dask array. This package handles larger-than-memory data sets by reading the SNP matrix on-demand.
Install
The recommended way of installing it is via conda
conda install -c conda-forge pandas-plink
An alternative way would be via pip
pip install pandas-plink
Running the tests
After installation, you can test it
python -c "import pandas_plink; pandas_plink.test()"
as long as you have pytest.
Usage
It is as simple as
from pandas_plink import read_plink
(bim, fam, G) = read_plink('/path/to/data')
Refer to the documentation for more information.
License
This project is licensed under the MIT License - see the License file file for details.
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
pandas-plink-1.2.12.tar.gz
(8.5 kB
view details)
File details
Details for the file pandas-plink-1.2.12.tar.gz.
File metadata
- Download URL: pandas-plink-1.2.12.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
411ddee4fab189bfdaf611d657ab09b01765ba3ae23aafd5be00ead45e45783a
|
|
| MD5 |
e6a5b41c7f31f1b498a231e13344945e
|
|
| BLAKE2b-256 |
09fa58881d6cfa54b4972ee57c58edc8d1ec9233951fb30a1187e79503be721a
|