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

Improve mapping to ensembl ids with pyensembl package #50

Merged
merged 12 commits into from
Jul 15, 2024

Conversation

bputzeys
Copy link
Collaborator

@bputzeys bputzeys commented Jul 10, 2024

@bputzeys bputzeys changed the title Search and replace gene_col_name -> gene_names Improve mapping to ensembl ids with pyensembl package Jul 11, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bputzeys This will not work anymore if we want to do this for other species. The UCE model for example needs macacus genes.

Copy link
Collaborator Author

@bputzeys bputzeys Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously, we had only the mapping from pbmc which is human right? So the previous code would not work with UCE in the first place no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add the species as input argument?

Copy link
Contributor

@maxiallard maxiallard Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes add it please. I don't want different methods for different models. This way we can use UCE across more species. Thanks.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I made the changes and included a unittest where I show how to do it with Macaque. d176049

@maxiallard maxiallard merged commit 297dafe into main Jul 15, 2024
1 check passed
@maxiallard maxiallard deleted the fix-gene-col-name branch July 15, 2024 08:06
Copy link

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

Successfully merging this pull request may close these issues.

None yet

2 participants