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

TSSEnrichment Error: unable to allocate 2147483648.00Mb for a hash table #203

Closed
gbloeb opened this issue Aug 20, 2020 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@gbloeb
Copy link

gbloeb commented Aug 20, 2020

I'm not sure if this is a problem with the annotation as I get errors at that point as well.

smallatac<-readRDS(file="~/Downloads/smallatac.rds") #Will email you this file
annotations <- GetGRangesFromEnsDb(ensdb = EnsDb.Hsapiens.v86)

Get multiple instances of: The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)

seqlevelsStyle(annotations) <- 'UCSC'
genome(annotations) <- "hg38"
Annotation(smallatac) <- annotations
atac<-TSSEnrichment(object=atac, fast=TRUE)

Extracting TSS positions
Extracting fragments at TSSs
Error: unable to allocate 2147483648.00Mb for a hash table

@gbloeb gbloeb added the bug Something isn't working label Aug 20, 2020
@timoast
Copy link
Collaborator

timoast commented Aug 22, 2020

This issue occurs if the cells information is not set for the fragment object, which happens if you create a fragment object without setting the cells parameter and then add it to the assay. I've pushed a fix to the develop branch, but I'd also recommend setting the cells parameter in the fragment object

@timoast timoast closed this as completed Aug 22, 2020
@BioInfoUCI
Copy link

Hello! I didn't use 10x data and I don't have a metadata file/cell info to add. I am running the develop branch and got the same error. Any tips on how to go around this would be much appreciated.

@timoast
Copy link
Collaborator

timoast commented Sep 4, 2020

@BioInfoUCI can you open a new issue with a reproducible example and the output of sessionInfo()?

@BioInfoUCI
Copy link

I created a metadata file similar to the 10x file and it worked. Thank you!

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
None yet
Development

No branches or pull requests

3 participants