This repository contains two programs:
- shortest_protein_path
- minimum_spanning_tree
To run each program the pdb file of the protein of interest is needed.
There are two ways to create the graph based on the protein structure to calculate connected vertices:
- The distance between the closest side chain atoms
- The distance between pseudoatoms (midpoints of the catalytically important atoms in a side chain)
If needed, commands that create pseudoatoms and distances for pymol that represent points and their connections in the shortest path can be displayed.
Each program can also be used with non- protein inputs.
Software Requirements:
optional:
In order to install the required packages run:
python3 -m venv /PATH/TO/YOUR/VENV
source venv/bin/activate
pip install -r requirements.txt
In order to see all parameters run:
python3 shortest_protein_path.py -h
python3 minimum_spanning_tree.py -h
To run the programs in default mode run:
python3 shortest_protein_path.py -f /PATH/TO/PDB/FILE
python3 minimum_spanning_tree.py -f /PATH/TO/PDB/FILE