rstoolbox.io.parse_rosetta_contacts

rstoolbox.io.parse_rosetta_contacts(filename)

Read a residue contact file as generated by ContactMapMover.

Returns three objects:

order type content
1 DataFrame matrix with boolean True in contacts; Rosetta numbering (no seqID)
2 list() of str list of 3-letter code amino acids for row axis
3 list() of str list of 3-letter code amino acids for column axis

In a regular run for the ContactMapMover without selectors, list 2 and 3 will be identical.

Parameters:

filename (str) – File containing the Rosetta fragments.

Returns:

Union[DataFrame, list() of str, list() of str]

Raises:
IOError:if filename cannot be found.