-
Notifications
You must be signed in to change notification settings - Fork 1
Internal_file_formats
Jorge edited this page Jan 8, 2022
·
1 revision
The BGCtoolkit makes use of objects of the BGC, BGCCollection and BGCProtein classes from BGClib. Currently, these objects are stored on disk by simple object serialization using Python's Pickle module. For example:
bgc = BGC("myfile.gbk")
with open("myfile.bgc", "wb") as f:
pickle.dump(bgc, f)