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

ValueError: Please check if appropriate organism/ID type was provided! #97

Open
anke-king opened this issue Apr 8, 2024 · 4 comments
Open
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@anke-king
Copy link

I get this error and it lists a number of genes that are not found in the data, although they are in var names (I checked). So I have no idea why this error occurs?

Also im trying to assess communication between mouse and human cells, so what would I have to specify as organism?

Thanks for the help!

@anke-king anke-king added bug Something isn't working help wanted Extra attention is needed labels Apr 8, 2024
@dbdimitrov
Copy link
Collaborator

dbdimitrov commented Apr 8, 2024

Hi @anke-king,

Can you please show the adata.var of your data and how do you specify the resource which liana is using (e.g. via resource_name)?

@anke-king
Copy link
Author

I used the default, so not specifying anything (trying to follow your tutorial)
Here is a short subset of my var_names:

print(adata_human_mouse.var_names[adata_human_mouse.var_names.str.startswith("CCL")]):

Index(['CCL1', 'CCL11', 'CCL12', 'CCL15', 'CCL15-CCL14', 'CCL17', 'CCL22',
'CCL23', 'CCL24', 'CCL28', 'CCL3', 'CCL4', 'CCL4L2', 'CCL5', 'CCL7',
'CCL8'],
dtype='object')

some of these are required in the error message and said not to be in var_names although they are there?
Should I specify a different resource? I tried mouseconensus but the same error occurs (also all my gene names are in human format).

@dbdimitrov
Copy link
Collaborator

Hi @anke-king,

If you can share a subset of your data and the function you were using from liana, I can debug it on my end.

Daniel

@soniyalama
Copy link

You should add use_raw = False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants