Variant-aware CRISPR off-target nomination

Latest: v2.10.1 — the phase of HPRC’s multi-nucleotide variants, so a search no longer lists a carrier whose haplotype one of them changes; extract-flanks, the sequence around an off-target per observed haplotype, to order validation oligos from; corrected precision-recall figures and off-target explanation; and a CRISPR-Bulge score that keeps a DNA bulge falling inside the PAM. It runs on the indexes of 2.10.0 (HPRC’s dictionaries are republished with the new files). See an example report → Release notes and known limitations → What 2.10.0 brought →

CRISPRme predicts and prioritizes potential CRISPR off-target sites and — uniquely — accounts for individual and population genetic variants (SNVs and indels), flagging off-targets that exist only on certain haplotypes. It suits both population-wide and personal-genome analyses. ("Off-target nomination" just means producing a ranked, annotated list of candidate off-targets to validate.)

To search, you download a prebuilt index — a ready-made search database for a genome + PAM (the short motif a nuclease needs next to its target, e.g. NGG for SpCas9; no building required). Use the reference index for a basic scan, and a variant-aware index (the recommended default is the phased HGDP + 1000 Genomes panel of the default SpCas9 NRR PAM, 20-NRR_3_hg38+hg38_HGDP1kGP, 4,091 samples) to catch off-targets created by human genetic variants — CRISPRme's main feature. The quickstart below downloads one for you.

What you get

Run CRISPRme on your own machine

CRISPRme is open source and actively maintained, and you can run the web interface locally on your own machine with the same functionality as before. The previous hosted application at crisprme.di.univr.it is no longer available, because institutional hosting at the University of Verona ended for this service. All features remain available to you.

The easiest way to get the same point-and-click experience is the one-line installer, which sets up a clickable CRISPRme app (Start / Update / Stop — no terminal needed after this).

macOS / Linux — in a terminal:

curl -fsSL https://pinellolab.github.io/crisprme-plus/install.sh | bash

Windows — in PowerShell:

irm https://pinellolab.github.io/crisprme-plus/install.ps1 | iex

It needs Docker Desktop (the installer guides you if it is missing) and downloads the reference + default variant data (~70 GB download → ~150 GB on disk; keep ≈ 200 GB free for the full variant-aware setup, far less — ~44 GB installed, ~65 GB free while it unpacks — for reference-only) on first launch. Prefer the terminal, or want to script / batch analyses? The Docker quickstart below and the command line both work too. Installed the app with 2.8.1? Its Update pulls the new engine only, and your data folder keeps 2.8.1's indexes: the installer's notes say how to move to 2.10.0's.

