How yuexujiang/deepdom works
DeepDom predicts protein domain-boundary scores from amino-acid sequences, and also supports training custom sequence models. The main prediction workflow is sequence input → preprocessing with dataprocess.pl → model inference in predict.py → per-residue scores written to an output file. The training branch preprocesses sequences and boundary labels, trains the stacked bidirectional LSTM in train.py, and saves a model usable for prediction. The README documents preprocessing behavior and model choices; source excerpts show inference, score aggregation, and training, but not dataprocess.pl internals.
Main entry points: predict.py LSTM inference · dataprocess.pl Sequence preprocessing · train.py Model training · foldmodel_bilstmwrapper_4sum200_80_40nr_sliwin.h5 Pretrained GPU model
Components 13
Data preparation
- Sequence preprocessing
dataprocess.pl
Model training
- Model training
train.py - Custom model
train.py
Boundary prediction
- Pretrained GPU model
foldmodel_bilstmwrapper_4sum200_80_40nr_sliwin.h5 - Pretrained CPU model
cpu_model.h5 - Processed input reader
predict.py - Residue encoding
predict.py - LSTM inference
predict.py - Window score aggregation
predict.py
Other components
- Researcher
- Protein sequences
- Boundary labels
- Residue scores
Connections 17
- Researcher → Protein sequences: provides
README.md - Researcher → Boundary labels: provides
README.md - Protein sequences → Sequence preprocessing: preprocesses
README.md - Boundary labels → Sequence preprocessing: preprocesses
README.md - Sequence preprocessing → Model training: provides processed data
README.md - Sequence preprocessing → Processed input reader: provides processed sequences
README.md - Researcher → Model training: starts training
README.md - Model training → Custom model: saves
train.py - Researcher → Processed input reader: starts prediction
README.md - Processed input reader → Residue encoding: reads sequences
predict.py - Residue encoding → LSTM inference: encodes residues
predict.py - LSTM inference → Pretrained GPU model: loads by default
predict.py - LSTM inference → Pretrained CPU model: loads when selected
README.md - LSTM inference → Custom model: loads when selected
README.md - LSTM inference → Window score aggregation: predicts window scores
predict.py - Window score aggregation → Residue scores: writes residue scores
predict.py - Researcher → Residue scores: receives output
README.md