Allele-specific analysis of next-generation sequencing data with high-performance multi-format variant support (VCF/cyvcf2/PGEN)
Project description
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-mapwasp2-countwasp2-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.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wasp2-1.4.1.tar.gz.
File metadata
- Download URL: wasp2-1.4.1.tar.gz
- Upload date:
- Size: 174.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
801a3266f0e81fe6df2fd00a71deac3e58310ee2a6cc45ca3513b596ebe872ef
|
|
| MD5 |
a76519817a48f6dc4dcd0006b2a354f2
|
|
| BLAKE2b-256 |
7579d87f5eb47230c465606a2b91efe9982110d40ce2b529f99348b5165f1a33
|
File details
Details for the file wasp2-1.4.1-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 17.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
051af6104d0897e9727504a7a4ee1d45814e3d1919343818c3aa6e94017bdea4
|
|
| MD5 |
7444381bbe47e0a5fa33acbe0b92ac62
|
|
| BLAKE2b-256 |
783bb821c4059f68302336b8ffdaef8c6afdd8eb420b25c3751dbd842581b812
|
File details
Details for the file wasp2-1.4.1-cp313-cp313-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp313-cp313-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 15.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ad3da70546365a7b620be847126a0814a9586c8dcc9e720a70e787d79832e67
|
|
| MD5 |
a0c1d42d6be782ea9f6e0f1e236edd5d
|
|
| BLAKE2b-256 |
55f30eae23797e360ff2fefea0888f667b94402822a206870900ecc0ec2d5988
|
File details
Details for the file wasp2-1.4.1-cp313-cp313-macosx_13_0_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp313-cp313-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.13, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f6519f76a8d6836e3ff4de35e98b0467bf370ca3e36dca5ccac08b59bcd21f
|
|
| MD5 |
00ea31373b2d2d74fbf5bf86b1247591
|
|
| BLAKE2b-256 |
f2ab947e6a05d015a38bf4218acd121564bad6f27d12e90195e699fbb6be220f
|
File details
Details for the file wasp2-1.4.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ef4cb31d91266b34934d5add7fcb118bcbf2c10ae9aaa8839f10b42d94c1177
|
|
| MD5 |
084a335af884e5dfdd06a4aac1823f3f
|
|
| BLAKE2b-256 |
e9d54899104dd09215209cbba30b8b6d6ca382fa288d1621311b8f25fd350e7e
|
File details
Details for the file wasp2-1.4.1-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 17.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc57182e01982e623d16ff53636e0146aea2c5c991b32694a2f1eef686ee4ca8
|
|
| MD5 |
6ee5eb34044ce4a777d272d308267900
|
|
| BLAKE2b-256 |
97bbac15ab98740ba17338831c2f114249a5a9949c3d0ea214efcdb8af8215d9
|
File details
Details for the file wasp2-1.4.1-cp312-cp312-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp312-cp312-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 15.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e818768e8e678afcb187e29ff919be8033697c01de603533e0676ba438b4109d
|
|
| MD5 |
f4905ed037b8833112cbfc3dc7f9bbd7
|
|
| BLAKE2b-256 |
af2b04fb67b2b1cbe062ca938e64e82896cdab3009321200a50b831e19d6158e
|
File details
Details for the file wasp2-1.4.1-cp312-cp312-macosx_13_0_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp312-cp312-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.12, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bbad8ff79c51e5f9d212a4bda81a053f081f532a976f0d75af743619fd01194
|
|
| MD5 |
72f439fd17abb520bbc3610472a752d6
|
|
| BLAKE2b-256 |
c9ea234061e96098b8a04411a4339977008bfda617ac7fc6fed4639f5396de0d
|
File details
Details for the file wasp2-1.4.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61ef9411b2937794fc0594a793669cca5d103a70c46f58cbeaa08189dcbeb781
|
|
| MD5 |
9442c2daf8afa21f5d26d140b98b3703
|
|
| BLAKE2b-256 |
f60fc6fc769768caf3ddd6825b6708cff8c0d121e2e6cfe88ea9f71a75e4f94d
|
File details
Details for the file wasp2-1.4.1-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 17.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b7dcea873bf1d63a6110831f0417fd5f5aa20082b7dd95f707beeecc31f1a0
|
|
| MD5 |
8162c4c58c79dbfc452ec7bd8e0b8e13
|
|
| BLAKE2b-256 |
f7deb1b9765acdec92f2b93478d525d0c913c6f35b6a7c7256783fec2d2eaf72
|
File details
Details for the file wasp2-1.4.1-cp311-cp311-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp311-cp311-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 15.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dd6da57348fa295cf23ef2c88669db3736121fc5e12c6bcae415100a6cc9eab
|
|
| MD5 |
fc443d6ab4293e87a67f7b29d0d49f6d
|
|
| BLAKE2b-256 |
c282e61082347345d15544111ed88933a2b8109b9244b76713fdc2cb8200bf50
|
File details
Details for the file wasp2-1.4.1-cp311-cp311-macosx_13_0_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp311-cp311-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
691a1ad2b26f8ae9e6e1e61228fabc35d769ff1a3bdb191ef50663208f93eb53
|
|
| MD5 |
52f421fe38d2db2448cf95433eb7e1b8
|
|
| BLAKE2b-256 |
9419846d2b606dcb2e193a85f4d58c65b56d34ad17292cbd137ad4f56e1270fd
|
File details
Details for the file wasp2-1.4.1-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17dcbffdf305541857caaf2a9c4762e20e0e069ddd2394322f1003f3b0102d49
|
|
| MD5 |
e4eafa8fa80a1342652af4c149dda27e
|
|
| BLAKE2b-256 |
293ebf84095e07adaceb6df4ac9c7f40168f556481560bba51c8eb3a32b30448
|
File details
Details for the file wasp2-1.4.1-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 17.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c0330131ab05db2a71dd483cb20e69f07fd4c51174bad5214f07c12f59940ba
|
|
| MD5 |
af152786302b9b305e53f28a6b53cea3
|
|
| BLAKE2b-256 |
a8470d6e7748ed3d486d6087235c67b78d110237164dcb40b3268e64672e61ec
|
File details
Details for the file wasp2-1.4.1-cp310-cp310-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp310-cp310-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 15.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3367cb50b90814bc53392b265ea6bd3b290a840893f1d0dbb5ce5365082b4c18
|
|
| MD5 |
e9269f682ff426ff48705c263435b177
|
|
| BLAKE2b-256 |
4210aeb8319dace901658f7e7ea2b008ed6b5ce99b1a40f75d40f643c948b4b3
|
File details
Details for the file wasp2-1.4.1-cp310-cp310-macosx_13_0_x86_64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp310-cp310-macosx_13_0_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698e7fb614b718acdb766b52597f17c7af1cf00678a03c87706f234021e1fa90
|
|
| MD5 |
e09931448074e487a07fb2660cf43054
|
|
| BLAKE2b-256 |
8695069062efc4e2b8750c9b12c973fc68ee02de28607962b1a037db7c55a122
|
File details
Details for the file wasp2-1.4.1-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: wasp2-1.4.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03ef96f97cc5ca0aab3a810550e8ab657f7e7232c0b6c1df058333f741197e8f
|
|
| MD5 |
45374e8154cace8a6624e7c0fbaca98e
|
|
| BLAKE2b-256 |
cfc0ea7b177d643225f7ee04e8b47ccf4ab1bf14cf779ef5807b82c25723af99
|