conkit.io.bbcontacts module

Parser module specific to bbcontacts predictions

class BbcontactsParser[source]

Bases: conkit.io._parser.ContactFileParser

Class to parse a Bbcontacts contact file

read(f_handle, f_id='bbcontacts', del_one_two=False)[source]

Read a contact file

Parameters:
  • f_handle – Open file handle [read permissions]
  • f_id (str, optional) – Unique contact file identifier
  • del_one_two (bool) – Remove one- & two-strand sheets
Returns:

Return type:

ContactFile

write(f_handle, hierarchy)[source]

Write a contact file instance to to file

Parameters:

Note

Creating a write() method would come with a lot of issues, such as the parallel/antiparallel direction, scoring etc … thus, this function is unvailable.

Raises:NotImplementedError – Write function not available