get_atoms(packmol_system::PackmolSystem)Returns the atoms of the packed system, with their current coordinates.
InsideCylinder(center, axis, radius, length; weight)
InsideCylinder(; center, axis, radius, length, weight)Keeps the atoms inside a capped cylinder.
PackmolSystem(structure_types::Vector{<:StructureType}; output::String, kwargs...)Build a PackmolSystem directly from a vector of StructureTypes (see structure_type), without going through an input file.
packmol(input_file::String; options...)
packmol(packmol_system::PackmolSystem; options...)
packmol(
system::SolutionBoxUS;
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)
packmol(
system::SolutionBoxUSC;
concentration::Number,
concentration_units::Union{Nothing,String} = nothing,
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)
packmol(
system::SolutionBoxUWI;
ionic_concentration::Number=0.15u"mol/L",
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)
packmol(
system::Membrane;
output="membrane.pdb",
kwargs...,
)
packmol(system::MembraneProtein; output = "membrane_protein.pdb", kwargs...)Read a Packmol input file, run the packing optimization, and write the output.
structure_type(filename; number, constraints=Constraint[], tolerance=2.0, radius=nothing,
fixed=nothing, center=:none, residue_numbering=-1, D=3, T=Float64)Build a StructureType for number copies of the molecule read from the PDB file filename, without going through an input file.
packmol(system::MembraneProtein; output = "membrane_protein.pdb", kwargs...)Builds and packs a membrane protein system, without writing an input file (as write_packmol_input followed by packmol).
packmol(
system::Membrane;
output="membrane.pdb",
kwargs...,
)Builds and packs a lipid membrane system, without writing an input file.
packmol(
system::SolutionBoxUSC;
concentration::Number,
concentration_units::Union{Nothing,String} = nothing,
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)Builds and packs a Solute + Solvent + Cossolvent system, without writing an input file.
packmol(
system::SolutionBoxUS;
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)Builds and packs a Solute + Solvent system, without writing an input file.
packmol(
system::SolutionBoxUWI;
ionic_concentration::Number=0.15u"mol/L",
output="system.pdb",
box_sides::AbstractVector{<:Number},
margin::Number,
pbc::Symbol = :cubic,
kwargs...,
)Builds and packs a Solute + Water + Ions system, without writing an input file.