Skip to main content

Command line tool for crispr offtarget finding extracted from crispor website

Project description

# CRISPOR - a CRISPR/Cas9 assistant

CRISPOR predicts off-targets in the genome, ranks guides, highlights
problematic guides, designs primers and helps with cloning. Try it on
http://crispr.org

CRISPOR uses BWA, a few tools from the UCSC Genome Browser (twoBitToFa, bedClip),
various R packages and a huge collection of external packages and source code files
from published articles, see the file crisporEffScores.py for the exact references.

Installation of the package:

make crispor_env

source crispor_env/bin/activate

make devbuild

Install required R libraries:

sudo Rscript -e 'install.packages(c("e1071"), repos="http://cran.rstudio.com/")'
sudo Rscript -e 'source("https://bioconductor.org/biocLite.R"); biocLite(c("limma"));'

Now in a python console type this:

from crispor_cli import crispor

crispor.main(args,options)

Description for args and options is given below:
args=[<genome_name>,<input_fasta>,<output_file>]
Here args is a list containing org,fastaInFile and guideOutFile in this order:
Example args -
args=['sacCer3','/input/guide_yeast.fasta','/output/yo_guide.tsv']

And options is a dictionary containing all the extra options permitted by crispor.
Example options -
options = {'offtargetFname':'/output/yo_off.tsv','pam':'NGG','debug':True,'skipAlign':True}

Here are the keys that can be added to options dictionary-

Options:
debug - show debug messages, do not delete temp directory
test - run internal tests
pam - PAM-motif to use, default NGG. TTTN triggers special
Cpf1 behavior: no scores anymore + the PAM is assumed
to be 5' of the guide. Common PAMs are:
NGG,TTTN,NGA,NGCG,NNAGAA,NGGNG,NNGRRT,NNNNGMTT,NNNNACA
offtargetFname -
write offtarget info to this filename
maxOcc -
MAXOCC parameter, guides with more matches are
excluded

mismatches-
maximum number of mismatches, default 4

skipAlign -
do not align the input sequence. The on-target will be
a random match with 0 mismatches.
noEffScores -
do not calculate the efficiency scores
minAltPamScore -
minimum MIT off-target score for alternative PAMs, default
1.0
genomeDir-
directory with genomes, default ./genomes
```


# Licenses

Included software:

* BWA is under GPL3
* libSVM: under copyright by Chih-Chung Chang and Chih-Jen Lin see http://www.csie.ntu.edu.tw/~cjlin/libsvm/COPYRIGHT
* svmlight: free for non-commercial use, see http://svmlight.joachims.org/
* SSC: no license specified
* primer3: GPL2.
* Fusi/Doench score: see LICENSE.txt, (c) by Microsoft Research
* crispor.py and crisporEffScores.py themselves are released under GPLv3, see LICENSE.txt

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

crispor_cli-0.1.1.tar.gz (48.2 kB view details)

Uploaded Source

File details

Details for the file crispor_cli-0.1.1.tar.gz.

File metadata

  • Download URL: crispor_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 48.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crispor_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01be0d2bf154c00196ef1988f62aa2111ea682825843117da45fe44f85e7ecdd
MD5 8685f3d1cfd458d50e5c643b85677665
BLAKE2b-256 439bed88ec010a9ca900e16419ce9f230c8286162c0be9c35372ff78d75f665d

See more details on using hashes here.

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