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

Recommended: pixi (one command, all dependencies)

# Install pixi if you don't have it
curl -fsSL https://pixi.sh/install.sh | bash

# Clone and install
git clone https://github.com/mcvickerlab/WASP2.git
cd WASP2
pixi install

This resolves Python, Rust, samtools, bcftools, bedtools, and htslib automatically. No system packages required.

Via PyPI (pre-built wheels)

pip install wasp2

Pre-built wheels are available for Linux (x86_64, aarch64) and macOS (Intel, Apple Silicon) with Python 3.10-3.13. The Rust extension and htslib are bundled — no additional dependencies required. You still need samtools, bcftools, and bedtools on your PATH.

See the documentation for mamba/conda, Docker, and Singularity install options.

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.4.0.tar.gz (182.1 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.4.0-cp313-cp313-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

wasp2-1.4.0-cp313-cp313-manylinux_2_28_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

wasp2-1.4.0-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

wasp2-1.4.0-cp313-cp313-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

wasp2-1.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

wasp2-1.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

wasp2-1.4.0-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.4.0.tar.gz.

File metadata

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

File hashes

Hashes for wasp2-1.4.0.tar.gz
Algorithm Hash digest
SHA256 8d73c53290eb7df01cb297661a7ca968a43cc04d132f278422221d09606c440c
MD5 5b0f6740588a0400b7d6bf8c0deb8be3
BLAKE2b-256 de8060d193e0abd85ba90d1b9d15411af7f007f15829167272cd57199935a2a7

See more details on using hashes here.

File details

Details for the file wasp2-1.4.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05f9906de33c887008dc37bca088be5e1ceba28a2d360d78ad564a3802fa7031
MD5 52e223db1514dd58b9968eef0277ba6b
BLAKE2b-256 9e1ff92e4a84958f9575b46c280085ee9b72eff25b580e97d8f4635b159f26c0

See more details on using hashes here.

File details

Details for the file wasp2-1.4.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for wasp2-1.4.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4694b4e2cb5281fdd58c7826778e2472bbd6af7da35108c69cf947dc33d38c80
MD5 bc49c871bcb51b1f30ad90f7848e5217
BLAKE2b-256 7ada21be9b0554bec9be4c2ae1a8192a7bc89db1c07f0cfd7a0e2cda57567dd0

See more details on using hashes here.

File details

Details for the file wasp2-1.4.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for wasp2-1.4.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 60ef09e3e92cfe689c6fdd0729621a33d6041d404c5d6f059bdbfc011c55375f
MD5 dae29b24253f4ec4c6b085555f9451b7
BLAKE2b-256 bbac07723a07f2f13d4dcff05660f637d92182260a8509fc2a07065d5384c26f

See more details on using hashes here.

File details

Details for the file wasp2-1.4.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wasp2-1.4.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5d121118eb85e41efc5f93db916e0afd091bf5b618ca8316fe29a7200fd5b6a
MD5 c51198d1c62125f5710fa0392fb6d44b
BLAKE2b-256 521aea31a685f6898398ad9d2b426ccd780fd0c77dc3073629db69e83a2567f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cdb8acb0c3b0de9c473b859b1810fb4f1b29669eb749705938e90b41a3954fa
MD5 05f04c861438056d17244d71d962a92d
BLAKE2b-256 e4955707bba340b1e9d5826f4ca7cf168dd0cfcf24bd05650e76f71746ae2db2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5a5be703219622f4a9d9fc301ee450f72043f2774deef1f389659173c6235772
MD5 01532f261a861d873ee07b18619a8836
BLAKE2b-256 0d8cb1fbd1088ba7d7e07f595d32973e0c222b3ed2efbb8d985172a44493f1f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ff46aa56bde8c5e003a159aefde196fc94252d365e77fc0560286d16174109e
MD5 018c3d0738ad897ce65bf3a1c05e6574
BLAKE2b-256 0f69bf4339c388c02079470875adb5e62261ce154c4e2f2260ee6fe95943df4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36c4691a4e550087c6b5f543b653a43fc51b591b177be94806239a78d2eb07ea
MD5 14d3e20db08fc7dd76e9f5609c592b9f
BLAKE2b-256 8347ebe435f7b6a1c1b5a5bce4ea07ab371f322f68ad2f70e2713c31f2039476

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07e7c9ee07c13dced93d4c892e1434a1d02e725b5bf007060baae7614f6d0d9b
MD5 952711536885e272df922ecf2d7bdd26
BLAKE2b-256 34f4ced6832160fd0802dfc271bb2b00f76b98d57f6a7e202558884db2c3c5fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 077f609e8d624baec9b94926e6a454db99ebef8b3f8543ada99f69e14e746b67
MD5 f0096c224a6f95d53453734efe381b99
BLAKE2b-256 91952f418203e8086aae32f74541468eeb97ae3ee7e5bde9c56daa274d2de7e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dbe512017f3491807fd4f5fd4f2a6d9d57cbcb436f0be386810a999b142fa77a
MD5 addea3aae846bac904e2f2b218e8761f
BLAKE2b-256 e1c8c94e163b4cfc94bb566060e4e11f3d56fbc13818638b0fdf81dbb6fb7cd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a395a81a56496e64b8d5579be626ce73a45830437be584033b1ad7e2b428f2a5
MD5 6371a70eb2fb905d14469050b584dc32
BLAKE2b-256 9e6e9cbd9992fc95db074fabee0d83699db43446dbb725256cf3dcb8b91564e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c3aaf70252a133c9123fbc0178d3fe0e489899da3ca5a10499d5193acb0a388
MD5 bf33d608dd00f2672aa4f2e6c78f09a3
BLAKE2b-256 e29752d40fb74a65fa5d8da833288a61e7c4f9410ea2941ea4ee6ca43b486337

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1902bf4229be2e36805022348ed943ccbf1a2b1999348756b88b24611ab48716
MD5 a2555af65e8b2fd4670dd1698f23387e
BLAKE2b-256 524fb1f28f0fe0d0f1abbdc9dccf34fcb3854857930563d6007de96933eb8034

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c8938e58a147db9d0401a7cd4a8fec749fb99932483f45ef00da1136d46fb719
MD5 052462796b2a9d726daeef381261cd4c
BLAKE2b-256 47868dc4b3ee4309ef0006619a462a409a3074494a9fec644804d4ea1d9225fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wasp2-1.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cb442e3282b3d4de6ae4a5a3f6cfb2612ad572eef16c2e0144bd42e8da54f31
MD5 c427650ebb58144b56b4bff135c735c7
BLAKE2b-256 55ccc3eeae1c7c41ca5d5a73735235857f719cb8c988c412dbfb39a8f563633b

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