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 · 2 comments

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.

@Stack7
Copy link
Author

Stack7 commented Nov 4, 2024

Hi! sorry for the late answer, anyway you are right! the issue is that one! since I merged two different tutorial to overcome several errors the the fragments have different names. I attached you my very first trial on making sens of the tutorial of SCENIC+
10x_multiome_pbmc.txt
It is a txt file but actually it is python script (version of python3.11)

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