Skip to main content

Tools for indexing GREGoR VCFs

Project description

vrsix: Indexing VRS-Annotated VCFs

Overview

vrsix provides a file-based indexing strategy to support fast lookup of AnVIL-hosted VCFs using IDs and annotations drawn from the GA4GH Variation Representation Specification.

See the vrsix Terra workflow for a readymade Terra implementation.

Usage

From a VCF, ingest a VRS ID and the corresponding VCF-called location (i.e. sufficient inputs for a tabix lookup), and store them in a sqlite database.

vrsix load chr1.vcf

All instances of variations are stored with an associated file URI to support later retrieval. By default, this URI is simply the input VCF's location in the file system, but you may declare a custom URI instead as an optional argument:

vrsix load chr1.vcf gs://my_stuff/chr1.vcf

By default, all records are ingested into a sqlite file located at ~/.local/share/vrsix.db. This can be overridden with either the environment variable VRS_VCF_INDEX, or with an optional flag to the CLI:

vrsix load --db-location=./vrsix.db input.vcf

Development

Ensure that a recent version of the Rust toolchain is available.

Create a virtual environment and install developer dependencies:

python3 -m venv venv
source venv/bin/activate
python3 -m pip install -e '.[dev,tests]'

This installs Python code as editable, but after any changes to Rust code, run maturin develop to rebuild the Rust binary:

maturin develop

Be sure to install pre-commit hooks:

pre-commit install

Check Python style with ruff:

python3 -m ruff format . && python3 -m ruff check --fix .

Use cargo fmt to check Rust style (must be run from within the rust/ subdirectory):

cd rust/
cargo fmt

Run tests from the project root with pytest:

pytest

Some granular tests are written directly into the Rust backend as well:

cd rust/
cargo test

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

vrsix-0.1.2.tar.gz (22.7 kB view details)

Uploaded Source

Built Distributions

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

vrsix-0.1.2-cp313-cp313t-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ x86-64

vrsix-0.1.2-cp313-cp313t-musllinux_1_2_i686.whl (2.4 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ i686

vrsix-0.1.2-cp313-cp313t-musllinux_1_2_armv7l.whl (2.3 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARMv7l

vrsix-0.1.2-cp313-cp313t-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARM64

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.3 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ s390x

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.2 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ppc64le

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl (2.3 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ i686

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARMv7l

vrsix-0.1.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

vrsix-0.1.2-cp313-cp313t-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

vrsix-0.1.2-cp313-cp313t-macosx_10_12_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13tmacOS 10.12+ x86-64

vrsix-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

vrsix-0.1.2-cp310-abi3-musllinux_1_2_i686.whl (2.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

vrsix-0.1.2-cp310-abi3-musllinux_1_2_armv7l.whl (2.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

vrsix-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

vrsix-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

vrsix-0.1.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ s390x

vrsix-0.1.2-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ppc64le

vrsix-0.1.2-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ i686

vrsix-0.1.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

vrsix-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

vrsix-0.1.2-cp310-abi3-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

vrsix-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: vrsix-0.1.2.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for vrsix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e195b82653093bb59cfc8e964f9c72655b4e22e13b819b60fab7501fd1706434
MD5 6f475a32f5c634c8099ebbfd1fa20da5
BLAKE2b-256 01855aa5eef346ec6be0d0cff0caa37e7ead447aa52ab43399f28e7382a454db

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 63f9f96d13b645350189190a62c430ff28d36fd177be99159dba959e0d1761a0
MD5 6811d507a950fa8b324044ba1af42d78
BLAKE2b-256 99b6d4553815a79ec509ac613582db9dd7ab7d3fd485dcf64a4c67b9836bc6ff

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6523d7dbdae6954687bcaf33d8370eed2cedafd381e03a3e43ecf2a9775dda0c
MD5 72d14e58dbf0c1c18c6ff1c76cb73ec2
BLAKE2b-256 91cbdb9c9327ce8d8b6289b4e0c7520aa522d9cbee93d820b07e2022c375ac69

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 29573522466b0e556039b4c2fe2ea9ab173777ed45373a017e564e89f5ae960d
MD5 50a86e894440745f82478e700b1d0994
BLAKE2b-256 977c733d9296897df1c093c827c25eade838d1c5356efe9b652107b4d985ac56

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7bedb5908f336ed8eca405ab423d5965ad12a0e428c66eaf3e9567dbd93783a4
MD5 68cc730f3299df00b6a1ea044b8ff026
BLAKE2b-256 3bd16f26d51e3dfa24276689d89d6730d63b6e00c457c8f2870a7ea547ded279

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45a2df22ef501e5d3e491632a65d93c70697687f082f03a7c782a8804bef119b
MD5 f8894f303f8d817e595d3de22bdc3e42
BLAKE2b-256 45f54a85a804a136660ae64c5b2e738b1bd3c5992fbf4f67b0f289c89bd66620

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 847cba73dac509d0cb751ba732e695591ad6d17998b72de529a9e51585d2cad7
MD5 5a002010508f1bf5679bda21dd20fb4f
BLAKE2b-256 fecf130be3cd171c5556a2cc1d7d0d8970675c15a5dfb680d790fa841ddc398a

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 65dce41d12affb72476d568e8f61633f4d6b7c3b8d3ef21963443958e369fe2a
MD5 714a86d038ccac76be61a44d3da109d6
BLAKE2b-256 0c285e7f83c1176c5e9993778bb804dc84d05981c8151a95006c8b0f7700c8ac

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0bd286c9d7780ab9fa2c2c73f4ea2020d787cd0fb424a9cfcfde4fee0041f6aa
MD5 31c0626e3025c0721e293e10bd56b2af
BLAKE2b-256 61e661682a14fb533909d09e4cbfd49541d9207d4436648e9ba5f36844ed1466

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 1b055f48ba0b8db1b456622fd39ec9cc3e8c8285639899ac145c54c26b329874
MD5 9640b524a4ed51aeba4683d005fe0cd8
BLAKE2b-256 5f5aff190be2da0e92aca19b02cfef7d7f47e0ad549bba0cb8b8587dcf4ea826

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c097b7dbf8f947c02b4f2493269592dd7dbc244095647b463ded645f81466d5a
MD5 0ee2600e981a725c3ac5a389e0959471
BLAKE2b-256 f8d0b2b2707ac07eb8a63e6d00631503c71c8e2934b1a140a0e964279b74e265

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea58a26f79293a78a0ee3bd3eea8b46a9ad4c05a89e8d258193d6299c7e353ec
MD5 bc22e75ef7d31d8b5b4ebb76be9832f2
BLAKE2b-256 dd9ee364d10fed97812961f31b5031c6f65c2fab2e1293a4b46ca5876044737e

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3045ae7d92dbd00a1a569a73e3df94ddd7be2646ebbccde0f2d5e8887985adae
MD5 151198c80664e76a4e3cba678bdd77ee
BLAKE2b-256 aa0d81178f020f963d312660a97a5904d94a51e94a72b784a02d42ad4cb626d6

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e42d88a1645421d5acca5b7d31d877e606fc1095e335ba8f5a4550d5c0069fe
MD5 1caa513f24627feda0963688be8b5326
BLAKE2b-256 731e8daec5ada1e64922bceca17da5767b61b60d16ae8174bcfb8e8d616a7aa9

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 018758f7eb81bf68e77baa9ad3d7aa77904d12f866bbaae8f0b66ff12ae21de0
MD5 205e7a6f8fd26b55950d7fed20dfc734
BLAKE2b-256 b50d9dda890757d524acea729d29be154506b7c709ad2704cef189fc601d08f6

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 dad7cdaba8616a517c8886b40a93406a009d85e2c0ec476fe99d3e9bd6c4fa71
MD5 773204ae19c4bbdff11ba0c6c2371434
BLAKE2b-256 597464264390f1d00d75699b9644bcaf92b045dfcb073b2ddb2181c072b32522

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 99b2eb47fc0cb04a847c86954a89ced80d7f1341c073d4042b929c364d0b5400
MD5 095fdf624390778b52964671498255a8
BLAKE2b-256 1020084241c9bf8a44ce139952fecb5acd5e91fb6d40334728879d30e92976ad

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f256c18806767dafc18dc026294ce16c899bce36ceac839c9782a8f400f46ae
MD5 5c20b0d07b7a0af258472ac7dd0da5be
BLAKE2b-256 83aabb97a219e63571b771b9b05fa238716c87dbf1940b0b0d0f3d80488a9729

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 e94fc183954ee6e83b1701e6540fdc4026c713c6ee74c0f0d4d8410eec9683c5
MD5 b108af8f73094c09367488c2ec520ffd
BLAKE2b-256 d30c246f840ff2b333520c065a50b32506781de3c7b09445f2998eeff5d87ba4

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 9b2063f570e1c872e4080ff19b470e171f8ed630ca5c6c211cea728af5f1e6d9
MD5 8bf9b9a22c93e2df9132c763ca6b438d
BLAKE2b-256 6f873d3797820de10d46b8614931d4404b48cb4f8f71eec2a5f85f100971af69

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b315eed8ef96c3d30bc994e81afdb575437e371d6fda3192789b94b22c98e9b5
MD5 0a0ce5f90655b5e00b8a569995520a19
BLAKE2b-256 48d119623d046c8360e52a0aa7efc1956f11219e4097b7475e79c2b92baefb7c

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ca4813982f763faacf693a02c6c177ab1f1eeaca92f163e786c150c06cd92ee9
MD5 19a60f458ef774255c67d43e1edca499
BLAKE2b-256 84845b13f29a43fa3f150ebff5db3c010613bcd2ded3decefd3409b6b14e0a07

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a775d9b1351704368a99c2904546ecd7e0a3983576256c3300c0730aed1e813f
MD5 20a8d574892d3ebdaa1522ce5d5af0fc
BLAKE2b-256 8448fa4b2aff4eb60b0db7474c30f5b12056fac26aa058433b2bb564a0bdbaf9

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9d601fe99d1d65f0541e33c76482245e60fde478c51cc7e197fd153b8d9020a
MD5 9bb224fe7a2171356f9544f000bc3c33
BLAKE2b-256 960480438f86044dd1e8822468ff245171c0b9c0284c627fa7661ccf97da779f

See more details on using hashes here.

File details

Details for the file vrsix-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for vrsix-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5dc46750dc7d589a567ca6659897aa5bc8751937c1fd5c26d1c6b5d63e341088
MD5 454011b6bc2f4e2ad20001c3c1eb3601
BLAKE2b-256 ef65b937487e22d28cfbc4e5ff2f778c1b483d583d166cb84bac191a501c6c47

See more details on using hashes here.

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