ContactFile container used throughout ConKit
ContactFile
(id)[source]¶Bases: conkit.core.entity.Entity
A contact file object representing a single prediction file
The contact file class represents a data structure to hold all predictions with a single contact map file. It contains functions to store, manipulate and organise contact maps.
Examples
>>> from conkit.core import ContactMap, ContactFile
>>> contact_file = ContactFile("example")
>>> contact_file.add(ContactMap("foo"))
>>> contact_file.add(ContactMap("bar"))
>>> print(contact_file)
ContactFile(id="example" nseq=2)
str – The author of the ContactFile
method
¶list, str – The ContactFile
-specific method
remark
¶list, str – The ContactFile
-specific remarks
target
¶str – The target name
top_map
¶ContactMap
– The first ContactMap
entry in ContactFile
author
method
The ContactFile
-specific method
remark
The ContactFile
-specific remarks
sort
(kword, reverse=False, inplace=False)[source]¶Sort the ContactFile
Parameters: | |
---|---|
Returns: | The reference to the |
Return type: | |
Raises: |
|
target
top_map
The first ContactMap
entry