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)
-
Download the
environment.ymlfile from GitHub. -
Download and install Anaconda.
-
Setup conda enviroment.
conda env create -f <path/to/downloaded/environment.yml>
Option 2. Install dependencies manually
- 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)
-
Install using pip.
pip install crispr-da -
Run
configto install required binaries and initialise configuration file.crispr_da config
From source
-
Clone the repository from GitHub.
git clone https://github.com/bmds-lab/CRISPR-DA -
Build distribution files.
python3 -m buildNOTE: It may be useful to ensure the latest version of PyPA's build is install. Simply run
python3 -m pip install --upgrade build. -
Install CRISPR-DA using distribution files and pip.
python3 -m pip install ./dist/*.whl -
Run
configto 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c58e7c0bf1b25d1c786f5f74b8d50d4877ca6fb16a265059ba4532ee2ac53f5f
|
|
| MD5 |
63ad12faa01b9d76c6bdcbc4f2dfe07f
|
|
| BLAKE2b-256 |
ee511b16e60f5a567bc8b94e2aa4867cc93384c7523c1e0d0227955435e4df9d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crispr_da-1.0.0.tar.gz -
Subject digest:
c58e7c0bf1b25d1c786f5f74b8d50d4877ca6fb16a265059ba4532ee2ac53f5f - Sigstore transparency entry: 766854909
- Sigstore integration time:
-
Permalink:
bmds-lab/CRISPR-DA@8962a6cae5c5196e2a7856750f7f9516d8782fa0 -
Branch / Tag:
refs/tags/V1.0.0 - Owner: https://github.com/bmds-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8962a6cae5c5196e2a7856750f7f9516d8782fa0 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af8382221e1c602e79d2ea189d20107e58e93245a263447a0450d65bcfe4eec
|
|
| MD5 |
6dcf2cd779807767d7bc83a2a3d85e75
|
|
| BLAKE2b-256 |
ee0e1ebbc8e55982581dfe71874a21748eb1e954513fcc95485d28d41192074c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crispr_da-1.0.0-py3-none-any.whl -
Subject digest:
9af8382221e1c602e79d2ea189d20107e58e93245a263447a0450d65bcfe4eec - Sigstore transparency entry: 766854915
- Sigstore integration time:
-
Permalink:
bmds-lab/CRISPR-DA@8962a6cae5c5196e2a7856750f7f9516d8782fa0 -
Branch / Tag:
refs/tags/V1.0.0 - Owner: https://github.com/bmds-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8962a6cae5c5196e2a7856750f7f9516d8782fa0 -
Trigger Event:
release
-
Statement type: