|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Map between FASTA codes and residue types. More...
Map between FASTA codes and residue types.
Typically one would use the amino_acid, rna, or dna objects.
Definition at line 8 of file alphabets.py.
Public Member Functions | |
| get_chain_type (self) | |
| Get the IMP.atom.ChainType for this alphabet. | |
| get_one_letter_code_from_residue_type (self, rt) | |
| Given a residue type, return a one-letter code. | |
| get_residue_type_from_one_letter_code (self, code) | |
| Given a one-letter code, return an IMP.atom.ResidueType. | |
| IMP.pmi.alphabets.ResidueAlphabet.get_chain_type | ( | self | ) |
Get the IMP.atom.ChainType for this alphabet.
Definition at line 28 of file alphabets.py.
| IMP.pmi.alphabets.ResidueAlphabet.get_one_letter_code_from_residue_type | ( | self, | |
| rt ) |
Given a residue type, return a one-letter code.
Definition at line 22 of file alphabets.py.
| IMP.pmi.alphabets.ResidueAlphabet.get_residue_type_from_one_letter_code | ( | self, | |
| code ) |
Given a one-letter code, return an IMP.atom.ResidueType.
Definition at line 18 of file alphabets.py.