Observed since 20 Oct, 17:30 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Pre/post-processing and analysis toolkit for ABINIT-MP Fragment Molecular Orbital calculations
A Python toolkit for pre-processing, post-processing, and analysis of Fragment Molecular Orbital (FMO) calculations with ABINIT-MP.
getifiepieda, anlfmo, cpf2ifielist, getcharge)cpfmanager, convertcpf, generate_difie, log2cpf)generateajf, pdb2fmo, udf2fmo, setfmo, addsolvfrag)readcif) with symmetry operationslog2config, ajf2config)pdbmodify, ajfserial).gro, .top, .mdp, .itp)--from-top mode)transfer), or restore a neutralized UDF's charges to a target integer formal charge (restore)geomopt)amorphous, build_amorphous.py)--mol), or PubChem CID / name (--pubchem_cid / --pubchem_name, auto-downloads MMFF94 3D SDF; raises PubChemNo3DError when no 3D conformer exists)md/run_all.sh drives the MD run; md/wrap_pbc.sh post-processes
trajectories with gmx trjconv -pbc mol -ur compact for VMD-friendly
*_pbc.xtc / _pbc.gro outputspip install abmptools
Updating:
pip install --upgrade abmptools
Checking what you actually got — run this outside the repository, since a source tree in the current directory shadows the installed package:
cd /tmp
pip show abmptools | head -2
python -c "import abmptools; print(abmptools.__file__)"
If Location and __file__ disagree, another copy is winning.
Optional extras declare the dependencies a given subpackage needs, e.g.
pip install 'abmptools[amorphous]'. Extras are declarations only — OpenMM and
AmberTools are not practical to install through pip, so the OpenFF stack used by
abmptools.amorphous goes in through conda-forge.
docs/INSTALL.md is the single source for setup, covering Linux / WSL2 / Windows / macOS in one document: which extra dependency each feature needs, the one-line conda command per platform, and the two things that differ on native Windows.
docs/overview.md is the tour of what the package does; docs/dev_quickstart.md covers the conventions to follow when adding to it.
Editable install is recommended for day-to-day use and development:
pip install -e .
Non-editable install (e.g. for production deployment):
pip install .
--user is usually unnecessary; pip handles both virtual environments and system Python appropriately.
pytest tests/ -v # 927 tests collected (2.12.0 時点)
pytest tests/ -v -k molcalc # specific module
pytest tests/test_regression.py -v # regression tests (60 bundled + 16 gated)
See tests/TEST_COVERAGE.md for details.
tests/test_regression.py compares current CLI output against reference
fixtures stored in tests/regression/reference/ (generated from the
pre-refactor state). This guards against behavior drift during refactoring.
Covered tools: generateajf, log2cpf, convertcpf, udf2gro, gro2udf,
and getifiepieda.
Developer-only tests: the 16 getifiepieda regression cases require
external sample data (the internal abmptools-sample repository) at:
../abmptools-sample/sample/getifiepieda/
├── 6lu7-multi-fmolog/ (extracted from abmptools-fmolog-sample.tar.bz2)
├── cd7-fmolog/
├── 6m0j-pb-fmolog/
└── xyzfile/
These tests are automatically skipped when the data is not available, so public CI runs are unaffected.
Each sample/ subdirectory contains input data and a run.sh / run_sample.sh script:
# FMO / IFIE / CPF samples
cd sample/generateajf && bash run.sh
cd sample/log2cpf && bash run.sh
cd sample/generate_difie/TrpCage && bash run.sh
cd sample/convertcpf && bash run.sh
# Amorphous structure builder samples — see sample/amorphous/README.md for the full index
cd sample/amorphous/pentane_benzene && bash run_sample.sh # pentane / benzene mixture (SMILES)
cd sample/amorphous/ketoprofen && bash run_sample.sh # ketoprofen (SMILES)
cd sample/amorphous/ketoprofen_pubchem && bash run_sample.sh # ketoprofen via PubChem 3D SDF (CID 3825)
cd sample/amorphous/mixture_json && bash run_sample.sh # multi-component via JSON config
See docs/amorphous_tutorial.md for the hands-on walk-through and sample/amorphous/ketoprofen/README.md for an annotated run log of the ketoprofen build.
abmptools covers the generic layer: file formats, established-method
utilities, and the analysis and conversion tools around ABINIT-MP. Workflows
for methods still under active development are maintained separately, in a
private package (moldeck) that builds on this one. It currently covers:
| Area | What it automates |
|---|---|
| DPD / coarse-grained input | Building Cognac UDF and OCTA viewer inputs from a segmented structure, assigning interaction parameters, composing systems |
| FMO fragmentation | Proposing fragment splits for arbitrary molecules and exporting segment_data |
| Martini 3 builders | Peptide systems, and peptide-membrane PMF via umbrella sampling |
| Organic-crystal FMO | CIF to FMO inputs, lattice energy and deformation |
| Enhanced sampling / binding free energy | GENESIS gREST_SSCR and MM/GBSA end to end |
| Hydrogen-bond analysis | Detection, per-functional-group roles, lifetimes, and trajectory colouring |
| Peptide formulation | Solvated peptide + excipient systems end to end: build, equilibrate, then aggregation, contacts, secondary structure, SASA and release PMF |
| FMO interaction maps | Ligand-pocket contribution maps from IFIE/PIEDA |
The dependency runs one way — those workflows import abmptools, never the
reverse — so nothing here depends on having them.
It is not publicly distributed: it is proprietary and handed out individually, on request and subject to approval. Contact the author below if you have a use for it.
If you use ABMPTools in academic or scientific work, please cite the
project. GitHub's "Cite this repository" button on the repo home page
generates BibTeX / APA / etc. from CITATION.cff.
A peer-reviewed publication and Zenodo DOI will be added on the first release tag; until then, use:
Okuwaki, K. (2026). ABMPTools: a Python toolkit for ABINIT-MP Fragment Molecular Orbital pre/post-processing. https://github.com/kojioku/abmptools
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.19.0 | 6 Oct 2026 | 14 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:30 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:79069a0632dd1539e124ad0c754b0ee3bd152c124e4f12bf8636d8bed0280d63