Mercurial > repos > alperkucukural > crisprseek
view offtargetanalysis.xml @ 7:ca68df041d0d draft default tip
planemo upload
author | alperkucukural |
---|---|
date | Wed, 04 Nov 2015 16:46:58 -0500 |
parents | 10db17004ffa |
children |
line wrap: on
line source
<tool id="offTargetAnalysis" name="Off Target Analysis" version="1.0.0"> <description>CRISPRSeek offTargetAnalysis</description> <macros> <import>crisprseek_macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"> Rscript "${offTargetAnalysis}" </command> <configfiles> <configfile name="offTargetAnalysis"><![CDATA[ ## code chunk: Load all required libraries quietly library(CRISPRseek, quietly=TRUE, warn.conflicts=FALSE,verbose = FALSE) offTargetAnalysis("${s.inputfile}", BSgenomeName="BSgenome.Hsapiens.UCSC.hg19", txdb ="TxDb.Hsapiens.UCSC.hg19.knownGene",orgAnn="org.Hs.egSYMBOL", REpatternFile = system.file('extdata', 'NEBenzymes.fa', package = 'CRISPRseek'), max.mismatch="${maxmismatch}", exportAllgRNAs="${a.exportAllgRNAs}", searchDirection="${a.searchDirection}", findPairedgRNAOnly=${a.fg.fpg_only}, min.gap = "${a.fg.mingap}", max.gap = "${a.fg.maxgap}", gRNA.name.prefix = "gRNA", PAM.size = "${a.PAMsize}", gRNA.size = "${a.gRNAsize}", PAM = "${a.PAM}", PAM.pattern = "${a.PAMPattern}", chromToSearch="${a.chromToSearch}", minscore="${a.minscore}", topN="${a.topN}", topNOfftargetTotalScore="${a.topNOfftargetTotalScore}", annotateExon="${a.annotateExon}", fetchSequence="${a.fs.fetchSequence}", downstream="${a.fs.downstream}", upstream="${a.fs.upstream}", outputDir, weights="${a.weights}" ) ]]></configfile> </configfiles> <inputs> <param name="bsgenomename" type="select" label="BS Genome Name" help="BSgenome object. Please refer to available.genomes in BSgenome package. For example, BSgenome.Hsapiens.UCSC.hg19 for hg19, BSgenome.Mmusculus.UCSC.mm10 for mm10, BSgenome.Celegans.UCSC.ce6 for ce6, BSgenome.Rnorvegicus.UCSC.rn5 for rn5, BSgenome.Drerio.UCSC.danRer7 for Zv9, and BSgenome.Dmelanogaster.UCSC.dm3 for dm3"> <option value="hg19">hg19</option> <option value="mm10">mm10</option> <option value="ce10">ce10</option> </param> <conditional name="s"> <param name="input_source" type="select" label="Select Input File Path" help="Sequence input file path that contains sequences to be searched for potential gRNAs"> <option value="history">History</option> <option value="Fasta">Fasta</option> <option value="FullPath">Full Path</option> </param> <when value="history"> <param format="fastq,fa,fasta" name="inputfile" type="data" label="Input File Path" /> </when> <when value="FullPath"> <param name="inputfile" type="text" area="true" size="2x60" label="Input File Path" help="Full path in the cluster"/> </when> <when value="Fasta"> <param name="inputfile" type="text" area="true" size="2x60" label="Input Fasta Sequence/s" help="Free text fasta sequences"/> </when> </conditional> <param name="maxmismatch" type="text" label="Max Mismatch" value="3" help="Maximum mismatch allowed in off target search, default 3. Warning: will be considerably slower if set > 3"/> <param name="outputdir" type="text" area="true" size="2x60" label="Output Directory" help="Output directory in the cluster"/> <conditional name="a"> <param name="advanced" type="select" label="Advanced Options"> <option value="No" selected="True">No</option> <option value="Yes">Yes</option> </param> <when value="Yes"> <param name="exportAllgRNAs" type="select" label="Export All gRNAs" help="Indicate whether to output all potential gRNAs to a file in fasta format, genbank format or both. Default to both."> <option value="all" selected="True">all</option> <option value="fasta">fasta</option> <option value="genbank">genbank</option> <option value="no">no</option> </param> <conditional name="fg"> <param name="fpg_only" type="select" label="Find Paired gRNA Only" help="Choose whether to only search for paired gRNAs in such an orientation that the first one is on minus strand called reverse gRNA and the second one is on plus strand called forward gRNA. TRUE or FALSE, default FALSE"> <option value="False" selected="True">No</option> <option value="True">Yes</option> </param> <when value="True"> <param name="mingap" type="text" label="Min Gap" value="0" /> <param name="maxgap" type="text" label="Max Gap" value="20" /> </when> </conditional> <param name="PAMsize" type="text" label="PAM Size" value="3" help="PAM length, default 3"/> <param name="PAM" type="text" label="PAM" value="NGG" help="PAM sequence after the gRNA, default NGG"/> <param name="PAMPattern" type="text" label="PAM Pattern" value="N[A_p_G]G_d_" help="Regular expression of protospacer-adjacent motif (PAM), default N[A|G]G$. Please use _p_ for | and _d_ for $ symbols"/> <param name="gRNAsize" type="text" label="gRNA Size" value="20" help="The size of the gRNA, default 20"/> <param name="minscore" type="text" label="min Score" value="0.5" help="minimum score of an off target to included in the final output, default 0.5"/> <param name="topN" type="text" label="topN" value="100" help="top N off targets to be included in the final output, default 100"/> <param name="topNOfftargetTotalScore" type="text" label="topN OfftargetTotalScore" value="10" help="top N off target used to calculate the total off target score, default 10"/> <param name="annotateExon" type="select" label="Annotate Exon" help="Choose whether or not to indicate whether the off target is inside an exon or not, default TRUE"> <option value="true" selected="True">True</option> <option value="false">False</option> </param> <param name="chromToSearch" type="text" label="chromToSearch" value="all" help="Type chromosome (Ex: chrX)"/> <conditional name="fs"> <param name="fetchSequence" type="select" label="Fetch Sequence" help="Fetch flank sequence of off target or not, default TRUE"> <option value="True" selected="True">True</option> <option value="False">False</option> </param> <when value="True"> <param name="upstream" type="text" label="upstream" value="200" help="upstream offset from the off target start, default 200"/> <param name="downstream" type="text" label="downstream" value="200" help="downstream offset from the off target end default 200"/> </when> </conditional> <param name="weights" type="text" area="true" size="5x60" value="0, 0, 0.014, 0, 0, 0.395, 0.317, 0, 0.389, 0.079, 0.445, 0.508, 0.613, 0.851, 0.732, 0.828, 0.615, 0.804, 0.685, 0.583" label="Off Target Weights" help="a numeric vector size of gRNA length, default 0, 0, 0.014, 0, 0, 0.395, 0.317, 0, 0.389, 0.079, 0.445, 0.508, 0.613, 0.851, 0.732, 0.828, 0.615, 0.804, 0.685, 0.583 which is used in Hsu et al., 2013 cited in the reference section"/> </when> </conditional> </inputs> <outputs> <data format="gz" name="output"/> </outputs> <help> **What it does** The package includes functions to find potential guide RNAs for input target se- quences, optionally filter guide RNAs without restriction enzyme cut site, or with- out paired guide RNAs, genome-wide search for off-targets, score, rank, fetch flank se- quence and indicate whether the target and off-targets are located in exon region or not. Poten- tial guide RNAs are annotated with total score of the top5 and topN off-targets, de- tailed topN mismatch sites, restriction enzyme cut sites, and paired guide RNAs. **Description** Design of target-specific gRNAs for the CRISPR-Cas9 system by automatically finding potential gRNAs (paired/not paired), with/without restriction enzyme cut site(s) in a given sequence, search- ing for off targets with user defined maximum number of mismatches, calculating score of each off target based on mismatch positions in the off target and a penalty weight matrix, filtering off targets with user-defined criteria, and annotating off targets with flank sequences, whether located in exon or not. Summary report is also generated with gRNAs ranked by total topN off target score, annotated with restriction enzyme cut sites and possible paired gRNAs. Detailed paired gR- NAs information and restriction enzyme cut sites are stored in separate files in the output directory specified by the user. In total, four tab delimited files are generated in the output directory: Off- targetAnalysis.xls (off target details), Summary.xls (gRNA summary), REcutDetails.xls (restriction enzyme cut sites of each gRNA), and pairedgRNAs.xls (potential paired gRNAs). **Author(s)** Lihua Julie Zhu and Michael Brodsky Maintainer: julie.zhu@umassmed.edu **Citation** (from within R, enter citation("CRISPRseek")): Zhu LJ, Holmes BR, Aronin N and Brodsky MH (2014). “CRISPRseek: A Bioconductor Package to Identify Target-Specific Guide RNAs for CRISPR-Cas9 Genome-Editing Systems.” PLoS one, 9(9). http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4172692/. **References** http://bioconductor.org/packages/2.8/bioc/vignettes/BSgenome/inst/doc/GenomeSearching.pdf Patrick D Hsu, David A Scott, Joshua A Weinstein, F Ann Ran, Silvana Konermann, Vineeta Agar- wala, Yinqing Li, Eli J Fine, Xuebing Wu, Ophir Shalem, Thomas J Cradick, Luciano A Marraffini, Gang Bao, Feng Zhang (2013) DNA targeting specificity of rNA-guided Cas9 nucleases. Nature Biotechnology 31:827-83 Mali P, Aach J, Stranges PB, Esvelt KM, Moosburner M, Kosuri S, Yang L, Church GM.CAS9 transcriptional activators for target specificity screening and paired nickases for cooperative genome engineering. Nat Biotechnol. 2013. 31(9):833-8 Patrick D Hsu, David A Scott, Joshua A Wein- stein, F Ann Ran, Silvana Konermann, Vineeta Agarwala, Yinqing Li, Eli J Fine, Xuebing Wu, Ophir Shalem, Thomas J Cradick, Luciano A Marraffini, Gang Bao, Feng Zhang. DNA targeting specificity of rNA-guided Cas9 nucleases. Nat Biotechnol. 2013. 31:827-834 **Reference Manual and Materials** http://www.bioconductor.org/packages/release/bioc/vignettes/CRISPRseek/inst/doc/CRISPRseek.pdf http://www.bioconductor.org/packages/release/bioc/manuals/CRISPRseek/man/CRISPRseek.pdf http://www.bioconductor.org/packages/release/bioc/vignettes/CRISPRseek/inst/doc/CRISPRseek.R </help> <expand macro="citations" /> </tool>