Modular prediction of off-target effects for CRISPR/Cas9 system
Project description
Introduction of MOFF
# # # # # # # # # # # # # # # # #
# # # # # # #
# # # # # # # # # # # # #
# # # # # # #
# # # # # # # # #
Hi,My name is MOFF, I was designed to predict off-target effects for CRISPR/Cas9!
I have three major functions: 1). Predict off-target effects for any given gRNA-target pair.
2). Predict genome-wide off-target effects for any sgRNA.
3). Select best sgRNAs for allele-specific knockout.
Hope you enjoy playing with me ^o^!
Any questions or bugs, please concat through hwkobe.1027@gmail.com or whe3@mdanderson.org
How to install MOFF
Note: MOFF is written in Python,Python>=3.4 is needed
Step1: Install Anaconda (highly recomended)
wget https://repo.continuum.io/archive/Anaconda2-2018.12-Linux-x86_64.sh
bash Anaconda2-2018.12-Linux-x86_64.sh
Step2: Install required python packages
pip install matplotlib==2.2.3 pandas sklearn numpy seaborn
Step3: Install MOFF through pip
pip install MOFF
Step4: OR you can install MOFF through git clone
git clone https://github.com/MDhewei/MOFF.git
cd MOFF
python setup.py install
How to use MOFF
1. MOFF score: Predict off-target effects for given gRNA-target pairs
Inputs for MOFF score
MOFFscore require user to provide .csv or .txt file containing sgRNA sequences and corresponding DNA target sequences.One gRNA(20bp+PAM) and one target(20bp+PAM) per line. Note that MOFF is designed for mismatch-only off-target prediction, not for indel mutations. See example file here
Arguments of the program:
-i/--inputfile (required):
Input files containing sgRNA sequences and corresponding DNA target sequences.
-p/--prefix (Optional):
Prefix of the file to save the outputs,default: ScoreTest.
-o/--outputdir (Optional):
Directory to save output files,if no directory is given a folder named MOFF_scores
will be generated in current working directory.
Example to run MOFFscore
MOFF score -i MOFFscore_test.txt
Columns of Output table
- crRNA: the sgRNAs designed to target specific DNA sequence
- DNA: the DNA sequence of the off-target site
- MDE: predicted mismatch-dependent off-target effect
- CE: predicted combinatorial effect
- MMs: the number of mismatches between sgRNA and off-target
- GMT: predicted guide-intrinsic mismatch tolerence
- MOFF: the final MOFF score predicted for given gRNA-target pair
2. MOFF aggregate: Predict the genome-wide off-target effects for given sgRNAs
MOFF aggregation can directly take the outputs of CRISPRitz as inputs. Besides, output table files generated by any genome-wide off-target searching methods such as Cas-OFFinder and RIsearch2 (v2.1) are supported in theory, but the columns of outputs for different methods are different, thus it is required to modify the column name of sgRNA(20bp+PAM) and target(20bp+PAM) to 'crRNA' and 'DNA' respectively. Note that MOFF only support mismatch-only off-target predictions, indel mutations are not applicable.File formats including .csv and .txt are accepted. See example File here.
Arguments of the program:
-i/--inputfile (required):
Input files containing all the potneital off-target sites in the genome for given sgRNA(s)
-p/--prefix (Optional):
Prefix of the file to save the outputs,default: AggregationTest.
-o/--outputdir (Optional):
Directory to save output files,if no directory is given a folder named MOFF_aggregation
will be generated in current working directory.
Example to run MOFF aggregate
MOFF aggregate -i MOFFaggregation_test.txt
Columns of Output table
- sgRNA: the sgRNAs selected to predict genome-wide off-target
- MDE.sum: aggregated mismatch-dependent off-target effect
- GMT.sum: aggregated guide-intrinsic mismatch tolerence
- MOFF.sum: aggregated MOFF score for specific sgRNA
3. MOFF allele: Predict the genome-wide off-target effects for given sgRNAs
MOFF allele require the users to input local DNA sequences of wild-type allele and mutant allele. Two DNA sequence should be of same length. There should be at least one hit of 20bp+PAM(NGG) in the DNA sequence to be knockout and the mutation point should be included within the hit. If you want to design sgRNA specifically target WT allele, you just input DNA sequence of WT as mutant and mutant sequence as wildtype.
Arguments of the program:
-m MUTANT, --mutant MUTANT
Local DNA sequence of mutant allele, at least one hit of 20bp(mutation sites included)
followed by PAM (NGG) should be included, if more than one hits found, MOFF will
design sgRNAs based on all possible PAMs.
-w WILDTYPE, --wildtype WILDTYPE
Local DNA sequence of wild type allele paired with the mutant allele,which should be
the same length of the mutant allele DNA sequence.
-p PREFIX, --prefix PREFIX
Prefix of the file to save the outputs, default: AlleleTest.
-o OUTPUTDIR, --outputdir OUTPUTDIR
Directory to save output files,if no directory is given, a output folder named
MOFF_aggregation will be generated in current working directory.
Example to run MOFF allele
For example two mutant for DNMT3a:
ACTGACGTCTCCAACATGAGC|CGC|TTGGCGAGGCAGAGACTGCT (WT)
ACTGACGTCTCCAACATGAGC|tGC|TTGGCGAGGCAGAGACTGCT (R882C)
ACTGACGTCTCCAACATGAGC|CaC|TTGGCGAGGCAGAGACTGCT (R882H)
1). To knockout R882C allele
MOFF allele -m ACTGACGTCTCCAACATGAGCTGCTTGGCGAGGCAGAGACTGCT -w ACTGACGTCTCCAACATGAGCCGCTTGGCGAGGCAGAGACTGCT -p R882C
2) To knockout R882H allele
MOFF allele -m ACTGACGTCTCCAACATGAGCCCACTTGGCGAGGCAGAGACTGCT -w ACTGACGTCTCCAACATGAGCCGCTTGGCGAGGCAGAGACTGCT -p R882H
3) To knockout WT in R882C cell
MOFF allele -m ACTGACGTCTCCAACATGAGCCGCTTGGCGAGGCAGAGACTGCT -w ACTGACGTCTCCAACATGAGCTGCTTGGCGAGGCAGAGACTGCT -p WT
4). To knockout WT in R882H cell
MOFF allele -m ACTGACGTCTCCAACATGAGCCGCTTGGCGAGGCAGAGACTGCT -w ACTGACGTCTCCAACATGAGCCCACTTGGCGAGGCAGAGACTGCT -p WT
Columns of Output table
- sgRNA: all the possible sgRNAs selected for allele-specific knockouts
- DNA_KO: DNA target of allele you want to knockout, usually it is the mutant allele
- DNA_NA: DNA target of allele you want to keep, usually it is the wild-type allele
- MOFF_KO: the predicted MOFF score to target the DNA-KO.
- MOFF_NA: the predicted MOFF score to target the DNA-NA.
It is practical to select sgRNA with high MOFF score to knockout allele but low MOFF score of non-knockout allele, so that sgRNA can specifically knockout the desried allele.
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
Built Distributions
File details
Details for the file MOFF-1.2.4.tar.gz
.
File metadata
- Download URL: MOFF-1.2.4.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a5c80a26173c8c62b232c6e95aa0f77320cca562e68a3bcc85294d177571c09 |
|
MD5 | 8d9d8dc16a35e710e162d65608231a8e |
|
BLAKE2b-256 | bedb09ba28e84542b0817da8f2327267f0133125379f2f5ba1882b64e0bc6dac |
File details
Details for the file MOFF-1.2.4-py3.7.egg
.
File metadata
- Download URL: MOFF-1.2.4-py3.7.egg
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07624f159e9cbb267daeee8f370b55d507912e352dc23d26db1984798df808ae |
|
MD5 | 0d5e227fcef8e7ef81681cad075ac685 |
|
BLAKE2b-256 | d27721f5bd4626fb8f3f498d31e5118c6de9e713aa6b6eb59f8604745e5dfaa5 |
File details
Details for the file MOFF-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: MOFF-1.2.4-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16db8b282a74843d922c04e1878a0e08aaccff8191e811c13dc4d1ab9da3b89 |
|
MD5 | 3281370d11eb014deb4ae8d1c5024e40 |
|
BLAKE2b-256 | 139dfe6908bfda97348bbeb1d2c072a338073d14d4bee1b45e69f756d3e83fe3 |