Skip to main content

Allele-specific analysis of next-generation sequencing data with high-performance multi-format variant support (VCF/cyvcf2/PGEN)

Project description

WASP2 - Allele-Specific Analysis Pipeline

PyPI CI Documentation License

DocumentationMcVicker LabOriginal WASP


Installation

pip install wasp2

Pre-built wheels are available for Linux (x86_64, aarch64) and macOS (Intel, Apple Silicon) with Python 3.10-3.12. The Rust extension and htslib are bundled — no additional dependencies required.

Quick Start

WASP2 has three steps that run in order:

Step 1: Remap reads to correct mapping bias

wasp2-map make-reads input.bam variants.vcf.gz -s sample1 -o remap_dir/
# Realign the swapped-allele reads with your aligner, then:
wasp2-map filter-remapped remapped.bam -j remap_dir/sample1_wasp_data_files.json -o filtered.bam

Step 2: Count alleles at heterozygous SNPs

wasp2-count count-variants filtered.bam variants.vcf.gz -s sample1

Step 3: Test for allelic imbalance

wasp2-analyze find-imbalance counts.tsv -o results.tsv

See the documentation for detailed usage, single-cell workflows, and supported variant formats (VCF, BCF, PGEN).

Authors

  • Aaron Ho — Creator of WASP2
  • Jeff Jaureguy — Developer and maintainer
  • McVicker Lab, Salk Institute

Citation

If you use WASP2 in your research, please cite our paper (coming soon).

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

wasp2-1.3.3.tar.gz (181.4 kB view details)

Uploaded Source

Built Distributions

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

wasp2-1.3.3-cp312-cp312-manylinux_2_28_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

wasp2-1.3.3-cp312-cp312-manylinux_2_28_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

wasp2-1.3.3-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

wasp2-1.3.3-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

wasp2-1.3.3-cp311-cp311-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

wasp2-1.3.3-cp311-cp311-manylinux_2_28_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

wasp2-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

wasp2-1.3.3-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

wasp2-1.3.3-cp310-cp310-manylinux_2_28_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

wasp2-1.3.3-cp310-cp310-manylinux_2_28_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

wasp2-1.3.3-cp310-cp310-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

wasp2-1.3.3-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file wasp2-1.3.3.tar.gz.

File metadata

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

File hashes

Hashes for wasp2-1.3.3.tar.gz
Algorithm Hash digest
SHA256 7e9f0f23426cdac056f3d26b16961c88189c1512b80b3b2ec5cdd9894195be8c
MD5 2e74c872e53a5716885bf4123757c63d
BLAKE2b-256 df66bdab6aebb85da92530992eb16bf02d2db0284a80671fdfbbcdebf65fd04b

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 150709646a08372b9c74df3982cf1e636602993da457f31687052604dd164940
MD5 1dfa4c84959c7761cd6ee6c34860496b
BLAKE2b-256 642bfe7dbe25a408c23509bdee9e44ec3819a9cf52053e5bc4eb4097cc96463f

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3b0a39964847557a8bca4cfc1aed597d71e1188a6fe698f89a774cc756a19a03
MD5 a458ca465824b602c2af585a72406ab4
BLAKE2b-256 c8400946c2f09779674d30a81c6cbaa0e88b48a5b4f01111ab68147e37c04e00

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b6dff7d4222f70b6ce9976ceeb5b63753d4ea23c4e7001704064b2c2419b0421
MD5 89a02111d5d966061d7d88ce0aeb0666
BLAKE2b-256 4648caef68d5384e384910797591458fd9b9b7cfa5ccde82a356e98a1b20c93e

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c408a8d51283d4a713c569e6eaace84a8e61d1877075d282c73241807ecd931
MD5 66530bb028b84f88a1649ca11db5e5b4
BLAKE2b-256 3107140fecf02bacb0857fe787425783536ac25888f3193b3739955fdb7f3dcc

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d31b95d0e69e8cf9bc4dc03b1d507df30c48412a936fd78f36ea1e9e197eccfd
MD5 15c505e194811a3aaf7ec284a5f42a56
BLAKE2b-256 25436d1d4e1cd94a6bf9950d2a8f5177a120cdde65c232f5fdf1bd4f847084d0

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4facc4942d49e20abdc5885a7b8f7070f136910b2e8bf581734b4da722299380
MD5 a1ee7bd294447debf157b6e5186304d8
BLAKE2b-256 3d2b55386c6049dcd5b6b07a2906fd7ea0548037b566ad05422a119b07091735

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b47fe6de6430e5b12cf89da243bea3d4b11d6b3651a01f1912476b46ef95f839
MD5 36629c5d49b9f2c36906c8c47cbf0119
BLAKE2b-256 28fc03da14a5aa634868e0c5e8deff9a88d91e74e39a67f17424469e1f67f66b

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88fcd402079c0189b854e55ba18febd27feac68bb278475259ca7023277e1d60
MD5 3f576d72707a55c7c4fd928127f022ab
BLAKE2b-256 d08426dcd5b65f7c643489ada962a9c6d79e0d94666cf33ea44ec1509186204f

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f4e0083e12f2758453052225b9d1fb2e805f69a85e6f689a812c9d96b1fc12f4
MD5 5af559c79d44e134600aaf40d9cdc796
BLAKE2b-256 d900bf3bdc6dff8e36405e540915f4edebf5c9d44163e4a163cfa79b0eec28a9

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 da2476f861ab774583a3113677d7c801398983c63a03c3de432b4cc186dab90c
MD5 f9b90b9e9c49ae2ef806ef898803b4bf
BLAKE2b-256 62e2e36e6bb2bf5e1cf21239aff52a1ff30f34fbe1a0592e08750ef1a80fa670

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f89c65692fa4464339a68f76f586787ffe99254bec6a030c197428d46ddfb543
MD5 ed4c78e75eea1f7b2c3f108e67655368
BLAKE2b-256 c5a76c5e3afe26719c677eb84d69e12e9a8d89698fcc9a9b8da14ed021582bb8

See more details on using hashes here.

File details

Details for the file wasp2-1.3.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wasp2-1.3.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7a9e3d08d56f3e5fc6c7ef515a25bc9817cfd4b4ea59f8798185c94c004ee91
MD5 c8fd6fbc046fa55865b0e8f02f18f70b
BLAKE2b-256 04e55530ecab47bc7aa3331896e4864570049852c7a4224646118ed82fd0f57a

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