check if my gene name exists in Kegg pathway
Hi guys, please help me,
I use bioservices package , 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?
This question is related to my previous post : C: retrieving pathways belong to my gene names
Thanks.
• 343 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Can you show the full code?
dicseems to be anintnot adictso it doesn't havekeys.Hi, thanks for your response, I attached my previous link which is contained codes, you can find it here : C: retrieving pathways belong to my gene names
Hello EFN,
Please use the formatting bar (especially the

codeoption) to present your post better. I've done it for you this time.Thank you!
that is a generic error by bioservices if it doesn't find a matching ID. Following code in
bioservices/kegg.pyis the problem:thank you, so greateful, your advice were always instructive for me
@ EFN: I have logged this issue with bioservices (https://github.com/cokelaer/bioservices/issues/125 ). Developers were very responsive and fixed this issue. Please check again if this error crops up and follow it up with bioservices team. They are super responsive.
Thank you! I usually work by bioservices, how can i connect to them myself?
via github dev channel @EFN