Parser module specific to Pcons predictions
This module can be used to parse all versions of the Pcons programs, i.e. PconsC, PconsC2, and PconsC3.
PconsParser
[source]¶Bases: conkit.io._parser.ContactFileParser
Class to parse a Pcons output
This module can be used to parse all versions of the Pcons programs, i.e. PconsC, PconsC2, and PconsC3.
read
(f_handle, f_id=’pcons’)[source]¶Read a contact file
Parameters: |
|
---|---|
Returns: | |
Return type: |
write
(f_handle, hierarchy, write_header_footer=True)[source]¶Write a contact file instance to to file
Default format is PconsC3
style, including comments
and sequence information (if provided).
Parameters: |
|
---|---|
Raises: |
|