conkit.core.distancefile module¶
Distance prediction file container used throughout ConKit
-
class
DistanceFile
(id)[source]¶ Bases:
conkit.core.contactfile.ContactFile
A distance file object representing a single distance prediction file. This class inherits methods and attributes from
ContactFile
Examples
>>> from conkit.core import Distogram, DistanceFile >>> distance_file = DistanceFile("example") >>> distance_file.add(Distogram("foo")) >>> distance_file.add(Distogram("bar")) >>> print(distance_file) DistanceFile(id="example" ndistograms=2)
The author of the
ContactFile
Type: str
-
method
¶ The
ContactFile
-specific methodType: list, str
-
remark
¶ The
ContactFile
-specific remarksType: list, str
-
top_map
¶ The first
ContactMap
entry inContactFile
Type: ContactMap
-
author
-
original_file_format
The original file format used to create the
DistanceFile
instance
-
target