IMP logo
IMP Reference Guide  develop.cd20b1e321,2019/12/14
The Integrative Modeling Platform
IMP.isd.utils Namespace Reference

Miscellaneous utilities. More...

Detailed Description

Miscellaneous utilities.

Classes

class  Pipe
 implements a FIFO pipe that merges lists (see self.put) More...
 

Functions

def check_residue
 checks whether residue codes a and b are the same, doing necessary conversions More...
 
def map_angles
 maps angles into interval [-pi,pi] More...
 
def read_sequence_file
 read sequence of ONE chain, 1-letter or 3-letter, returns dict of no:3-letter code. More...
 

Function Documentation

def IMP.isd.utils.check_residue (   a,
  b 
)

checks whether residue codes a and b are the same, doing necessary conversions

Note
This function is only available in Python.

Definition at line 353 of file utils.py.

def IMP.isd.utils.map_angles (   angles,
  period = None 
)

maps angles into interval [-pi,pi]

Note
This function is only available in Python.

Definition at line 571 of file utils.py.

def IMP.isd.utils.read_sequence_file (   filename,
  first_residue_number = 1 
)

read sequence of ONE chain, 1-letter or 3-letter, returns dict of no:3-letter code.

Fails on unknown amino acids.

Note
This function is only available in Python.

Definition at line 322 of file utils.py.