Skip to main content

WASP2 - Allele-Specific Analysis Pipeline

PyPI Bioconda CI Documentation

Installation

Bioconda

mamba install -c conda-forge -c bioconda wasp2

PyPI

pip install wasp2

The PyPI package does not install external tools such as samtools, bcftools, or bedtools; install those separately.

Docker

docker pull ghcr.io/mcvickerlab/wasp2:1.4.1
docker run --rm ghcr.io/mcvickerlab/wasp2:1.4.1 wasp2-count --help

Singularity/Apptainer

singularity pull wasp2.sif docker://ghcr.io/mcvickerlab/wasp2:1.4.1
singularity exec wasp2.sif wasp2-count --help

CLI Tools

WASP2 installs three command-line entry points:

  • wasp2-map
  • wasp2-count
  • wasp2-analyze

Quick Start

1. Correct mapping bias

wasp2-map make-reads input.bam variants.vcf.gz -s sample1 -o remap_dir

# Realign remap_dir/*_swapped_alleles_r1.fq and r2.fq with the same aligner
# and settings used for the original BAM, then:

wasp2-map filter-remapped remapped.bam \
  -j remap_dir/input_wasp_data_files.json \
  -o filtered.bam

2. Count alleles

wasp2-count count-variants filtered.bam variants.vcf.gz -s sample1 -o counts.tsv

3. Test for imbalance

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

Single-Cell Example

wasp2-count count-variants-sc \
  cellranger.bam \
  variants.vcf.gz \
  barcodes.tsv \
  --samples sample1 \
  --feature genes.gtf \
  --out_file allele_counts.h5ad

wasp2-analyze find-imbalance-sc \
  allele_counts.h5ad \
  barcode_groups.tsv \
  --sample sample1 \
  -o ai_results.tsv

See the documentation for complete usage, tutorials, and API details.

Release files for wasp2 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wasp2 1.4.1
File Size Uploaded
wasp2-1.4.1.tar.gz 174.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for wasp2 1.4.1
File
wasp2-1.4.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
wasp2-1.4.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
wasp2-1.4.1-cp313-cp313-macosx_13_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 13.0+ x86-64 Details
wasp2-1.4.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
wasp2-1.4.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
wasp2-1.4.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
wasp2-1.4.1-cp312-cp312-macosx_13_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 13.0+ x86-64 Details
wasp2-1.4.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
wasp2-1.4.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
wasp2-1.4.1-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
wasp2-1.4.1-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
wasp2-1.4.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
wasp2-1.4.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
wasp2-1.4.1-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details
wasp2-1.4.1-cp310-cp310-macosx_13_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 13.0+ x86-64 Details
wasp2-1.4.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 142.8 MB

Release files / wasp2-1.4.1.tar.gz

Download URL wasp2-1.4.1.tar.gz
Size 174.6 kB
Tags Source
SHA-256 checksum
How to use checksums
801a3266f0e81fe6df2fd00a71deac3e58310ee2a6cc45ca3513b596ebe872ef
BLAKE2b-256 checksum
How to use checksums
7579d87f5eb47230c465606a2b91efe9982110d40ce2b529f99348b5165f1a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL wasp2-1.4.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 17.4 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
051af6104d0897e9727504a7a4ee1d45814e3d1919343818c3aa6e94017bdea4
BLAKE2b-256 checksum
How to use checksums
783bb821c4059f68302336b8ffdaef8c6afdd8eb420b25c3751dbd842581b812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL wasp2-1.4.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 15.4 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
5ad3da70546365a7b620be847126a0814a9586c8dcc9e720a70e787d79832e67
BLAKE2b-256 checksum
How to use checksums
55f30eae23797e360ff2fefea0888f667b94402822a206870900ecc0ec2d5988
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp313-cp313-macosx_13_0_x86_64.whl

Download URL wasp2-1.4.1-cp313-cp313-macosx_13_0_x86_64.whl
Size 1.5 MB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
f0f6519f76a8d6836e3ff4de35e98b0467bf370ca3e36dca5ccac08b59bcd21f
BLAKE2b-256 checksum
How to use checksums
f2ab947e6a05d015a38bf4218acd121564bad6f27d12e90195e699fbb6be220f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL wasp2-1.4.1-cp313-cp313-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2ef4cb31d91266b34934d5add7fcb118bcbf2c10ae9aaa8839f10b42d94c1177
BLAKE2b-256 checksum
How to use checksums
e9d54899104dd09215209cbba30b8b6d6ca382fa288d1621311b8f25fd350e7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL wasp2-1.4.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 17.4 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dc57182e01982e623d16ff53636e0146aea2c5c991b32694a2f1eef686ee4ca8
BLAKE2b-256 checksum
How to use checksums
97bbac15ab98740ba17338831c2f114249a5a9949c3d0ea214efcdb8af8215d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL wasp2-1.4.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 15.4 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e818768e8e678afcb187e29ff919be8033697c01de603533e0676ba438b4109d
BLAKE2b-256 checksum
How to use checksums
af2b04fb67b2b1cbe062ca938e64e82896cdab3009321200a50b831e19d6158e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp312-cp312-macosx_13_0_x86_64.whl

