protein_topology
Transmembrane topology of a protein by the HMM-TM 114-state hidden Markov model (JUCHMME, Bagos et al.), decoded residue by residue into inside / transmembrane-helix / outside runs. Reports the labelled path, the runs as residue spans, and the per-residue posterior. Needs the trained model, which the host loads once per session — this refuses by name when it has not been.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| protein | Yes | the protein sequence (unambiguous one-letter codes); wire it from translate_sequence. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| decoding | No | which decoder: 'viterbi' the single most probable state path (default, and the fast one); 'posterior-viterbi' and 'optimal-accuracy' re-decode over the posterior; 'n-best' beams over label SEQUENCES rather than states and is a genuinely different algorithm — and much slower on a long chain. | viterbi |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | one label per residue, in sequence order | |
| helices | Yes | how many runs are transmembrane helices — 0 means no helix was predicted, which for a cytosolic protein is the right answer and not a failure | |
| logProb | Yes | log probability of the decoded path, in nats | |
| summary | Yes | the topology in words — how many helices and which side the N-terminus is on, or that none was predicted | |
| decoding | Yes | which decoder produced this path | |
| segments | Yes | runs of one label as 1-based inclusive residue spans | |
| posterior | Yes | per-residue posterior probability of each label — the confidence behind the path |