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

Issue with pycisTopic on human cerebellum single-cell multiome data on HPC Fedora #475

Open
Stack7 opened this issue Oct 2, 2024 · 1 comment

Comments

@Stack7
Copy link

Stack7 commented Oct 2, 2024

Good Morning everyone,

While I was using SCENIC+ over the tutorial on human cerebellum single-cell multiome data with Pycistopic, I have met this error:

"/orfeo/cephfs/home/cdslab/astacchetti/scenicplus/tutorial/human_cerebellum_tutorial.py", line 179, in <module> cistopic_obj = create_cistopic_object_from_fragments( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/u/cdslab/astacchetti/miniconda3/envs/scenicplus/lib/python3.11/site-packages/pycisTopic/cistopic_class.py", line 857, in create_cistopic_object_from_fragments fragments = fragments[fragments.Name.isin(set(valid_bc))] ^^^^^^^^^^^^^^ File "/u/cdslab/astacchetti/miniconda3/envs/scenicplus/lib/python3.11/site-packages/pyranges/pyranges.py", line 269, in __getattr__ return _getattr(self, name) ^^^^^^^^^^^^^^^^^^^^ File "/u/cdslab/astacchetti/miniconda3/envs/scenicplus/lib/python3.11/site-packages/pyranges/methods/attr.py", line 67, in _getattr raise AttributeError("PyRanges object has no attribute", name) AttributeError: ('PyRanges object has no attribute', 'Name')
To reproduce this bug, you can follow step by step this tutorial: https://pycistopic.readthedocs.io/en/latest/notebooks/human_cerebellum.html using a conda environment with python 3.11 on a Fedora 40 OS. Scenic+ version. Scenicplus verions: 1.0a1
Thanks you very much for making SCENIC+ is a very interesting tool and thank you all for helping me in advance.
Have a nice day.

@yojetsharma
Copy link

Can you paste your complete code as well? It may likely naming issue with the fragments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants