vermouth.rcsu.contact_map module

Read RCSU Go model contact maps.

vermouth.rcsu.contact_map.read_go_map(file_path)[source]

Read a RCSU contact map from the c code as published in doi:10.5281/zenodo.3817447. The format requires all contacts to have 18 columns and the first column to be a capital R.

Parameters:

file_path (pathlib.Path) – path to the contact map file

Returns:

contact as chain id, res id, chain id, res id

Return type:

list(tuple)