IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
IMP.EMageFit.imp_general.io Namespace Reference

Utility functions to handle IO. More...

Detailed Description

Utility functions to handle IO.

Classes

class  ReferenceFrameToText
 Transform a IMP reference frame into parseable output. More...
 
class  Transformation3DToText
 Parseable output for a IMP Transformation3D. More...
 

Functions

def get_particles_from_points
 Simply creates IMP particles from a set of 2D points model - is the model to store the particles. More...
 
def imp_info
 Returns text with the time and information about the modules employed imp_modules is the set of modules whose infos are requested. More...
 
def read_reference_frames
 Read the reference frames contained in a solutions file from sampling n is the maximum number of ref frames to read. More...
 
def read_transforms
 Read a file of IMP.algebra.Transformation3D. More...
 
def write_particles_as_text
 Writes a set of particles with coordinates to a file. More...
 
def write_pdb_for_reference_frames
 Read the PDB files, apply reference frames to them, and write a pdb. More...
 
def write_transforms
 Write a file with the Transformation3Ds contained in Ts. More...
 
def write_vectors_in_multifit2_format
 writes a text files in the format required for point alignment in multifit2 More...
 

Function Documentation

def IMP.EMageFit.imp_general.io.get_particles_from_points (   points,
  model 
)

Simply creates IMP particles from a set of 2D points model - is the model to store the particles.

Note
This function is only available in Python.

Definition at line 26 of file io.py.

def IMP.EMageFit.imp_general.io.imp_info (   imp_modules = None)

Returns text with the time and information about the modules employed imp_modules is the set of modules whose infos are requested.

Note
This function is only available in Python.

Definition at line 191 of file io.py.

def IMP.EMageFit.imp_general.io.read_reference_frames (   fn,
  n = 10 
)

Read the reference frames contained in a solutions file from sampling n is the maximum number of ref frames to read.

NOTE: Currently the function returns only the reference frames and discards the score, the first element of a row

Note
This function is only available in Python.

Definition at line 161 of file io.py.

def IMP.EMageFit.imp_general.io.read_transforms (   fn,
  n = False 
)

Read a file of IMP.algebra.Transformation3D.

The it is assumed that the transformations are the only thing contained in a line

Note
This function is only available in Python.

Definition at line 133 of file io.py.

def IMP.EMageFit.imp_general.io.write_particles_as_text (   leaves,
  fn_output 
)

Writes a set of particles with coordinates to a file.

Note
This function is only available in Python.

Definition at line 51 of file io.py.

def IMP.EMageFit.imp_general.io.write_pdb_for_reference_frames (   fn_pdbs,
  refs_texts,
  fn_output 
)

Read the PDB files, apply reference frames to them, and write a pdb.

Note
This function is only available in Python.

Definition at line 177 of file io.py.

def IMP.EMageFit.imp_general.io.write_transforms (   Ts,
  fn 
)

Write a file with the Transformation3Ds contained in Ts.

Note
This function is only available in Python.

Definition at line 150 of file io.py.

def IMP.EMageFit.imp_general.io.write_vectors_in_multifit2_format (   vs,
  fn_output 
)

writes a text files in the format required for point alignment in multifit2

Note
This function is only available in Python.

Definition at line 64 of file io.py.