Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the Python virtual environment.
cd /path/to/athena_meta/ python -m pip install virtualenv
python -m virtualenv .env
source .env/bin/activate
- Add the environment variable.
vi ~/.bashrc
Add the following content to the opened file:
export ATHENA_HOME=/path/to/athena_meta/dependences export PATH=$ATHENA_HOME/idba-1.1.3a1/bin:$PATH export PATH=$ATHENA_HOME/samtools-1.16.1/bin:$PATH export PATH=$ATHENA_HOME/htslib-1.16/bin:$PATH export PATH=$ATHENA_HOME/minimap2:$PATH export PATH=$ATHENA_HOME/bwa-0.7.17:$PATH export PATH=$ATHENA_HOME/flye-2.31/bin:$PATH
Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the modification to take effect.
source ~/.bashrc
- Perform the compilation and installation.
cd athena_meta
pip install .
Parent topic: athena_meta 1.3 Porting Guide (Kylin V10)