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.
ordered_structure_file_extensions = get_args(StructureFileExtensions)
module-attribute
¶
Ordered structure file extensions in preferred lookup/write precedence.
valid_structure_file_extensions = frozenset(ordered_structure_file_extensions)
module-attribute
¶
Set of valid structure file extensions.