Closed twoneu closed 11 months ago
Hi @twoneu
The reason for this is that all the regions in that topic overlap with promoters, resulting in an empty pyranges object.
Your topic for topics_top_3
only have a very limited amount of regions (3-8), this is really too low to perform motif enirchment analysis and probably also the reason why you are ending up with empty pyranges objects.
Try increasing the number of regions for this set of topics (maybe you meant to take top 3000 and accidentally specified top 3 regions?).
I hope this helps to resolve the issue.
All the best and good luck with the analysis,
Seppe
I did accidentally write 3 instead of 3000. Thank you so much!
Describe the bug I am running the tutorial steps using the 10x PBMC dataset and have hit the error in the title at the
run_pycistarget
step.To Reproduce
Error output
Expected behavior I also ran the following code upstream of run_pycistarget to ensure there were no empty dictionary entries:
No topics were printed out using the following test code:
Version (please complete the following information):
Additional context N/A