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

Replacing CellPhoneDB database #1

Open
blackturtle-bam opened this issue Mar 2, 2021 · 2 comments
Open

Replacing CellPhoneDB database #1

blackturtle-bam opened this issue Mar 2, 2021 · 2 comments

Comments

@blackturtle-bam
Copy link

Hi, thank you for developing this database. I have mouse single cells data and I want to use your database to do analysis using CellPhoneDB. CellPhoneDB needs protein, gene, complex, and interactions input file. I've downloaded the files from your download page but I'm not sure which file to use. Could you explain how to generate the database?
Thank you.

@multitalk
Copy link
Collaborator

Hello, you can use mouse_lr_pairs.rds to replace the LR pairs in the CellPhoneDB input file and retain the complex pairs.

@blackturtle-bam
Copy link
Author

Hi, thank you for answering the question.
I tried to to replace the interaction file using the mouse_lr_pairs.rds by executing this commands:

cellphonedb database generate --user-interactions mouse_pair.csv --user-interactions-only

then I got the following error:
KeyError: 'partner_a'

So, I renamed the header to partner_a and partner_b, but then another error occurred:
KeyError: "['source'] not in index"

Do I need to modify other files as well?

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