TMbed
A small CNN on protein language model embeddings that marks transmembrane helices, strands and signal peptides.
Molecules, proteins and genomics · 4,625 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 344K
- Operations
- 4,625
- Framework
- PyTorch
- Recurrent
- No
- Published
- BMC Bioinformatics 2022
- Cited by
- 108 (as of 24 October 2026)
- Authors
- Michael Bernhofer, Burkhard Rost
- Source
- GitHub: BernhoferM/TMbed
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20816
- Graph hash
- 38cc22cf6f78f9b7915bde1c79611444269a4000376b099e4a5d1b05693237d9
- Skeleton hash
- 35cb6710a082dd0c6cefbab0a2bf5c5ffb5db96744c9d2b7d971381ce74f41b1
- Architecture hash
- 9b662912acc8f4c4afc9ef623168fdd38eb398fa17d4760aff79d72a132eacf8
- Diagram SHA-256
- 4bc50320a3038f4e598f15fc20e73e1dc011b7fc1949cf36c06da05dc795d019
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
TMbed predicts which parts of a protein cross a cell membrane. It takes embeddings from the ProtT5 protein language model and assigns each residue one of four classes: transmembrane helix, transmembrane strand, signal peptide, or other. The authors note that experimental 3D structures for transmembrane proteins remain about 4-5 times underrepresented compared to other proteins.
The model has three parts: a convolutional neural network that makes per-residue predictions, a Gaussian smoothing filter, and a Viterbi decoder that picks the best class label for each residue. The CNN has four layers; the first is a pointwise convolution that reduces each residue's ProtT5 embedding from 1024 to 64 dimensions, and the second and third are parallel depthwise convolutions. The Viterbi decoder has no trainable parameters and scores transitions according to the predicted class probabilities.
The final TMbed is an ensemble of the five models from five-fold cross-validation, whose class probabilities are averaged before Viterbi decoding. On a non-redundant data set the paper reports that it identified 53 of 57 beta barrel and 557 of 571 alpha helical transmembrane proteins, erring on 30 of 5654 non-membrane proteins.
Key idea. TMbed showed that a small CNN on protein language model embeddings, with Gaussian and Viterbi filters, can annotate transmembrane proteins for entire proteomes on a desktop machine.
- tmbed
- transmembrane protein prediction
- transmembrane helix
- beta barrel
- signal peptide
- prott5 embeddings
- protein language model
- membrane protein
- viterbi
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Bernhofer_2022, title={TMbed: transmembrane proteins predicted through language model embeddings}, volume={23}, ISSN={1471-2105}, url={http://dx.doi.org/10.1186/s12859-022-04873-x}, DOI={10.1186/s12859-022-04873-x}, number={1}, journal={BMC Bioinformatics}, publisher={Springer Science and Business Media LLC}, author={Bernhofer, Michael and Rost, Burkhard}, year={2022}, month=Aug }