This GitHub repository contains all the dependencies (in yml file) & the necessary files for Proteinforger. You just need to create a conda environment using the yml file.
-
Go to directory where attached openmm.yml is downloaded.
-
Open the terminal & type the following command:
conda env create -f openmm.yml
-
It would automatically make a conda environment naming openmm
-
Verify the env creation by following command:
conda env list
If you prefer to run the app in a docker image instead of a conda environment. Then build the Docker image by following these steps:
-
Open a terminal and navigate to the directory containing the
Dockerfile. -
Build the Docker image using the following command:
docker build -t proteinforger:latest . -
Once the image is built, you can run the Docker container using the following command:
docker run -p 8501:8501 proteinforger:latest
This will start the Streamlit app, and you can access it by navigating to http://localhost:8501 in your web browser.
To stop the Docker container running the app, follow these steps:
-
List the running Docker containers to find the container ID:
docker ps
-
Stop the Docker container using the container ID:
docker stop <container_id>
Replace <container_id> with the actual container ID from the previous command. >
-
Clone the repository & then go to the downloaded directory.
-
Open the terminal in the directory and write the following command:
conda activate openmm
-
Then run python script through streamlit using following command:
streamlit run proteinforger.py
- OR simply run bash script in the terminal:
./proteinforger.sh
-
This will start the Streamlit app, and you can access it by navigating to
http://localhost:8501in your web browser. -
Select the necessary options & do not forget to specify the Project Title.
-
By Default CPU will be used for minimization but if you have multiple proteins, GPU/CUDA option can be selected.
-
Hit the Minimize button.
Note
- Default Force Field will be CHARMM36
- Default Platform will be CPU
- Default # of Minimization steps would be 100. (for small proteins)
- Refer to the excel file
ERRAT.xlsxregarding suggested Number of Minimization Steps, for reference.
Author's note: For further assistance email me at muneebgojra@gmail.com
This app was originally built at BioCode.ltd