Options
unleap -p PARM -c CRD [--frame N] [--mask MASK | --resname NAME] [-o OUTDIR]
[--name NAME] [--base BASE] [--keep-masses] [--no-check]
Option |
Meaning |
|---|---|
|
Input topology ( |
|
Coordinates: ASCII |
|
Frame to use from a NetCDF trajectory. 0-based; |
|
Amber mask selecting the ligand residue, e.g. |
|
Select the ligand by residue name (shorthand for |
|
Output directory. Default |
|
Rename the residue/unit in the outputs. Default: keep the original name. |
|
Base force field for the diff frcmod: |
|
Do not undo hydrogen mass repartitioning. |
|
Skip the tleap/sander round-trip validation. |
Selecting the ligand
With neither --mask nor --resname, unleap picks the single residue that is not a standard
amino acid (including protonation variants and caps), nucleotide, water or ion. If there is more
than one candidate, for example the two ligands in an RBFE dual topology, it stops and lists them.
The selection must be exactly one whole residue that is not covalently bonded to anything outside the selection.
Choosing the base force field
--base auto scores gaff, gaff2 (2.2) and gaff211 by how many of the ligand’s terms each one
reproduces, and uses the best. The first line of the diff frcmod records which base it was
written against and the tleap line that loads it.
Base |
tleap line |
|---|---|
|
|
|
|
|
|
Pass --base explicitly if, for example, the system was built against an older gaff2 that you
have as a .dat file.
Hydrogen mass repartitioning
Production topologies often have HMR applied (H masses ≈ 3.024). unleap detects this and restores the original masses. Each H gets its type’s standard mass, and the excess goes back to the heavy atom it is bonded to, which reverses HMR exactly.
With --keep-masses the topology’s masses are kept as they are. That usually fails on HMR
systems: a ca carbon bonded to an H and one without an H end up with different masses, and
one frcmod atom type cannot hold both.
Exit codes
Code |
Meaning |
|---|---|
|
Files written; all validation checks passed (or |
|
Files written, but at least one validation check failed. Details in |
|
Input or setup error (message on stderr); nothing reliable was written. |