Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footprinting issue #1689

Open
leecon30 opened this issue Apr 23, 2024 · 1 comment
Open

Footprinting issue #1689

leecon30 opened this issue Apr 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@leecon30
Copy link

Hi I've been trying to run footprint on my v5 Seurat object and i encounter this issue "Error in loadFUN(x, seqname, ranges) :
trying to load regions beyond the boundaries of non-circular sequence "chr1""

I have read previous threads where this problem was encountered with people for the addMotifs function. Interestingly i have no problem running addMotifs and this only appears when i use the footprinting function. I excluded the peaks found on contigs early on so i dont think that is the issue either.

Can you advise?

Cheers,
Lee

@leecon30 leecon30 added the bug Something isn't working label Apr 23, 2024
@timoast
Copy link
Collaborator

timoast commented Jun 13, 2024

My guess is that there are some TF motif instances that are <250 bp from the end of a chromosome. Since the footprinting function extends +/-250 bp around each motif instance, it could extend beyond the end of a chromosome.

Which genome are you using? I haven't encountered this issue before since usually the ends of the chromosome are the telomeric repeats.

As a workaround you could try setting in.peaks=TRUE so that only motif instances inside peaks are considered. I will try to add a step that would remove TF motif instances close to the chromosome ends in a future Signac release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Q3 2023
Development

No branches or pull requests

2 participants