conkit.io.aleigen module¶
Parser module specific to al-eigen map files
-
class
AleigenParser[source]¶ Bases:
conkit.io._parser.ContactFileParserClass to parse a al-eigen map file
-
read(f_handle, f_id='map_align')[source]¶ Read a contact file
Parameters: - f_handle – Open file handle [read permissions]
- f_id (str, optional) – Unique contact file identifier
Returns: Return type:
-
write(f_handle, hierarchy)[source]¶ Write a contact file instance to a file
Parameters: - f_handle – Open file handle [write permissions]
- hierarchy (
ContactFile,ContactMap) – orContact
Raises: RuntimeError– More than one contact map in the hierarchy
-