Repository navigation
v100.1.0
Packmol v100.1.0
Version 100.1.0
Polymers: chains of rigid fragments (the monomers of a polymer)
that turn about the bonds between them. In input files, the structure block lists the
fragments withfragment <natoms>lines, alone or inrepeat <n> ... end repeat
blocks. Eachfragmentline is followed by its bonds to the next fragment (rotatable <a> <b>, with the bonds from CONECT records orbond_distance), or by general links
between atoms (link <a> <b> [d0 [k [w]]]).cycliccloses the chain. In Julia, the
same withflexible_structure_type(file; fragments)andfragment. The polymers are
packed first as rigid molecules, then released.Rotatable bonds:
rotatable <i> <j> ...in a structure block
cuts the molecule into rigid fragments at those bonds, linked such that they turn about
the bonds only. The bonds are those of the CONECT records, or computed from the
distances (bond_distance <d>). In Julia,flexible_structure_type(file; rotatable).use_compression [<fraction> [<step>]](a keyword
argument in Julia): packs the system at a fraction of its density (default 0.5), with the
constraints and the periodic cell expanded, and compresses it in adaptive steps to the
density of the input, for systems too dense to pack from a random placement. A step that
does not converge is relaxed (expanded below the last converged density, keeping its
rearrangements, and packed) before the compression resumes with half the step; a packing
at the low density that does not converge is tried again at half that density, up to
three times. Fixed molecules are scaled with the geometry (the coordinates of their atoms
and their radii), and restored at the end. All periodic cells are supported; not with
restart_fromorvoxel_place.rotatable all(Julia:flexible_structure_type(...; rotatable = :all)):
every rotatable bond of a molecule, found from its bonds: not in rings, between heavy
atoms with other heavy neighbors, and single for sure from the numbers of bonds of the
atoms (bonds between two carbon or nitrogen atoms with fewer than four bonds do not
turn, but those between aromatic rings). For all-atom structures with all their hydrogens.The bad molecules moved during the packing (movebad) are placed
at the best of 20 random positions that satisfy their constraints, the one of least overlap
with the other molecules, instead of at the first one. Polymers and molecules with rotatable
bonds whose packing stalls (20 loops without fewer bad molecules) are placed again whole, in
the conformation of their structure file, at the best of 500 positions. A budding vesicle of
5765 flexible POPC lipids, which did not converge, packs; the lignin particle converged in all
runs of the validation (2 of 3 before).CONTRIBUTING.md: the guidelines for contributions, and the checks a
pull request must pass (the test suite, the executable, the documentation, and the
validation on the large tests of changes of the packing heuristics).Documentation: the tutorial "Lignin particle in acetone and water": 70
flexible oligomers of spruce lignin (built with LigninBuilder), withrotatable all,
packed by compression at 1.30 g/cm³, then solvated; and dispersed in the solvent.Documentation: the flexible molecules (rotatable bonds, polymers) and the
packing by compression in "New in Packmol.jl" of the home page.Documentation: the tutorial "Polymer-capped gold nanoparticle": 57
flexible chains of thiol-terminated polystyrene (all atoms) bound to a fixed gold core, in
toluene, packed by compression around the core.Documentation: the tutorial "Biomolecular condensate", with chains of
(VPGVG)₂₀ (SIRAH) in water, as a homogeneous mixture and as a droplet at 400 mg/mL, and the
pages "Polymers" (Structure blocks) and "Packing by compression".Documentation: the overview of the tutorials links the classic examples
to the first paper of Packmol (2003).Documentation: a "See also" section in the introduction (related packages
and contact).The error of a
rotatablebond whose atoms are not bonded
says why: not in the CONECT records, or farther thanbond_distance(with their
distance). The docs state that the atom indices count from 1, by position in the file.
bond_distancewithout rotatable bonds is no longer an error (it has no effect).
Merged pull requests:
- Docs: "See also" in the introduction (#131) (@lmiq)
- Flexible molecules (polymers, rotatable bonds) and packing by compression (#136) (@lmiq)
- Rotatable bonds: clearer errors; bond_distance without rotatable bonds allowed (#138) (@lmiq)
- rotatable all; tutorial: lignin particle in acetone and water (#139) (@lmiq)
- Compression: relax failed steps (breathing); retry the low-density packing (#140) (@lmiq)
- movebad: the best of 20 positions by overlap; re-placement of stalled polymers (#142) (@lmiq)
- Flexible molecules: flexible_structure_type, FlexibleStructureType and fragment (#143) (@lmiq)
- Release 100.1.0 (#144) (@lmiq)