Hardware: variant-aware whole-genome search needs ~64 GB RAM; smaller searches need less (the README's System Requirements give what each took).

Get started ↓ See an example report → View on GitHub →

Quickstart — the web interface (Docker or Singularity)

The simplest way to run CRISPRme is in a container. Use Docker on a laptop or desktop, or Singularity / Apptainer on an HPC cluster (it needs no admin rights, which is why clusters allow it). Either way it is a few commands, with no conda and no compiling — and because you download prebuilt indexes rather than building them from raw VCFs, the download is far smaller. Choose Docker or Apptainer below.

1 — Install Docker & get the CRISPRme+ image

Install Docker for macOS, Windows, or Linux. CRISPRme needs 64 GB of memory for a genome-wide variant-aware search (16 GB or 32 GB will run out of memory on that workload); smaller searches need less (the README's System Requirements give what each took). You also need ≈ 200 GB free disk for the variant-aware setup, which takes ~150 GB once installed (far less — ~44 GB installed, ~65 GB free while it unpacks — for a reference-only setup). You cannot give Docker more memory than the machine physically has: under 64 GB total, run genome-wide variant-aware searches on a workstation or cluster instead.

To set Docker's memory:

  • macOS: Docker Desktop → Settings → Resources → Memory — raise it to 64 GB.
  • Windows: with the WSL 2 backend there is no memory slider — see below.
  • Linux: nothing to configure. Docker Engine has no Desktop UI and sets no memory cap, so containers can use all of the host's RAM.

Windows (WSL 2 backend). Docker Desktop reports that resource limits are managed by Windows, which caps the whole WSL 2 VM at roughly half your RAM — so a 64 GB machine gives Docker only ~32 GB. Create C:\Users\<YourUsername>\.wslconfig containing:

[wsl2]
memory=56GB

If that file already exists, add the memory line to its existing [wsl2] section rather than adding a second one. Then run wsl --shutdown in PowerShell and restart Docker Desktop. Keep the value a few GB below your total RAM so Windows keeps some.

Docker Desktop must be running whenever you use the commands below. Check how much memory Docker actually got before any downloads:

# Windows (PowerShell) -- prints GB:
(docker info --format '{{.MemTotal}}') / 1073741824
# macOS / Linux -- prints GB:
docker info --format '{{.MemTotal}}' | awk '{printf "%.1f GB\n", $1/1073741824}'

Then check it works and pull the CRISPRme+ image:

docker run --rm hello-world

# ':latest' always tracks the newest release; pin a specific version tag
# instead if you need reproducibility.
docker pull pinellolab/crisprme:latest

Already have an older image? Docker won't refresh a tag you already have — run docker pull pinellolab/crisprme:latest again to update, or an old image will error with download is not an allowed command. An image of 2.8.1 does not find the indexes of 2.10.0 (step 2 stops with No index '20-NRR_3_hg38+hg38_HGDP1kGP' found), and a data folder of 2.8.1 keeps its own indexes, which 2.10.0 searches with their limits: see Upgrading from 2.8.1 in the release notes.

2 — Download the data and a ready-made index (minutes, not hours)

# your working folder -- anywhere with room for the data and your results
mkdir -p ~/crisprme && cd ~/crisprme

# reference genome, annotations, PAMs, sample lists, AND the default hg38
# reference index (20-NRR_3_hg38 = SpCas9 NRR: NGG, NAG, NGA, NAA) -- so a reference-only
# search works immediately with no further downloads
docker run --rm -v "${PWD}:/DATA" -w /DATA pinellolab/crisprme:latest \
  crisprme.py download --what all --path /DATA

# the recommended default variant-aware index (phased HGDP + 1000 Genomes, 4,091 samples)
docker run --rm -v "${PWD}:/DATA" -w /DATA pinellolab/crisprme:latest \
  crisprme.py download --what index --index-name 20-NRR_3_hg38+hg38_HGDP1kGP --path /DATA

3 — Launch the web interface

docker run --rm -v "${PWD}:/DATA" -w /DATA -p 8080:8080 -it \
  pinellolab/crisprme:latest crisprme.py web-interface

Leave it running and open http://127.0.0.1:8080 in a browser tab.

Want variant-aware searches (CRISPRme's speciality)? The prebuilt variant index downloaded in step 2 (20-NRR_3_hg38+hg38_HGDP1kGP) already enables them — including sample-level named carriers, via the genotype store it bundles. No raw VCFs needed. You can skip the variant index for a reference-only first run.

In the browser: enter a guide sequence, pick the PAM and genome, set mismatches and bulges (on a variant index keep the default 1 DNA + 1 RNA bulge and raise the mismatches first: above it, a search of the dense immunoglobulin loci can run for hours or out of memory), and click Submit. Off-targets are scored with CFD and the CRISPR-Bulge machine-learning model (Yaish & Orenstein, NAR 2024). Results are saved on your own machine, under Results/ inside the working folder you chose at the start.

Nothing in the dropdowns? You skipped step 2 — run the download commands first. Need a different nuclease or PAM? Install its index the same way, using a published name from the indexes/ folder of the lucapinello/crisprme_plus_indices repo (the indexes of 2.10.0). If an index isn't published, build it once in the app's Settings page or with crisprme.py build-index-only: a search builds a missing reference index itself, but offers a variant panel only the bulges its installed index supports.

Full quickstart & troubleshooting → Web interface user guide →

Other ways to install (Conda/Mamba, or build everything from scratch)

Install with Conda / Mamba

Bioconda's crisprme package is CRISPRme+ (Python 3.11, Linux); a release reaches Bioconda once its recipe update is merged after the tag (2.10.0 within about 72 h of its tag, after the crispritz 2.10.0 recipe it requires; until then, use Docker). Always name the version: given a bare crisprme, the solver can silently fall back to a years-old release. From 2.10.0, CRISPRme+ and its search engine CRISPRitz share their major.minor version, and every install route brings the matching CRISPRitz: CRISPRme+ 2.10.z runs on CRISPRitz 2.10.z (the package pins crispritz >=2.10.0,<2.11; the Docker image, the exact CRISPRitz it was tested with). crisprme.py --version and crispritz.py version print the two.

# Configure Bioconda channels (one-time; conda config even with Mamba 2)
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict

# Create and activate the environment, set up the CRISPR-Bulge scorer, then verify
conda create -n crisprme crisprme=2.10.1 python=3.11 -y
conda activate crisprme
crisprme.py scorer-env create
crisprme.py scorer-env doctor
crisprme.py --version

It is the same crisprme.py as in the Docker image, with the fast download flow and the web-interface. The Docker quickstart above remains the simplest route: it ships the CRISPR-Bulge scorer pre-built.

Build the full reference database from scratch

Instead of the fast download, you can download and configure everything (hg38, 1000 Genomes, HGDP, annotations, PAMs) with the built-in setup. It takes only two files from the lucapinello/crisprme-data repo (the chr22 FASTA, for setup --chrom chr22, and the 1000 Genomes sample list); everything else it downloads comes from its original source: UCSC, the EBI and Sanger FTP servers, and the CRISPRme GitHub repository. This is a large, multi-hour, ~410 GB one-time download; the fast download above is recommended for most users.

# Docker
docker run -v ${PWD}:/DATA -w /DATA -i pinellolab/crisprme:latest \
  crisprme.py setup --path /DATA

# ...or test on a single chromosome first
docker run -v ${PWD}:/DATA -w /DATA -i pinellolab/crisprme:latest \
  crisprme.py setup --chrom chr22 --path /DATA

The web interface must be started from a working directory that contains the CRISPRme folders (Genomes/, PAMs/, Annotations/, …). The download and setup commands create these for you.

Advanced Resources & Documentation

The quick-start guide above is sufficient to get the local web interface running. For detailed usage instructions, advanced configuration options, and complete workflow documentation, consult the guides below.

Web Interface User Guide

Learn how to configure analyses, monitor jobs (with optional email notification), explore results, generate variant-aware personal risk cards, and use all visualization and reporting features available through the graphical interface.

Open Detailed User Guide

CLI Setup & Usage Guide

Complete documentation for installation, dataset management, command-line workflows, custom VCF integration, PAM definition, automation, and large-scale analyses.

Open CLI Guide

Methods & Validation

The self-contained technical reference: the variant-aware dictionary-less data model, VCF homogenization and merging, allele-frequency estimation, haplotype scanning, worst-case scoring, functional annotation, the shareable report, and scoring assumptions & limitations.

Open Methods

Documentation

Citation

Cancellieri S, Zeng J, Lin LY, Tognon M, Nguyen MA, Lin J, Bombieri N, Maitland SA, Ciuculescu MF, Katta V, Tsai SQ, Armant M, Wolfe SA, Giugno R, Bauer DE, Pinello L. Human genetic diversity alters off-target outcomes of therapeutic gene editing. Nat Genet. 2023 Jan;55(1):34-43. doi: 10.1038/s41588-022-01257-y.

Questions & Support

For questions, help with commands, bug reports, or feature requests, please open an issue on GitHub. Using the issue tracker lets the whole community benefit from the discussion and helps us track and resolve problems.

Open a GitHub issue Browse existing issues →