Skip to content
DeCIFR REST server
JavaScript Python HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


DeCIFR REST server

The REST server to can be used to retrieve tree information from cifr PhyloXML files.


cd /usr/local/pythonenvs
python3 -m venv decifr-rest
source decifr-rest/bin/activate
pip install Flask
pip install lxml

To restrict access to pages with basic auth add the @requires_auth decorator to the function and edit the function check_auth.

Copy cifr phyloXML files to a directory and then set that with the app.config['TMP_FOLDER'] variable.

To run just type ./ This will start a development server. To run in production it would be best to run with a production server. The server should be available in your browser at localhost:8090/list

You can’t perform that action at this time.