SequenceDB.close() — close an open database

close()
This will close any currently open database, freeing any memory used. (For a binary database, it will also release the HDF5 file handle.) After calling this function, the database will be empty.

Note that the database is automatically closed when its Python object is destroyed.