Skip to content

types

Shared type declarations for structure modules.

CifOutputFormat = Literal['.cif', '.cif.gz'] module-attribute

Supported output formats for CIF conversion.

StructureFileExtensions = Literal['.pdb', '.pdb.gz', '.ent', '.ent.gz', '.cif', '.cif.gz', '.bcif', '.bcif.gz'] module-attribute

Type of supported structure file extensions.

StructureMethod = Literal['EM', 'NMR', 'Predicted', 'X-ray', 'Other'] module-attribute

Represents the method used to determine the structure.

cif_output_formats = set(get_args(CifOutputFormat)) module-attribute

Set of valid CIF conversion output formats.

valid_structure_file_extensions = set(get_args(StructureFileExtensions)) module-attribute

Set of valid structure file extensions.