IMP logo
IMP Reference Guide  2.11.1
The Integrative Modeling Platform
IMP.isd.TALOSReader.TALOSReader Class Reference

reads a TALOS file, or a TALOS folder, and stores the data More...

Detailed Description

reads a TALOS file, or a TALOS folder, and stores the data

Note
This class is only available in Python.

Definition at line 14 of file TALOSReader.py.

Public Member Functions

def __init__
 start the TALOSReader sequence : a dictionary of sequence number keys and 3-letter code values. More...
 
def add_full_datum
 in the case of a list of predictions for one residue, add an entry to data which is: 'full' : always True 'num' : number of predictions 'phi' : the list of predictions for phi 'psi' : same for psi More...
 
def add_mean_datum
 in the case of a single (average) prediction output by talos for a given residue, add an entry to data which is: 'full' : always False 'num' : the number of matches this average was calculated from 'phi' : a tuple in the form (mean, error) 'psi' : same as phi. More...
 
def read
 reads a TALOS file and returns data. More...
 

Constructor & Destructor Documentation

def IMP.isd.TALOSReader.TALOSReader.__init__ (   self,
  sequence,
  detailed_input,
  keep_all = False,
  sequence_match = (1, 1 
)

start the TALOSReader sequence : a dictionary of sequence number keys and 3-letter code values.

detailed_input : True if the input will be either predAll.tab or the pred/res???.tab files. False if it's pred.tab keep_all : whether to keep outliers or not, when detailed_input==True. sequence_match : in the form (talos_no, sequence_no), assigns a correspondence between residue numberings.

Definition at line 23 of file TALOSReader.py.

Member Function Documentation

def IMP.isd.TALOSReader.TALOSReader.add_full_datum (   self,
  resno,
  phi,
  psi 
)

in the case of a list of predictions for one residue, add an entry to data which is: 'full' : always True 'num' : number of predictions 'phi' : the list of predictions for phi 'psi' : same for psi

Definition at line 35 of file TALOSReader.py.

def IMP.isd.TALOSReader.TALOSReader.add_mean_datum (   self,
  resno,
  num,
  phi,
  psi 
)

in the case of a single (average) prediction output by talos for a given residue, add an entry to data which is: 'full' : always False 'num' : the number of matches this average was calculated from 'phi' : a tuple in the form (mean, error) 'psi' : same as phi.

Definition at line 50 of file TALOSReader.py.

def IMP.isd.TALOSReader.TALOSReader.read (   self,
  fname 
)

reads a TALOS file and returns data.

See add_datum methods.

Definition at line 131 of file TALOSReader.py.


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