Skip to main content

Implementation of bcftools for VCF Zarr

Project description

CI PyPI Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcztools-0.1.2.tar.gz (152.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vcztools-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (105.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

vcztools-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (105.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

vcztools-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (104.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

vcztools-0.1.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (104.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file vcztools-0.1.2.tar.gz.

File metadata

  • Download URL: vcztools-0.1.2.tar.gz
  • Upload date:
  • Size: 152.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vcztools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 af1f9d04c3c6952f151225695a21716f611f9f358bbf700c68fc6a77252b56c9
MD5 8c96154787983d7f42e703deb8c2fe03
BLAKE2b-256 a61a58298b293f62b19cb24f5ce486c563b62e0527339d1480ced0d653864e97

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.2.tar.gz:

Publisher: cd.yml on sgkit-dev/vcztools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcztools-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c3c80942298db37d01e96c67c2337a8ec16aa46dac9a9ecdfd2d0f979d236d64
MD5 85839c9a05b06f1d8e9f7ec20eca7682
BLAKE2b-256 4587e228dc08bf63ca3cd89642c4e4a9373ef1ac621efac794e24301b63a8945

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cd.yml on sgkit-dev/vcztools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcztools-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 77763926f5b28912df0bf612d6a73e0eea90e0738f8a91d934e3241251b44ca8
MD5 ea0e7c94240abcfdd35e0b7e21889e18
BLAKE2b-256 d8a1b9599da403e88c57ca189cee39314b24b1b23acf2bd108c9d28ea1f02a1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cd.yml on sgkit-dev/vcztools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcztools-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a12db7b2984ca96f0f0263799857767f3d23b28fd50e93fb07deddfcd0e528f8
MD5 9a8f91cc37b7781c1e6970d9599aafc9
BLAKE2b-256 3e64cb477e5e3b28eede76d194ddebc45bcffcb875c639d74263e274cf3b4be9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cd.yml on sgkit-dev/vcztools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcztools-0.1.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 12956f56ddf4c5ae00aed0f54f1e71f1f0cc8c9a1d66714b860e3bc5b725bba0
MD5 de7d289304679068faacf758f7954f34
BLAKE2b-256 86f4d8253159fb35ec58da7e8bd7c3462d92964899124d103624658da857ccd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: cd.yml on sgkit-dev/vcztools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page