INSANE¶
generate_bilayer_with_insane(lipids, solvent, box_length_xy, box_length_z, gro_bilayer_gen, top_bilayer)
¶
Generates a command for creating a lipid bilayer system using the INSANE tool.
This function constructs a command line instruction for the INSANE (INitiation of Solvated membrANEs) tool, which is used to generate a lipid bilayer system. The command includes specifications for the lipid and solvent compositions, the dimensions of the simulation box, and the output files for the generated system.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lipids |
LiquidMixture
|
A LiquidMixture object representing the lipid composition of the bilayer. |
required |
solvent |
LiquidMixture
|
A LiquidMixture object representing the solvent composition. |
required |
box_length_xy |
float
|
The length of the simulation box in the x and y dimensions, in nanometers. |
required |
box_length_z |
float
|
The height of the simulation box in the z dimension, in nanometers. |
required |
gro_bilayer_gen |
str
|
The filename for the generated GRO file of the bilayer system. |
required |
top_bilayer |
str
|
The filename for the generated topology (TOP) file of the bilayer system. |
required |
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
The command to be executed for generating the bilayer system with INSANE. |