mamba install -c conda-forge -c bioconda wasp2pip install wasp2The PyPI package does not install external tools such as samtools,
bcftools, or bedtools; install those separately.
docker pull ghcr.io/mcvickerlab/wasp2:1.4.0
docker run --rm ghcr.io/mcvickerlab/wasp2:1.4.0 wasp2-count --helpsingularity pull wasp2.sif docker://ghcr.io/mcvickerlab/wasp2:1.4.0
singularity exec wasp2.sif wasp2-count --helpWASP2 installs four command-line entry points:
wasp2-mapwasp2-countwasp2-analyzewasp2-ipscore
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.bamwasp2-count count-variants filtered.bam variants.vcf.gz -s sample1 -o counts.tsvwasp2-analyze find-imbalance counts.tsv -o ai_results.tsvwasp2-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.tsvwasp2-ipscore inventory --output inventory.tsv
wasp2-ipscore manifest --output manifest.csv
wasp2-ipscore validateSee the documentation for complete usage, tutorials, and API details.