Package to synchronize multiple VCFs
Project description
vcfsyncer: A package to synchronize multiple VCFs
This is a way to transparently use single sample VCFs as if they were a multi-sample VCF.
Installation
The simplest way to install vcfsyncer is through pip:
pip install vcfsyncer
Usage
Use vcfsyncer within a python environment
from vcfsyncer import VCFSyncer
synced = VCFSyncer(PATH_A, PATH_B, PATH_C)
# you can iterate through the synchronized VCFs
for var in synced:
print(var.chrom, var.pos)
# alternatively, fetch regions from the synchronized VCFs (if tabix-indexed)
for var in synced.fetch(chrom='1', start=1000000, end=2000000):
print(var.chrom, var.pos)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vcfsyncer-1.0.5.tar.gz
(4.4 kB
view details)
File details
Details for the file vcfsyncer-1.0.5.tar.gz.
File metadata
- Download URL: vcfsyncer-1.0.5.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70ba7a1142d41c8c8b2e56863dbafc1ef4659a9d22a6af9af24b15fb64eb535b
|
|
| MD5 |
e048d4d3d882bc4129d4d2d01d1b3947
|
|
| BLAKE2b-256 |
225799f89cab13b73538ba9628e9b40798b7eaf1553a4b0670bc93c6f240e09c
|