mirror of
https://github.com/KosinskiLab/AlphaPulldown.git
synced 2026-06-04 14:14:24 +08:00
1.4 KiB
1.4 KiB
- Clone the GitHub repo
git clone --recurse-submodules git@github.com:KosinskiLab/AlphaPulldown.git cd AlphaPulldown git submodule init git submodule update - Create the Conda environment as described in https://github.com/KosinskiLab/AlphaPulldown/blob/installation-intro-update/README.md#create-anaconda-environment
- Add AlphaPulldown package and its submodules to the Conda environment
You need to do it only once.
source activate AlphaPulldown cd AlphaPulldown pip install . pip install -e alphapulldown/ColabFold --no-deps pip install -e alphafold --no-deps - When you want to develop, activate the environment, modify files, and the changes should be automatically recognized.
- Test your package during development using tests in
test/, e.g.:pip install pytest pytest -s test/ pytest -s test/test_predictions_slurm.py pytest -s test/test_features_with_templates.py::TestCreateIndividualFeaturesWithTemplates::test_1a_run_features_generation - Before pushing to the remote or submitting pull request
to install the package and test. Pytest for predictions only work if slurm is available. Check the created log files in your current directory.
pip install . pytest -s test/