Utilities for working with 1000 Genomes data
Project description
py1kgp
Utilities for working with 1000 Genomes data
Installation
First make sure you have followed the installation procedure for
pydbsnp. Then install py1kgp
with pip3:
pip3 install py1kgp
or
pip3 install --user py1kgp
For full functionality, you should appropriately set the environment variable
PY1KGP_DIR. For example, you could add this to your .bash_profile:
export PY1KGP_DIR=<path to directory of your choice>
Examples
import py1kgp
py1kgp.Variant('rs10')
py1kgp.Variant(id='rs10')
py1kgp.Variant(7, 92383888)
py1kgp.Variant(chrom=7, pos=92383888)
py1kgp.fast_genotypes(7, 92383888)
py1kgp.fast_genotypes(7, 92383888, samples='NA21142,NA21143,NA21144')
py1kgp.fast_maf(7, 92383888)
py1kgp.slice_vcf(1, 1000000, 2000000)
py1kgp.slice_vcf(1, 1000000, 2000000, samples='NA21142,NA21143,NA21144')
py1kgp.slice_vcf(1, 1000000, 2000000, samples='AFR')
py1kgp.slice_vcf(1, 1000000, 2000000, samples='samples.panel')
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py1kgp-0.1.2.tar.gz.
File metadata
- Download URL: py1kgp-0.1.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
989b5581e5d76d75876165b3267797a5d1fec1cc49dcb1428fe4ecfd614e014d
|
|
| MD5 |
a6b553d153ece5be827af5f38e3de909
|
|
| BLAKE2b-256 |
dc3e7d3715f0aea5a6edc54cd31d08f61778bc5b71a0763abbd77a706f7b829f
|
File details
Details for the file py1kgp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: py1kgp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68edde857e7cf2be4b67ef74c9bf1e9e0effefec336bfc3f4d9c7c0395f718fa
|
|
| MD5 |
e51994b1e38ae7af62b68b5acb561b61
|
|
| BLAKE2b-256 |
90beca0e5b5bdb93def4deb488b59bf92315c1df5125b780ba54aeef1d885f45
|