Hi,
While doing an OT analysis for a specific sequence, I got the following error message:
Error in FUN(X[[i]], ...) : object 'GN' not found
I looked for OTs in mouse genome as following:
seq<-DNAStringSet("GCCCGGAGGCGGGGTGGAGGGGG")
names(seq)<-"test"
offTargetAnalysis(seq,
gRNAoutputName=names(seq),
format="fasta",
BSgenomeName=BSgenome.Mmusculus.UCSC.mm10,
findgRNAs = FALSE,
gRNA.size = 20,
max.mismatch=5,
annotatePaired = FALSE,
outputDir=out,
enable.multicore = TRUE,
n.cores.max = 6,
scoring.method="CFDscore",
txdb = TxDb.Mmusculus.UCSC.mm10.knownGene,
orgAnn = org.Mm.eg.db,
predictIndelFreq.onTargetOnly=FALSE,
calculategRNAefficacyForOfftargets=FALSE,
useScore=FALSE,
PAM.pattern = "NGG",
PAM="NGG",
PAM.size =3,
PAM.location = "3prime",
allowed.mismatch.PAM = 0,
annotateExon=TRUE)
When doing the same search in human genome using BSgenome.Hsapiens.UCSC.hg38, TxDb.Hsapiens.UCSC.hg38.knownGene and org.Hs.eg.db, I do not have an issue.
Any idea of what it can be?
Thank you in advance for your feedback.
> sessionInfo( )
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)
Matrix products: default