- class biotite.File¶
Base class for all file classes. The constructor creates an empty file, that can be filled with data using the class specific setter methods. Conversely, the class method
read()reads a file from disk (or a file-like object from other sources). In order to write the instance content into a file the
write()method is used.
Create a deep copy of this object.
A copy of this object.
- abstract classmethod read(file)¶
Parse a file (or file-like object).
- filefile-like object or str
The file to be read. Alternatively a file path can be supplied.
An instance from the respective
Filesubclass representing the parsed file.