HmtVar is a database hosting data about human mitochondrial variants, integrated with their pathogenicity predictions. More details can be found on the official paper, whose DOI is 10.1093/nar/gky1024.
Only the first time the database is set up:
- Create a new virtual environment (Python 3):
virtualenv -p python3.6 venv - Activate the virtual environment:
source venv/bin/activate - Install all the required packages:
pip install -r requirements.txt
3a. Will need to have theupdate/data/tables/folder available, with all the required tables in it. - Export the needed variables:
export FLASK_APP=app:app - Create the db:
flask create-db - Update the db:
flask update-db - Migrate the db:
flask migrate-db - Update the additional files used by HmtNote:
flask update-hmtnote
Everytime you need to update the database with new data (from the tables in update/data/tables/), you need to repeat steps 4, 6, 7, 8 (not 5!).
When finished, deactivate the virtual environment: deactivate.
Details about each update of the public HmtVar instance can be found in the CHANGELOG file.
Details about the data updating protocol can be found in the UPDATE.md file.
After the updating procedure is complete, please run flask migrate-db, then systemctl restart HmtVar (with sudo if needed).
HmtVar is served using gunicorn; please ask your system admin for help about this.
HmtVar can be cited as:
Preste R, Vitale O, Clima R, Gasparre G, Attimonelli M
HmtVar: a new resource for human mitochondrial variations and pathogenicity data.