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 documentation for more information.
License
This project is licensed under the MIT License - see the LICENSE 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.1.3.tar.gz
(7.5 kB
view details)
File details
Details for the file pandas-plink-1.1.3.tar.gz
.
File metadata
- Download URL: pandas-plink-1.1.3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92bde3e16bc304d13053b67edabc7a704bb6cc11abff26c6e62071c7b06d53b9 |
|
MD5 | 89b15e9af28a230cd3115361d0ac8829 |
|
BLAKE2b-256 | 00276d10a46fea0f06feb0d6848129ee36bc53c967e4a3cd5397bbfa9f60ff0e |