IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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 12 of file TALOSReader.py.

Public Member Functions

 __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.
 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
 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.
 read (self, fname)
 reads a TALOS file and returns data.

Constructor & Destructor Documentation

◆ __init__()

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 21 of file TALOSReader.py.

Member Function Documentation

◆ add_full_datum()

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 33 of file TALOSReader.py.

◆ add_mean_datum()

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 48 of file TALOSReader.py.

◆ read()

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

reads a TALOS file and returns data.

See add_datum methods.

Definition at line 132 of file TALOSReader.py.


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