我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the Python virtual environment.
    cd /path/to/athena_meta/
    python -m pip install virtualenv
    python -m virtualenv .env
    source .env/bin/activate
  3. 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.

  4. Make the modification to take effect.
    source ~/.bashrc
  1. Perform the compilation and installation.
    cd athena_meta
    pip install .