Hi there Julie
When I run the following code:
library(CRISPRseek)
library(BSgenome.Hsapiens.UCSC.hg19)
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
outputDir <- getwd()
inputFilePath <- DNAStringSet("CCTTCCAGGAATTCTTTGGCCTGAATAATTGCAGTAGCTCTAACAGGTTGGACCAAGCTATGCAGGTGACAGAGACTCTTGGGATGACGC")
results <- offTargetAnalysis(inputFilePath, format="fasta",findgRNAs=TRUE, findgRNAsWithREcutOnly=FALSE, findPairedgRNAOnly=TRUE, annotatePaired=TRUE, min.gap=0, max.gap=100, gRNA.name.prefix="gRNA", PAM.size=6, gRNA.size=21, PAM="NNG[A|G][A|G]T", BSgenomeName=Hsapiens, chromToSearch="all", max.mismatch=4, PAM.pattern = "NNG[A|G][A|G]N$", gRNA.pattern="^G", min.score=0, topN=1000, topN.OfftargetTotalScore=10, annotateExon=TRUE, txdb=TxDb.Hsapiens.UCSC.hg19.knownGene, outputDir=outputDir, fetchSequence=TRUE, upstream=200, downstream=200, weights=c(0, 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), overwrite=TRUE)
I get the error message:
Error in offTargetAnalysis(inputFilePath, format = "fasta", findgRNAs = TRUE, :
Please enter a name for the gRNA ouput file name!
Could you please advise as to how I name the gRNA output file as I am unable to do this.
Thanks for your time
Kind regard
Britt