Closed mtvector closed 4 years ago
Ok this is a problem on our side with the new dump of wikipathways I updated. Apparently one of the nodes from WikiPathways has 2 names and we pass a set instead of a string to the query
While I fix the problem you can download the WikiPathways files here directly: https://drive.google.com/uc?authuser=0&id=1adwTE9cUpMb0lFiN0gbrGLaWfExtFdux&export=download Move them under ~/.pathme/wikipathways/bel if you want to use them with PathMe directly since it expects them to be there
The other dumps for KEGG and Reactome are here:
https://drive.google.com/uc?authuser=0&id=1a_6lck28Df9v2E-Dt45-ZARsdGVs-V9s&export=download
https://owncloud.scai.fraunhofer.de/index.php/s/EKkJmrXnGr2rwd6/download
Sweet, thank you! I'll give these a shot.
I have pinned the version of compath_utils now so the previous problem should be solved (it wasnt pinned and we updated the package in last weeks). I identified this problem now. Gonna fix it
This pathway (https://www.wikipathways.org/index.php/Pathway:WP1772) had some issues regarding the identifiers (they were hgnc symbols instead of the expected hgnc id) so it was crashing. I dont want to hack it since this is a problem of the resource. I will do a new release fixing the dependency problem and where this pathway wont be exported. Will try to see whether it is fixed in new newest version from this month of WP, if not then I will curate it myself there but it wont be fixed until the next release.
Good to know! The zips you linked to work, I can load them! Now I need to figure out how to wrangle the BELgraphs... Thanks for your help!
Thank to you for your patience and using PathMe. I make now the new release and close the issue.
Fixed with 8e1482ea577593f9c85f1085cbd3b9f72ef86e03
Hi there, thanks for the help previously. Unfortunately I made slight progress and found new errors. I noticed in your config that sqlalchemy is supposed to install the newest version, and that may be the source of the problem. Hopefully it's just another version thing. You mentioned previously that you're working on many large changes that will be released soon, if that's true, I'm willing to wait for that and don't worry about addressing these issues in specific here! Anyway, here's what I'm facing: After downloading wikipathways, running
python3 -m pathme wikipathways bel
I get partway through and then:
Exporting WikiPathways to BEL in /wynton/home/ye/mschmitz1/.pathme/wikipathways/bel: 48%|████▊ | 242/509 [09:45<25:28, 5.72s/it]Traceback (most recent call last): File "/wynton/home/ye/mschmitz1/utils/miniconda3/envs/pathways2/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1247, in _execute_context self.dialect.do_execute( File "/wynton/home/ye/mschmitz1/utils/miniconda3/envs/pathways2/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 588, in do_execute cursor.execute(statement, parameters) sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type.
The above exception was the direct cause of the following exception:
And it runs into this error at the same spot every time...
Here are the packages that are installed