Running an example
This guide will walk you through an example to run Syndirella’s pipeline through a jupyter notebook.
Attention
If you have a Windows OS, use Docker Desktop by following these steps before continuing:
Create a Docker account.
Install Docker Desktop.
In Docker Desktop: go to Add Extensions.
Search for Jupyter Notebook Scientific Python Stack Extension and install it.
Open newly installed extension.
Open a terminal in the JupyterLab interface.
Install Syndirella.
conda create -n syndirella python=3.10
conda activate syndirella
pip install syndirella
pip install aizynthfinder
python -c 'import pyrosetta_installer; pyrosetta_installer.install_pyrosetta()' # run once, for Fragmenstein
Note: If cgrtools installation fails, try running:
conda install -c conda-forge c-compiler cxx-compiler
pip install --no-build-isolation cgrtools
Troubleshooting: If you encounter a TypeError: 'AttributeFilledMock' object is not iterable error, this is related to a PyRosetta dependency by Fragmenstein. To resolve this, you can download PyRosetta for academic and non-commercial use (see PyRosetta License).
pip install pyrosetta-installer
python -c 'import pyrosetta_installer; pyrosetta_installer.install_pyrosetta()'
Clone Syndirella repo.
git clone https://github.com/kate-fie/syndirella.git
cd syndirella
3. Open notebook in the syndirella environment at syndirella/example/run_syndirella_example/run_examples.ipynb which will take you through installation, looking at designs, running a handful of placements, and analysing outputs.