Write the set to a directory, creating it if needed.
Reached as annotation_set.io.save. The directory holds attrs.json, the annotations table, a features table when the set has features, and bases.json when it has bases; it reads back through dascore.annotations. Tables are CSV by default or parquet when requested; duration dimensions require parquet. Saving replaces stale parts and alternate-format files.
Parameters
Parameter
Description
annotations
The set to write.
path
The directory to write into.
format
The encoding the tables are written in: csv or parquet.
Returns
The directory written to, so a save reads straight back.