Convert PLINK files to Pandas data frame.
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
After installation, you can test it
python -c "import pandas_plink; pandas_plink.test()"
as long as you have pytest.
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.
- Danilo Horta - https://github.com/Horta
This project is licensed under the MIT License - see the LICENSE file for details