create_database_from_structures#

biotite.application_v2.mmseqs.create_database_from_structures(app: FoldseekApp, structures: Mapping[str, AtomArray], **kwargs: Any) → SequenceDatabase[FoldseekApp][source]#

Create a Foldseek database from structures.

Parameters:
appFoldseekApp

The application to use.

structuresmapping of str to AtomArray

Structure identifiers mapped to the respective structure. Identifiers must not contain whitespace or a path separator. Missing b_factor and occupancy annotations are filled with default values, as Foldseek requires those columns.

**kwargs

Additional command line options passed to createdb.

Returns:
databaseSequenceDatabase

The created 3Di database. Each chain becomes a separate entry, identified by the structure identifier and the chain ID, separated by an underscore.