IMP  2.3.0
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

Definition at line 349 of file utils.py.

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

maps angles into interval [-pi,pi]

Definition at line 564 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.

Definition at line 318 of file utils.py.