unleap

User guide

  • Installation
    • Requirements
    • Install
    • Building these docs
  • Quick start
    • Single ligand, auto-detected
    • RBFE dual topology
    • Straight from a trajectory
    • amberstudio ABFE job
    • Example output
    • Using the results
  • Options
    • Selecting the ligand
    • Choosing the base force field
    • Hydrogen mass repartitioning
    • Exit codes
  • Python API
    • Arguments
    • Results
    • Validation and scratch files
    • Already-loaded structures
    • Logging
  • Output files
    • Precision
  • Validation
    • Reading a failure
    • Tested on
  • Limitations and troubleshooting
    • Limitations
    • Troubleshooting

Developer guide

  • Architecture
    • Layout
    • Data flow
    • State between steps
  • Amber and ParmEd behaviors
    • 1. Structure slicing breaks AmberParm
    • 2. ParmEd’s frcmod writer loses precision
    • 3. leap’s DEGTORAD is 0.0174533
    • 4. tleap may store an improper reversed
    • 5. Wildcard and explicit impropers give different atom orders
    • 6. from_structure keys impropers under every permutation
    • 7. tleap requires MASS and NONBON together
    • 8. Coordinate reading
    • 9. The lib stores coordinates at about 1e-4 Å
    • 10. RDKit can’t read GAFF-typed mol2
  • Diff frcmod matching rules
    • Base scoring
    • What the diff cannot express
  • Testing
    • Unit and integration tests
    • Real-data sweep
    • Docs build
  • Extending
    • New base force fields
    • Multi-residue or covalent ligands
    • NBFIX
    • Conventions

Reference

  • API reference
    • UnleapError
    • extract_ligand()
    • extract_ligand_from_structure()
    • LigandParams
      • LigandParams.name
      • LigandParams.resname
      • LigandParams.mask
      • LigandParams.n_atoms
      • LigandParams.net_charge
      • LigandParams.frcmod
      • LigandParams.full_frcmod
      • LigandParams.lib
      • LigandParams.mol2
      • LigandParams.sdf
      • LigandParams.tleap_in
      • LigandParams.base
      • LigandParams.base_scores
      • LigandParams.hmr_undone
      • LigandParams.diff_counts
      • LigandParams.checks
      • LigandParams.validated
      • LigandParams.warnings
      • LigandParams.report
      • LigandParams.structure
      • LigandParams.ok
      • LigandParams.files()
      • LigandParams.write()
      • LigandParams.to_dict()
    • CheckResult
      • CheckResult.name
      • CheckResult.ok
      • CheckResult.details
      • CheckResult.to_dict()
    • Python API internals
      • LigandParams
      • pick_base()
      • extract_ligand()
      • extract_ligand_from_structure()
    • Command line
      • build_parser()
      • run()
      • main()
    • Selection
      • ligand_mask()
    • Extraction
      • Ligand
      • read_coordinates()
      • load_parm()
      • load()
      • check_parm()
      • strip()
      • undo_hmr()
      • check_type_consistency()
    • frcmod
      • improper_atoms()
      • full_params()
      • lookup_dihedral()
      • lookup_improper()
      • same_dihedral()
      • compare_to_base()
      • count_terms()
      • score_base()
      • diff_params()
      • render()
      • write()
      • LEAP_DEG_CORRECTION
    • OFF library
      • render()
      • write()
    • mol2 / SDF
      • bond_orders()
      • render_sdf()
      • write_sdf()
      • render()
      • write()
    • Validation
      • CheckResult
      • save_stripped()
      • compare_terms()
      • compare_energies()
      • run()
    • AmberTools helpers
      • BaseFF
      • amberhome()
      • parm_dir()
      • preset_bases()
      • resolve_base()
      • run_tleap()
      • sander_energy()
  • Changelog
    • 0.2.1
    • 0.2.0
    • 0.1.0
unleap
  • Search


© Copyright 2026, Zeke Piskulich.

Built with Sphinx using a theme provided by Read the Docs.