Installation

Setting up Pose Rescorer with AmberTools via conda

Requirements

Rescore requires the following dependencies:

Installation via Conda

The recommended installation method uses conda to manage AmberTools and Python dependencies.

Step 1: Clone Repository

git clone https://github.com/Amirtesh/Pose-Rescorer
cd Pose-Rescorer

Step 2: Create Conda Environment

The repository includes an environment.yml file with all dependencies:

conda env create -f environment.yml
conda activate pose-rescorer

This creates an environment called pose-rescorer with:

Step 3: Install Pose Rescorer

Make sure you're in the Pose-Rescorer directory, then install the package in development mode:

pip install -e .

Step 4: Verify Installation

Test that the installation succeeded:

rescore --version

You should see:

rescore version 1.1

Verify that AmberTools commands are available:

which MMPBSA.py
which antechamber
which sander

Manual Installation

If you prefer not to use the provided environment file, you can install dependencies manually. Ensure AmberTools is installed and available in your PATH, then install Python dependencies:

pip install biopython typer rich loguru

System Requirements

Testing the Installation

Run a quick validation to ensure everything works:

rescore validate --help
rescore integrate --help

Both commands should display help text without errors.

Troubleshooting

Command not found: rescore

Ensure the conda environment is activated:

conda activate pose-rescorer

MMPBSA.py not found

Verify AmberTools installation:

conda list ambertools

If not installed, add it manually:

conda install -c conda-forge ambertools

Import errors for Python packages

Reinstall dependencies:

pip install --upgrade biopython typer rich loguru

Note: AmberTools must be installed from conda-forge. Do not attempt to compile from source unless you are familiar with Amber's build system.