retrieving pathways belong to my gene names
Hi there!
Sorry guys, if my question has repeated before, I don't want waste your time, but I couldn't find proper answer for my question.
I am working with numbers of genes, I want to know to which pathway of KEGG database they belong? Indeed, I have written a program by python, using bioservices module, but there isn't any way to search several pathway in a run.how can I solve it by python? if anyone could help me, I appreciate it.
• 536 views
•
link
1 answer
Log in to answer this question.
use kEGG rest api and post some example gene symbols
it is time-consuming way I think, need a faster way
can you help me?
post some example gene symbols
some of my genes are : CRK, RUNX1, PSMD11,JUP , .......
Thanks
It is unclear what exactly you have done so far. It sounds like you may have written a python program (that uses KEGG API?, since you used those
tags) to do the search you need but you just want it done for several pathways. You may have to do some kind of a loop in that case but be aware that rapid programmatic querying may result in a IP ban from KEGG. You are supposed to buy a license (even for academic users) for extensive KEGG use.thanks for your response! No, I used bioservices module, I want to know if anyone can help me using API. maybe using loops is good idea.
Format the output as per your needs:
output:
thanks for your response ;)
it is really helpful
Hi again,
new question has arisen for me when I import a gene name that kegg cannot recognize it... the error is : if 'PATHWAY' in dic.keys(): AttributeError: 'int' object has no attribute 'keys'
I wrote an if statement, but the same error has occurred. where I'm doing wrong?
well, it is a generic error by bioservices. If it can't find a match, it throws a general error. This is not an error in your input/code.