AddMotifs ERROR: Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'xvcopy': some ranges are out of bounds #1815
HI!, I used a forged Axolotl BSgenome to perform AddMotifs operation, but the error displayed is as shown above. Additionally, I attempted to construct the BSgenome package by retaining only chromosome level data, but the error still persists. I don't know where the problem lies, I hope to get your help. Thank you very much!
This is my code:
pfm = getMatrixSet(JASPAR2022, opts = list(tax_group = "vertebrates", all_versions = F))
integ_animal <- qread("/home/QYH/_lyxfile/00project/01regeneration/02signac测试/01qs/05integ_animal_clusters.qs")
integ_macs_animal <- qread("/home/QYH/_lyxfile/00project/01regeneration/02signac测试/01qs/06integ_macs_animal_clusters.qs")
DefaultAssay(integ_animal) = "ATAC"
integ_animal
HI!, I used a forged Axolotl BSgenome to perform AddMotifs operation, but the error displayed is as shown above. Additionally, I attempted to construct the BSgenome package by retaining only chromosome level data, but the error still persists. I don't know where the problem lies, I hope to get your help. Thank you very much! This is my code: pfm = getMatrixSet(JASPAR2022, opts = list(tax_group = "vertebrates", all_versions = F)) integ_animal <- qread("/home/QYH/_lyxfile/00project/01regeneration/02signac测试/01qs/05integ_animal_clusters.qs") integ_macs_animal <- qread("/home/QYH/_lyxfile/00project/01regeneration/02signac测试/01qs/06integ_macs_animal_clusters.qs") DefaultAssay(integ_animal) = "ATAC" integ_animal
add motif information
integ_animal = AddMotifs(object = integ_animal, pfm = pfm, assay = "ATAC", all_versions = T, genome = BSgenome.Amexicanum.NCBI.allchr.ambMex60DD)