Skip to main content

CRISPR-DA

Adapting CRISPR gRNA design for detection assays.

Preamble

CRISPR-Cas systems offer a viable alternative to traditional detection and diagnosis methods. However, their effectiveness relies heavily on the selection of appropriate guide RNA sequences. Existing gRNA design tools were primarily developed for gene editing and are not always directly applicable to CRISPR-based detection assays. In particular, alignment-based methods are still used to estimate gRNA specificity, even though they can miss a substantial portion of off-target sites. In this work, we introduce CRISPR-DA, a CRISPR gRNA design tool for detection assays. We show that it provides a better assessment of gRNA specificity than BLAST, which detected only 33.27 % and 0.43 % of cross-species off-targets in two datasets. Additionally, CRISPR-DA ran two and six times faster than BLAST on these datasets, respectively. Our method incorporates advances from gene-editing guide RNA design tools, including uncertainty-informed guide RNA design, to improve the selection of guides with high on-target activity. CRISPR-DA is available at https://github.com/bmds-lab/CRISPR-DA.

Licence

BSD 3-Clause "New" or "Revised" License

See LICENCE and https://opensource.org/license/BSD-3-Clause for more details.

Dependencies

  1. Download the environment.yml file from GitHub.

  2. Download and install Anaconda.

  3. Setup conda enviroment.

    conda env create -f <path/to/downloaded/environment.yml>
    

Option 2. Install dependencies manually

  1. Download and install the following (The software/program version provided were using during testing but there "should" be no problem using newer version).
  • Python>=3.12
  • CMake>=4.1.2
  • Boost>=1.82
  • Make>=4.2.1 NOTE: You can replace Make with whichever build system you like (E.g. Ninja).

Installation

  1. Install using pip.

    pip install crispr-da
    
  2. Run config to install required binaries and initialise configuration file.

    crispr_da config
    

From source

  1. Clone the repository from GitHub.

    git clone https://github.com/bmds-lab/CRISPR-DA
    
  2. Build distribution files.

    python3 -m build
    

    NOTE: It may be useful to ensure the latest version of PyPA's build is install. Simply run python3 -m pip install --upgrade build.

  3. Install CRISPR-DA using distribution files and pip.

    python3 -m pip install ./dist/*.whl
    
  4. Run config to install required binaries and initialise configuration file.

    crispr_da config
    

CRISPR-DA CLI

Usage

$ crispr_da -h
usage: crispr_da [-h] [-v] {config,analyse} ...

CRISPR-DA: gRNA design for detection assays.

options:
-h, --help        show this help message and exit
-v, --version     Print CRISPR-DA version

subcommands:
{config,analyse}
   config          Run config
   analyse         Run analysis

Example

$ crispr_da analyse --target_gene_id 43740568 --evaluation_accessions GCA_000820495.2 GCA_000838265.1

Expected output format (minimised for this readme):

accession TACACTAATTCTTTCACACGTGG ... CTTTCTTTTCCAATGTTACTTGG
GCA_000820495.2 (100.0, 100.0) ... (100.0, 100.0)
GCA_000838265.1 (100.0, 100.0) ... (100.0, 100.0)

CRISPR-DA Python Library

Usage

CRISPR-DA can also be access using Python.

from crispr_da import run_analysis

Example

An minimal example has been included in the examples/design_for_covid_spike_protein.py

Metadata

Release files for crispr-da 1.0.0

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

Source distribution (sdist)

Source distribution for crispr-da 1.0.0
File Size Uploaded Provenance Actions
crispr_da-1.0.0.tar.gz 96.5 MB With provenance Details for crispr_da-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crispr-da 1.0.0
File Interpreter ABI Platform Actions
crispr_da-1.0.0-py3-none-any.whl Python 3 none any Details for crispr_da-1.0.0-py3-none-any.whl

Total release size: 193.1 MB

Release files / crispr_da-1.0.0.tar.gz

Download URL crispr_da-1.0.0.tar.gz
Size 96.5 MB
Tags Source
SHA-256 checksum
How to use checksums
c58e7c0bf1b25d1c786f5f74b8d50d4877ca6fb16a265059ba4532ee2ac53f5f
BLAKE2b-256 checksum
How to use checksums
ee511b16e60f5a567bc8b94e2aa4867cc93384c7523c1e0d0227955435e4df9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 16, 2025.

Transparency log

Release files / crispr_da-1.0.0-py3-none-any.whl

Download URL crispr_da-1.0.0-py3-none-any.whl
Size 96.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9af8382221e1c602e79d2ea189d20107e58e93245a263447a0450d65bcfe4eec
BLAKE2b-256 checksum
How to use checksums
ee0e1ebbc8e55982581dfe71874a21748eb1e954513fcc95485d28d41192074c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 16, 2025.

Transparency log

Security for crispr-da 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for crispr_da-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 16, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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