IMP logo
IMP Reference Guide  develop.d97d4ead1f,2024/11/21
The Integrative Modeling Platform
IMP.pmi.alphabets.ResidueAlphabet Class Reference

Map between FASTA codes and residue types. More...

Detailed Description

Map between FASTA codes and residue types.

Typically one would use the amino_acid, rna, or dna objects.

Note
This class is only available in Python.

Definition at line 8 of file alphabets.py.

Public Member Functions

def get_chain_type
 Get the IMP.atom.ChainType for this alphabet. More...
 
def get_one_letter_code_from_residue_type
 Given a residue type, return a one-letter code. More...
 
def get_residue_type_from_one_letter_code
 Given a one-letter code, return an IMP.atom.ResidueType. More...
 

Member Function Documentation

def IMP.pmi.alphabets.ResidueAlphabet.get_chain_type (   self)

Get the IMP.atom.ChainType for this alphabet.

Definition at line 28 of file alphabets.py.

def 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.

def 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.


The documentation for this class was generated from the following file: