ATACseqQC
ATACseqQC copied to clipboard
factorFootprints 'seqnames' issue
Hi @jianhong
I am having an issue with the factorFootprints coding. I can run everything up to this point fine, but when I try to run this through, I get the following error. Our bioinformatics team have looked into it but can't figure it out. Any thoughts you have would be much appreciated.
Thanks,
library(BSgenome.Mmusculus.UCSC.mm10) library(MotifDb) CTCF <- query(MotifDb, c("CTCF")) CTCF <- as.list(CTCF) sigs <- factorFootprints(shiftedBamfile, pfm=CTCF[[1]], genome=genome, min.score="90%", seqlev=seqlev, upstream=100, downstream=100) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function 'seqnames' for signature '"NULL"'
I am also getting this issue
May I know the seqlev you set?
Hi @jianhong
I am using chromosome 19 as a first pass, but ideally want the entire genome once its working.
seqlev <- "chr19"
I have the same error when I tried to run the function for any chromosome of 10-22, X and Y. But the function worked completely fine for any chromosome 1-9. Cannot understand why it could happen?
Currently I fixed it by paste ^ and $ into exclude parameter of matchPWM. It will be release in bioconductor soon. Thank you for reporting the bug.
Jianhong.