save_structure
#
- biotite.structure.io.save_structure(file_path, array, **kwargs)[source]#
Save an
AtomArray
or class`AtomArrayStack` to a structure file without the need to manually instantiate aFile
object.Internally this function uses a
File
object, based on the file extension.- Parameters:
- file_pathstr
The path to structure file.
- arrayAtomArray or AtomArrayStack
The structure to be saved.
- kwargs
Additional parameters will be passed to the respective set_structure method.
- Raises:
- ValueError
If the file format (i.e. the file extension) is unknown.
Gallery#
Assembly of a straight peptide from sequence
Assembly of a straight peptide from sequence
Identification of lipid bilayer leaflets
Identification of lipid bilayer leaflets
Visualization of normal modes from an elastic network model
Visualization of normal modes from an elastic network model
Biological assembly of a structure
Biological assembly of a structure