After officially shutting down print production of its famous biochemical pathways posters, Roche made the posters available via a nifty online interface. Unfortunately, this has left people who want a paper copy without a good option. This script will download and assemble the Metabolic Pathways poster from the tiles hosted on their server to give you a large, printable PNG file.
You will need the following requirements:
Python > 3.5.2
- ImageMagick.
The script will run on OSX and linux machines. Windows was not tested, yet.
Install the requirements in requirements.txt
by running
pip install -r requirements.txt
run the script from the command line using
python extract_metabol.py
if python2 is installed, along with python3, make sure to call the script using python3.
python3 extract_metabol.py
This will dump all the raw tiles in images/
, assembled layers in assembled/
, and the final image finalimg.png
in the root directory.
- Specify the zoom level by changing
zoomLevel
at the beginning ofextract_metabol.py
. - If you want to have the original grid, comment out the line that removes grid from the array in the beginning of
extract_metabol.py
.
- Printable part 2: cellular mechanisms