IMP logo
IMP Reference Guide  2.20.1
The Integrative Modeling Platform
IMP.pmi.alphabets.ResidueAlphabet Class Reference

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

Inherits object.

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 9 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 29 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 23 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 19 of file alphabets.py.


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