Skip to main content

Adapting CRISPR gRNA design for detection assays.

Project description

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

Option 1. Using Anaconda (Recommended)

  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

From PyPi using pip (Recommended)

  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

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

crispr_da-1.0.0.tar.gz (96.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crispr_da-1.0.0-py3-none-any.whl (96.6 MB view details)

Uploaded Python 3

File details

Details for the file crispr_da-1.0.0.tar.gz.

File metadata

  • Download URL: crispr_da-1.0.0.tar.gz
  • Upload date:
  • Size: 96.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for crispr_da-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c58e7c0bf1b25d1c786f5f74b8d50d4877ca6fb16a265059ba4532ee2ac53f5f
MD5 63ad12faa01b9d76c6bdcbc4f2dfe07f
BLAKE2b-256 ee511b16e60f5a567bc8b94e2aa4867cc93384c7523c1e0d0227955435e4df9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for crispr_da-1.0.0.tar.gz:

Publisher: publish-to-pypi.yml on bmds-lab/CRISPR-DA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file crispr_da-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: crispr_da-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 96.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for crispr_da-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9af8382221e1c602e79d2ea189d20107e58e93245a263447a0450d65bcfe4eec
MD5 6dcf2cd779807767d7bc83a2a3d85e75
BLAKE2b-256 ee0e1ebbc8e55982581dfe71874a21748eb1e954513fcc95485d28d41192074c

See more details on using hashes here.

Provenance

The following attestation bundles were made for crispr_da-1.0.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on bmds-lab/CRISPR-DA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page