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.0.tar.gz (145.5 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.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (102.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (102.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (101.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (101.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Hashes for vcztools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6da4a82c60649c8af98c362948e7df54fe395b126c6d67ceb449c82b0deab20e
MD5 f022efb9e54639a0c39bc8878b6cbc96
BLAKE2b-256 18d06c80fc56c89657abb69a1e3b3d1e5c24e5ab90407af7ce90a5c1c2a9bd8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcztools-0.1.0.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.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f71d1875cd6533a03aa61698b59853702280e24206db49fe69eb7cfe971490bf
MD5 aa8e1c961e247c975f7803cc148678db
BLAKE2b-256 c8113eadcfb22496e5ef8184d2a0b7b4ef87cce5457fac008c66cd5c1c2cd6f8

See more details on using hashes here.

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

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.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e06a1b4a12d8d096f1ee70e56797918dd82e80a7cff2e0fb8a33dd8c7c27b62c
MD5 cf3e6c6240cfb60115b2f29978a2bdcc
BLAKE2b-256 3a93178f56ce46d37a80392e60456d180964ec52b94e99225fdb49a5797b0d3e

See more details on using hashes here.

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

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.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d9f96345010a5abe7e3bb9c9acca5672a053d7d913936208c1795abee8a511ad
MD5 e3bd4e44c65ae7e4d71b248b41c59ca4
BLAKE2b-256 965bbfcbd30c93940103bbc823502a15be8e73f16e834aeeee9e0f9987f2f625

See more details on using hashes here.

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

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.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vcztools-0.1.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7464864e9872cb4b4d4b222e2ccef3ee146cb74543ada868dc11ac6e0d98e37b
MD5 f4570db0f48d1bc145a41a2999b383a7
BLAKE2b-256 eda97969fd05291206b9e96907a637d04a2a14b076cb02b6783c819dcc19f9ec

See more details on using hashes here.

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

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