How aidrabd/pgppred works
PGPpred is a command-line protein-sequence classifier. The workflow selects input FASTA files, loads the trained model, parses sequences, encodes them in batches, predicts PGP/Non-PGP classes, and writes detailed CSV and class-grouped FASTA results. Its principal runtime is implemented in one script, so several distinct responsibilities share that source path. The README documents batch and directory processing; the source excerpt confirms the dispatch and output flow. The bundled model is shown as an input artifact, not an inspected model architecture.
Main entry points: pgppred_predict.py Prediction coordinator · pgppred.h5 Trained model
Components 10
Input handling
- CLI and file selection
pgppred_predict.py - FASTA parser
pgppred_predict.py
Prediction
- Trained model
pgppred.h5 - Prediction coordinator
pgppred_predict.py - Sequence batch encoder
pgppred_predict.py - CNN-RNN inference
pgppred_predict.py
Results
- Class summary
pgppred_predict.py - Prediction CSV
pgppred_predict.py - Class-grouped FASTA
pgppred_predict.py
Other components
- CLI user
Connections 9
- CLI user → CLI and file selection: provides options
pgppred_predict.py - CLI and file selection → Prediction coordinator: starts prediction
pgppred_predict.py - Prediction coordinator → Trained model: loads model
pgppred_predict.py - Prediction coordinator → FASTA parser: reads sequences
pgppred_predict.py - Prediction coordinator → Sequence batch encoder: creates batches
pgppred_predict.py - Prediction coordinator → CNN-RNN inference: requests predictions
pgppred_predict.py - Prediction coordinator → Class summary: counts classes
pgppred_predict.py - Prediction coordinator → Prediction CSV: writes predictions
pgppred_predict.py - Prediction coordinator → Class-grouped FASTA: writes class groups
pgppred_predict.py