Implementation of bcftools for VCF Zarr
Project description
vcztools
Partial reimplementation of bcftools for VCF Zarr
Please see the preprint for more information.
Installation
python3 -m pip install vcztools
Usage
vcztools view <path.vcz>
or
python -m vcztools view <path.vcz>
should be equivalent to running
bcftools view <path.vcf.gz>
See the bio2zarr project for help in converting VCF files to Zarr.
Goals
Vcztools aims to be a drop-in replacement for a subset of bcftools functionality.
Currently supported are the view, query and index -s/-n commands.
We aim for 100% compatibility so if you notice a difference between the output of vcztools and bcftools please do open an issue.
Cloud stores
Vcztools can read vcz files from cloud stores using fsspec.
For example, to read from Amazon S3, first install the s3fs fsspec library:
python3 -m pip install s3fs
Then provide your AWS credentials as described in the s3fs documentation, for example by setting environment variables:
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
You can then run vcztools using an s3:// URL:
python -m vcztools view s3://<bucket-name>/path/to.vcz
Development
Vcztools is under active development and contributions are warmly welcomed. Please see the project on GitHub.
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
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 vcztools-0.1.0.tar.gz.
File metadata
- Download URL: vcztools-0.1.0.tar.gz
- Upload date:
- Size: 145.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6da4a82c60649c8af98c362948e7df54fe395b126c6d67ceb449c82b0deab20e
|
|
| MD5 |
f022efb9e54639a0c39bc8878b6cbc96
|
|
| BLAKE2b-256 |
18d06c80fc56c89657abb69a1e3b3d1e5c24e5ab90407af7ce90a5c1c2a9bd8d
|
Provenance
The following attestation bundles were made for vcztools-0.1.0.tar.gz:
Publisher:
cd.yml on sgkit-dev/vcztools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcztools-0.1.0.tar.gz -
Subject digest:
6da4a82c60649c8af98c362948e7df54fe395b126c6d67ceb449c82b0deab20e - Sigstore transparency entry: 223822720
- Sigstore integration time:
-
Permalink:
sgkit-dev/vcztools@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/sgkit-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vcztools-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: vcztools-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 102.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f71d1875cd6533a03aa61698b59853702280e24206db49fe69eb7cfe971490bf
|
|
| MD5 |
aa8e1c961e247c975f7803cc148678db
|
|
| BLAKE2b-256 |
c8113eadcfb22496e5ef8184d2a0b7b4ef87cce5457fac008c66cd5c1c2cd6f8
|
Provenance
The following attestation bundles were made for vcztools-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
cd.yml on sgkit-dev/vcztools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcztools-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
f71d1875cd6533a03aa61698b59853702280e24206db49fe69eb7cfe971490bf - Sigstore transparency entry: 223822733
- Sigstore integration time:
-
Permalink:
sgkit-dev/vcztools@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/sgkit-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 102.6 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e06a1b4a12d8d096f1ee70e56797918dd82e80a7cff2e0fb8a33dd8c7c27b62c
|
|
| MD5 |
cf3e6c6240cfb60115b2f29978a2bdcc
|
|
| BLAKE2b-256 |
3a93178f56ce46d37a80392e60456d180964ec52b94e99225fdb49a5797b0d3e
|
Provenance
The following attestation bundles were made for vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
cd.yml on sgkit-dev/vcztools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
e06a1b4a12d8d096f1ee70e56797918dd82e80a7cff2e0fb8a33dd8c7c27b62c - Sigstore transparency entry: 223822724
- Sigstore integration time:
-
Permalink:
sgkit-dev/vcztools@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/sgkit-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 101.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f96345010a5abe7e3bb9c9acca5672a053d7d913936208c1795abee8a511ad
|
|
| MD5 |
e3bd4e44c65ae7e4d71b248b41c59ca4
|
|
| BLAKE2b-256 |
965bbfcbd30c93940103bbc823502a15be8e73f16e834aeeee9e0f9987f2f625
|
Provenance
The following attestation bundles were made for vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
cd.yml on sgkit-dev/vcztools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
d9f96345010a5abe7e3bb9c9acca5672a053d7d913936208c1795abee8a511ad - Sigstore transparency entry: 223822742
- Sigstore integration time:
-
Permalink:
sgkit-dev/vcztools@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/sgkit-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 101.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7464864e9872cb4b4d4b222e2ccef3ee146cb74543ada868dc11ac6e0d98e37b
|
|
| MD5 |
f4570db0f48d1bc145a41a2999b383a7
|
|
| BLAKE2b-256 |
eda97969fd05291206b9e96907a637d04a2a14b076cb02b6783c819dcc19f9ec
|
Provenance
The following attestation bundles were made for vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
cd.yml on sgkit-dev/vcztools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
7464864e9872cb4b4d4b222e2ccef3ee146cb74543ada868dc11ac6e0d98e37b - Sigstore transparency entry: 223822747
- Sigstore integration time:
-
Permalink:
sgkit-dev/vcztools@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/sgkit-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@97ad3c7cd3aec179a472241ea5d315808d2c3588 -
Trigger Event:
release
-
Statement type: