-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started With MICAS
Sam Horovatin edited this page Jul 9, 2021
·
1 revision
Here are some of the programs that MICAS requires for it to function correctly. I have listed down the steps needed to get up and running with MICAS service as well.
Steps to get MICAS up and running
SOFTWARE REQUIRED
- Centrifuge
- Celery
- Conda
- Redis
- Dustmasker (or as part of NCBI C++ toolkit)
- NodeJS
SETTING UP THE BACKEND FLASK SERVER
- Activate the right conda environment:
conda activate micas_env
- Start up the Flask app
python server/micas.py
This hosts the back-end on http://127.0.0.1:5000
SETTING UP THE DIRECTORIES
- Create the main directory to hold all the other micas directories.
mkdir Files-MICAS
- Create a directory to hold MICAS database related files
mkdir -p Files-MICAS/micas_data
- Create a directory to hold MinION reads data.
mkdir -p Files-MICAS/minion_data
START REDIS SERVER & CELERY WORKER
- Start the Redis server for messaging between Python and Celery
redis-server
- Start Celery Worker for given tasks
cd server/app/main/utils
celery -A tasks worker --loglevel=INFO