Download URL wasp2-1.4.1-cp312-cp312-macosx_13_0_x86_64.whl
Size 1.5 MB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
9bbad8ff79c51e5f9d212a4bda81a053f081f532a976f0d75af743619fd01194
BLAKE2b-256 checksum
How to use checksums
c9ea234061e96098b8a04411a4339977008bfda617ac7fc6fed4639f5396de0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL wasp2-1.4.1-cp312-cp312-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
61ef9411b2937794fc0594a793669cca5d103a70c46f58cbeaa08189dcbeb781
BLAKE2b-256 checksum
How to use checksums
f60fc6fc769768caf3ddd6825b6708cff8c0d121e2e6cfe88ea9f71a75e4f94d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL wasp2-1.4.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 17.4 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
76b7dcea873bf1d63a6110831f0417fd5f5aa20082b7dd95f707beeecc31f1a0
BLAKE2b-256 checksum
How to use checksums
f7deb1b9765acdec92f2b93478d525d0c913c6f35b6a7c7256783fec2d2eaf72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL wasp2-1.4.1-cp311-cp311-manylinux_2_28_aarch64.whl
Size 15.3 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
9dd6da57348fa295cf23ef2c88669db3736121fc5e12c6bcae415100a6cc9eab
BLAKE2b-256 checksum
How to use checksums
c282e61082347345d15544111ed88933a2b8109b9244b76713fdc2cb8200bf50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp311-cp311-macosx_13_0_x86_64.whl

Download URL wasp2-1.4.1-cp311-cp311-macosx_13_0_x86_64.whl
Size 1.5 MB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
691a1ad2b26f8ae9e6e1e61228fabc35d769ff1a3bdb191ef50663208f93eb53
BLAKE2b-256 checksum
How to use checksums
9419846d2b606dcb2e193a85f4d58c65b56d34ad17292cbd137ad4f56e1270fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL wasp2-1.4.1-cp311-cp311-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
17dcbffdf305541857caaf2a9c4762e20e0e069ddd2394322f1003f3b0102d49
BLAKE2b-256 checksum
How to use checksums
293ebf84095e07adaceb6df4ac9c7f40168f556481560bba51c8eb3a32b30448
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL wasp2-1.4.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 17.4 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4c0330131ab05db2a71dd483cb20e69f07fd4c51174bad5214f07c12f59940ba
BLAKE2b-256 checksum
How to use checksums
a8470d6e7748ed3d486d6087235c67b78d110237164dcb40b3268e64672e61ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL wasp2-1.4.1-cp310-cp310-manylinux_2_28_aarch64.whl
Size 15.3 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3367cb50b90814bc53392b265ea6bd3b290a840893f1d0dbb5ce5365082b4c18
BLAKE2b-256 checksum
How to use checksums
4210aeb8319dace901658f7e7ea2b008ed6b5ce99b1a40f75d40f643c948b4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp310-cp310-macosx_13_0_x86_64.whl

Download URL wasp2-1.4.1-cp310-cp310-macosx_13_0_x86_64.whl
Size 1.5 MB
Tags CPython 3.10 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
698e7fb614b718acdb766b52597f17c7af1cf00678a03c87706f234021e1fa90
BLAKE2b-256 checksum
How to use checksums
8695069062efc4e2b8750c9b12c973fc68ee02de28607962b1a037db7c55a122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wasp2-1.4.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL wasp2-1.4.1-cp310-cp310-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
03ef96f97cc5ca0aab3a810550e8ab657f7e7232c0b6c1df058333f741197e8f
BLAKE2b-256 checksum
How to use checksums
cfc0ea7b177d643225f7ee04e8b47ccf4ab1bf14cf779ef5807b82c25723af99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.4.1 This release

17 release files

1.4.0

17 release files

1.3.3

13 release files

1.3.2

13 release files

1.3.1

9 release files

1.3.0

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page