A GNN-RNN hybrid model for predicting and explaining peptide LC-RT data.
To reproduce the results of the paper, check out Run it yourself.
To build your own GNN-RNN hybrid model on your own datasets, check out Build it yourself.
Note
Results may differ from the paper due to the stochastic nature of neural nets.
git clone [email protected]:CompOmics/peptide-gnn.git
cd peptide-gnnWe recommend using a virtual environment. Choose the installation that matches your hardware:
For GPU (CUDA) users:
pip install .[gpu]For CPU users:
pip install .Run the training pipeline using the provided sample data. By default, results are saved to ./output/.
pepgnn run ./data/ --epochs 100We provide a Jupyter notebook for post-hoc analysis and visualization:
- Launch Jupyter:
jupyter notebook - Navigate to
notebooks/vis.ipynb - Run all cells to generate plots and model explanations.
If you are interested in building your own GNN-RNN hybrid model, check out MolCraft.
Note
While MolCraft provides an improved API for molecular GNN-building, the underlying building blocks differ slightly from MolGraph, which may result in different outcomes.