reads a TALOS file, or a TALOS folder, and stores the data
Public Member Functions | |
| def | __init__ |
| start the TALOSReader sequence : a dictionnary of sequence number keys and 3-letter code values. | |
| 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 | |
| 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. | |
| def | get_data |
| def | read |
Public Attributes | |
| data | |
| detailed_input | |
| keep_all | |
| offset | |
| sequence | |
| def IMP.isd.TALOSReader.TALOSReader.__init__ | ( | self, | |
| sequence, | |||
| detailed_input, | |||
keep_all = False, |
|||
sequence_match = (1,1 |
|||
| ) |
start the TALOSReader sequence : a dictionnary 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.
| 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
| 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.