Read PLINK files into Pandas data frames.
Project description
# pandas-plink
[](https://pypi.python.org/pypi/pandas-plink/) [](https://pypi.python.org/pypi/pandas-plink/) [](https://anaconda.org/conda-forge/pandas-plink) [](https://anaconda.org/conda-forge/pandas-plink) [](https://pandas-plink.readthedocs.io/en/latest/)
PLINK reader for Python. It reads binary PLINK files into [Pandas](http://pandas.pydata.org) data frame and [Dask](http://dask.pydata.org/en/latest/index.html) 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](http://conda.pydata.org/docs/index.html)
`bash 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](http://docs.pytest.org/en/latest/).
## Usage
It is as simple as
`python from pandas_plink import read_plink (bim, fam, G) = read_plink('/path/to/data') `
Refer to [documentation](http://pandas-plink.readthedocs.io/en/latest/) for more information.
## Authors
Danilo Horta - [https://github.com/Horta](https://github.com/Horta)
## License
This project is licensed under the MIT License - see the [LICENSE](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
File details
Details for the file pandas-plink-1.2.2.tar.gz.
File metadata
- Download URL: pandas-plink-1.2.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e735a53473e8ec1097b017b40095f5c9b4a40bebf95854d27523404f2455dd65
|
|
| MD5 |
c28045ce810054f3304df7bbb311c3f8
|
|
| BLAKE2b-256 |
63129ee3d32320bba8db53caec544091b5e560e70758960e9f42e9199e0584de
|