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

kegg_pathways_download returns fewer pathways #102

Open
cchen22 opened this issue Jun 27, 2024 · 1 comment
Open

kegg_pathways_download returns fewer pathways #102

cchen22 opened this issue Jun 27, 2024 · 1 comment
Assignees
Labels
question A user question or anything not obviously bug

Comments

@cchen22
Copy link

cchen22 commented Jun 27, 2024

Hello,

Thank you so much for creating this fantastic package!
I used " kegg_pathways_download" to download all kegg pathways. I am confused it says "downloaded 551 records" but in the output dataframe there are only 193 unique pathways? I wonder what filtering is used inside this function. Thank you very much!

> kegg_pw = kegg_pathways_download(max_expansion = NULL, simplify = FALSE)
[2024-06-27 11:55:28] [SUCCESS] [OmnipathR] KEGG (www.genome.jp): downloaded 551 records
[2024-06-27 11:55:49] [SUCCESS] [OmnipathR] UniProt (rest.uniprot.org): downloaded 20435 records
@deeenes deeenes self-assigned this Jun 28, 2024
@deeenes deeenes added the question A user question or anything not obviously bug label Jun 28, 2024
@deeenes
Copy link
Member

deeenes commented Jun 28, 2024

Hello, The code currently extracts only protein-protein interactions from pathways, which means mostly signaling interactions. Most metabolic pathways will yield zero interactions this way. We don't even try to process those pathways. As you see here, the step when we translate the identifiers from gene symbols to UniProt IDs is very simplistic. Today already the metabolite IDs could be processed too using the HMDB or Chalmers Sysbio ID translation. And an option could be provided to process the pathways into data frames without ID translation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A user question or anything not obviously bug
Projects
None yet
Development

No branches or pull requests

2 participants