stuart-lab / signac

R toolkit for the analysis of single-cell chromatin data
https://stuartlab.org/signac/
Other
330 stars 88 forks source link

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

Open elegantmedstu opened 1 week ago

elegantmedstu commented 1 week ago

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) image

image