-
Notifications
You must be signed in to change notification settings - Fork 13
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
find_highly_variable_features [PERFORMANCE] #156
Comments
There is some ongoing work to improve memory usage for this code and some other memory intensive functions in pycisTopic that will eventually appear in the polars_1xx branch of pycisTopic. |
Thanks for getting back to me. Do you have any workarounds for the meantime? I would really like to be able to run SCENIC+ on this dataset and to do so I need to run this step. I tried using multiprocessing in python but it still doesn't work. |
No workarounds for now, but likely in a few weeks. Topic modeling with Mallet got some speedup and reduced memory usage. |
Hi, |
Not yet. Last weeks other projects had higher priority. |
Would reading the data in chunks help for now? Or downsampling the number of cells before running this step? |
Downsampling the number of cells would help. |
I managed it as a job the HPC though without having to downsample :) thank you for your response! |
I finally had some time to work on it. Now it would be possible to theoretically even run it on a laptop: |
Hello. Thanks for developing SCENIC+, it is super dope and it is giving me nice results so far.
What type of problem are you experiencing and which function is you problem related too
While preparing multiome datasets to run SCENIC+, when running
find_highly_variable_features
my python process gets killed. I am running a python script directly in my workstation which has good memory:Is this problem data set related? If so, provide information on the problematic data set
It works without issues on another dataset of mine (~26k cells, ~ 480k regions) except in this larger dataset with cells ~45k cells and ~540k regions
Describe alternatives you've considered
I tried running this step within Rstudio through reticulate() and in a python jupyter notebook too but it also gets killed because of memory.
Additional context
I am running all of this in a conda environment where I installed scenicplus, pycistopic and pycistarget.
I tried running this step of the pipeline using a python script:
Then it gets killed:
I also tried running
normalize_scores
first, save the output as a pkl file to then runfind_highly_variable_features
but it doesn't work either.Version information
Report versions of modules relevant to this error
Any help/insight would be greatly appreciated as I really need to finish preparing this file to then run SCENIC+. Thank you!
The text was updated successfully, but these errors were encountered: