Read PLINK files into Pandas data frames
Project description
pandas-plink
Pandas-plink is a Python package for reading PLINK binary file format. The file reading is taken place via lazy loading, meaning that it saves up memory by actually reading only the genotypes that are actually accessed by the user.
Install
It be installed using pip:
pip install pandas-plink
Alternatively it can be intalled via conda:
conda install -c conda-forge pandas-plink
Usage
It is as simple as
from pandas_plink import read_plink
(bim, fam, G) = read_plink('/path/to/files_prefix')
for which files_prefix.bed
, files_prefix.bim
, and files_prefix.fam
contain the data.
Portions of the genotype will be read as the user access them. Please, refer to the documentation for more information.
Authors
License
This project is licensed under the MIT License.
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
Built Distributions
File details
Details for the file pandas_plink-1.2.30.tar.gz
.
File metadata
- Download URL: pandas_plink-1.2.30.tar.gz
- Upload date:
- Size: 59.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea882029f93a7db03680b7e02205822380b7c0b5d7435c1ac7a6b6513151e09 |
|
MD5 | 11007961bf01955a489d83566304cfbc |
|
BLAKE2b-256 | 65f313f92ffbab1b5a9a4dad819f13912ae7f1e77609e8f978fb9f796d33980f |
File details
Details for the file pandas_plink-1.2.30-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 65.2 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4487c2d1b9057cad761164a44a989f170b6f7a6191483b339f4d09d23011807 |
|
MD5 | 5dfd56c6af2c807282a3cfaeba45603d |
|
BLAKE2b-256 | 9f25acd3f4f6c33964fd1b537f0fec0ebe4d3e040e46f46de2464c4fdde67bab |
File details
Details for the file pandas_plink-1.2.30-cp37-cp37m-win32.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp37-cp37m-win32.whl
- Upload date:
- Size: 64.4 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2f218127101e7674885b522d7e181f0a9a652c17864fcb1be55138da9602808 |
|
MD5 | 9f180bf94f0eda0654be1ba74730f431 |
|
BLAKE2b-256 | ecc23c9c3f3f9cfdf573b1c50804799d2ac210760609a01c286265f59ff2632c |
File details
Details for the file pandas_plink-1.2.30-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 68.3 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b8c3deb953fb7ebdcc37697a679158bf6470e376bb1a0ba96825d655a9a6c1 |
|
MD5 | 1523179791ca9bb139d4f9c6af393b85 |
|
BLAKE2b-256 | 484f3f0ec6cff4a46139910fa1e054480ad4e962e7d510a489288959160bca8d |
File details
Details for the file pandas_plink-1.2.30-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 68.0 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16468999b97cb618c22c3fbcf794346669ef25241eab4cfb808fd99124ad4b8f |
|
MD5 | 7fd04e5ccfaf7ea95c72d0fb7b44aa34 |
|
BLAKE2b-256 | ace02b8a6fc2177e678819209136d6ad6676314b0617f3bb7af5629f3293eba5 |
File details
Details for the file pandas_plink-1.2.30-cp37-cp37m-macosx_10_6_intel.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp37-cp37m-macosx_10_6_intel.whl
- Upload date:
- Size: 64.6 kB
- Tags: CPython 3.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49520ff89ffc44a85341fecc19539f336f8153bca5d26219888ef3a632f9738 |
|
MD5 | 44cfdd22641144116c63f2f035c3cafe |
|
BLAKE2b-256 | afea78d7821fb69ce86a61093ce3fd037cf7ff31d2a8ed42804eeeaef8a6c604 |
File details
Details for the file pandas_plink-1.2.30-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 65.2 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c2b1b39227df7ff12ad6cd03ace363b080f6d09cb5dc54b3ce154172288e56e |
|
MD5 | 0ef4e380afedf5270d041393373bb58d |
|
BLAKE2b-256 | 04078d6846e5d35bd8c2b6017e86d4e8908d0ee40dc293fa55b7b4b436ed317e |
File details
Details for the file pandas_plink-1.2.30-cp36-cp36m-win32.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp36-cp36m-win32.whl
- Upload date:
- Size: 64.4 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea798c9a7d635457ba3d4b33c171c0d9cf98de946a8baae1ecb8cb39dbe04e56 |
|
MD5 | 18664bdbd9aa5017490d83cee777e1ea |
|
BLAKE2b-256 | 49a695bd25412bab804e8a3542a98637fa77345e65bfd190a00d73356db59bf9 |
File details
Details for the file pandas_plink-1.2.30-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 68.3 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a2f24990cd27414521b6a0ceda29e47cbccb6c46beb6dabbb312007dfc7d930 |
|
MD5 | fac15767fea68815fcb2b30e6e77b106 |
|
BLAKE2b-256 | 057f48a4b94ed2f2d2897aff33f161faec9cfa9bc81bae89d6d612436182de90 |
File details
Details for the file pandas_plink-1.2.30-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 68.0 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf98fab10e7c7b596afb2d56a0fb28c68ac3ae7491f02612cedb93fc34c507f |
|
MD5 | 4d553fcc41e747d7e6921bcffaa14a83 |
|
BLAKE2b-256 | c347c11b72524febc327e75f56bb3498bf64bd3d6f2bc20b138b2b843501e77d |
File details
Details for the file pandas_plink-1.2.30-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: pandas_plink-1.2.30-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 64.6 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1a2445982195de0a38db52858b2a34e26cbebfcac3b7c1bbbff1358ce26cd45 |
|
MD5 | 03ea2384d0ae4116d9c78398a90da9da |
|
BLAKE2b-256 | a490c5be63ab0582e62735914f9d12e704df8b066c81e90b10c7391728cf455b |