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')
Metadata
Release files for py1kgp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py1kgp-0.1.2.tar.gz | 5.0 kB | Without provenance | Details for py1kgp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py1kgp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for py1kgp-0.1.2-py3-none-any.whl |
Total release size: 10.6 kB
Release files / py1kgp-0.1.2.tar.gz
| Download URL | py1kgp-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
989b5581e5d76d75876165b3267797a5d1fec1cc49dcb1428fe4ecfd614e014d
|
|
BLAKE2b-256 checksum How to use checksums |
dc3e7d3715f0aea5a6edc54cd31d08f61778bc5b71a0763abbd77a706f7b829f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.10
|
Release files / py1kgp-0.1.2-py3-none-any.whl
| Download URL | py1kgp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68edde857e7cf2be4b67ef74c9bf1e9e0effefec336bfc3f4d9c7c0395f718fa
|
|
BLAKE2b-256 checksum How to use checksums |
90beca0e5b5bdb93def4deb488b59bf92315c1df5125b780ba54aeef1d885f45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.10
|
Security for py1kgp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.