A plugin for PathMe that allows to explore overlaps across pathway databases.
This plugin initializes the pathway viewer in ComPath that allows to explore overlaps between pathways using the canonical mappings.
pathme_viewer can be installed with the following commands:
$ python3 -m pip install git+https://github.com/ComPath/PathMe-Viewer.git@master
or in editable mode with:
$ git clone https://github.com/ComPath/PathMe-Viewer.git $ cd PathMe-Viewer $ python3 -m pip install -e .
The web application requires to load the pathways from the databases in the BEL. Thus, it is required to the following command to load the database (note that the first time it runs might take a couple of hours).
python3 -m pathme_viewer manage load
In order to check the status of the database, you can run:
python3 -m pathme_viewer manage summarize
The content of the database can be erased by running:
python3 -m pathme_viewer manage drop
Once the desired pathway databases are loaded, you can deploy the web application by running:
python3 -m pip install pathme_viewer web
Note that the database runs by default in the following port: http://0.0.0.0:5000/. The Flask host and port can be modified by changing the default parameters (run: “python3 -m pathme_viewer web –help” for more info).