Collection of sequences for known structures or decoys

A module for processing protein sequences in PIR format.

class sequences.pir(path='')[source]

Process PIR files for use by MDT.

MDT calculates statistics from structures by looping through a PIR file containing all sequences for the structures.

The last two fields in the PIR header (X-ray resolution and the r factor) can be repurposed to define the error bar parameters associated with each structure, used by MDT to calculate the error bar on the position of each atom.

Parameters:
  • path: path to the PIR file.