-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,44 @@ | ||
[](https://github.com/sgkit-dev/vcztools/actions/workflows/ci.yml) | ||
|
||
# vcztools | ||
Partial reimplementation of bcftools for VCF Zarr | ||
Partial reimplementation of bcftools for [VCF Zarr](https://github.com/sgkit-dev/vcf-zarr-spec/) | ||
|
||
Please see the [preprint](https://www.biorxiv.org/content/10.1101/2024.06.11.598241) 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](https://sgkit-dev.github.io/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. | ||
|
||
## Development | ||
|
||
Vcztools is under active development and contributions are warmly welcomed. Please | ||
see the project on [GitHub](https://github.com/sgkit-dev/vcztools). | ||
|
||
**This is an early prototype: DO NOT USE!** |