Skip to main content

====== AMOFMS

.. start-description

An Automated Mapping and Optimization Framework for Molecular Simulation

.. start-badges

|mdanalysis| |gromacs| |conda| |pypi| |docs| |supported-versions| |license|

.. |mdanalysis| image:: https://img.shields.io/badge/powered%20by-MDAnalysis-blue.svg?logoWidth=16&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD+XwCY/fEAkf3uAJf97wGT/a+HfHaoiIWE7n9/f+6Hh4fvgICAjwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACT/yYAlP//AJ///wCg//8JjvOchXly1oaGhv+Ghob/j4+P/39/f3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJH8aQCY/8wAkv2kfY+elJ6al/yVlZX7iIiI8H9/f7h/f38UAAAAAAAAAAAAAAAAAAAAAAAAAAB/f38egYF/noqAebF8gYaagnx3oFpUUtZpaWr/WFhY8zo6OmT///8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAn46Ojv+Hh4b/jouJ/4iGhfcAAADnAAAA/wAAAP8AAADIAAAAAwCj/zIAnf2VAJD/PAAAAAAAAAAAAAAAAICAgNGHh4f/gICA/4SEhP+Xl5f/AwMD/wAAAP8AAAD/AAAA/wAAAB8Aov9/ALr//wCS/Z0AAAAAAAAAAAAAAACBgYGOjo6O/4mJif+Pj4//iYmJ/wAAAOAAAAD+AAAA/wAAAP8AAABhAP7+FgCi/38Axf4fAAAAAAAAAAAAAAAAiIiID4GBgYKCgoKogoB+fYSEgZhgYGDZXl5e/m9vb/9ISEjpEBAQxw8AAFQAAAAAAAAANQAAADcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjo6Mb5iYmP+cnJz/jY2N95CQkO4pKSn/AAAA7gAAAP0AAAD7AAAAhgAAAAEAAAAAAAAAAACL/gsAkv2uAJX/QQAAAAB9fX3egoKC/4CAgP+NjY3/c3Nz+wAAAP8AAAD/AAAA/wAAAPUAAAAcAAAAAAAAAAAAnP4NAJL9rgCR/0YAAAAAfX19w4ODg/98fHz/i4uL/4qKivwAAAD/AAAA/wAAAP8AAAD1AAAAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALGxsVyqqqr/mpqa/6mpqf9KSUn/AAAA5QAAAPkAAAD5AAAAhQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkUFBSuZ2dn/3V1df8uLi7bAAAATgBGfyQAAAA2AAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0AAADoAAAA/wAAAP8AAAD/AAAAWgC3/2AAnv3eAJ/+dgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9AAAA/wAAAP8AAAD/AAAA/wAKDzEAnP3WAKn//wCS/OgAf/8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQAAANwAAADtAAAA7QAAAMAAABUMAJn9gwCe/e0Aj/2LAP//AQAAAAAAAAAA :alt: Powered by MDAnalysis :target: https://www.mdanalysis.org

.. |gromacs| image:: https://img.shields.io/badge/simulation%20with-GROMACS-orange.svg :alt: Powered by GROMACS :target: https://gromacs.org

.. |conda| image:: https://img.shields.io/badge/conda--forge-v0.11.0-orange :alt: Conda-fogre latest release :target: https://anaconda.org/conda-forge/amofms

.. |pypi| image:: https://img.shields.io/badge/pypi-v0.11.0-orange :alt: PyPI Package latest release :target: https://pypi.org/project/amofms

.. |docs| image:: https://readthedocs.org/projects/amofms/badge/?style=flat :target: https://readthedocs.org/projects/amofms :alt: Documentation Status

.. |supported-versions| image:: https://img.shields.io/badge/python-3.9%7C3.10%7C3.11-blue :alt: Supported versions :target: https://pypi.org/project/amofms

.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg :alt: License AMOFMS is free software licensed under the MIT License. :target: https://github.com/dropletsimuli/amofms/LICENSE

.. end-badges

Overview

AMOFMS (Automated Mapping and Optimization Framework for Molecular Simulation) is a versatile tool designed to streamline the creation and optimization of coarsed grained force field (CGFF) for molecular simulations. With its automated mapping function, AMOFMS simplifies the process of generating coarse-grained models by mapping fine-grained structures, reducing manual effort and increasing accuracy. Built on top of powerful libraries like MDAnalysis <https://www.mdanalysis.org/>, NumPy <https://numpy.org/> and SciPy <https://www.scipy.org/>__ and conducting simulations on GROMACS <https://www.gromacs.org>__, the tool offers comprehensive optimization capabilities, allowing users to fine-tune a wide range of molecular parameters for precise simulations and improved force fields. Moreover, AMOFMS provides flexibility and customization options, enabling users to define custom objective functions and parameter equivalences to tailor the optimization process to their specific research needs. Through its user-friendly interface and powerful functionality, AMOFMS empowers researchers to accelerate the development of force field models and advance molecular simulation studies.

Installation

  1. The easiest way to install AMOFMS along with its dependencies is through the conda-forge <https://anaconda.org/conda-forge>__ channel of Conda <https://docs.conda.io/en/latest/index.html>__::

    conda config --add channels conda-forge conda create -n amofms -c conda-forge python=3.9 amofms conda activate amofms

  2. It's also possible to install AMOFMS from the Python Package Index <https://pypi.org/>__. You can do this using pip::

    pip install amofms

Alternatively, you can also install the in-development version with::

pip install https://github.com/dropletsimuli/amofms/archive/main.zip

Citing

If you use AMOFMS in your research, please cite it as follows:

Zhixuan Zhong, Lifeng Xu, Jian Jiang*. A Neural-Network-Based Mapping and Optimization Framework for High-Precision Coarse-Grained Simulation. 2024.

BibTeX entry:

.. code-block:: bibtex

@software{2024amofms,
  author = {Zhixuan Zhong},
  title = {AMOFMS: Automated Mapping and Optimization Framework for Molecular Simulation},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  url = {{https://github.com/JiangGroup/amofms}},
  version = {0.1.0}
}

Please also cite MDAnalysis <https://www.mdanalysis.org/pages/citations/>__, on which AMOFMS is built.

We extend our gratitude to the authors of DSGPM for providing the original source code <https://github.com/rochesterxugroup/DSGPM>__, which served as a foundation for the development of DSGPM-TP. Users of DSGPM-TP are kindly requested to cite both the original DSGPM publication and the DSGPM-TP publication to acknowledge the contributions of both works.

.. code-block:: bibtex

@Article{D0SC02458A,
author ="Li, Zhiheng and Wellawatte, Geemi P. and Chakraborty, Maghesree and Gandhi, Heta A. and Xu, Chenliang and White, Andrew D.",
title  ="Graph neural network based coarse-grained mapping prediction",
journal  ="Chem. Sci.",
year  ="2020",
pages  ="-",
publisher  ="The Royal Society of Chemistry",
doi  ="10.1039/D0SC02458A",
url  ="http://dx.doi.org/10.1039/D0SC02458A",
abstract  ="The selection of coarse-grained (CG) mapping operators is a critical step for CG molecular dynamics (MD) simulation. It is still an open question about what is optimal for this choice and there is a need for theory. The current state-of-the art method is mapping operators manually selected by experts. In this work{,} we demonstrate an automated approach by viewing this problem as supervised learning where we seek to reproduce the mapping operators produced by experts. We present a graph neural network based CG mapping predictor called Deep Supervised Graph Partitioning Model (DSGPM) that treats mapping operators as a graph segmentation problem. DSGPM is trained on a novel dataset{,} Human-annotated Mappings (HAM){,} consisting of 1180 molecules with expert annotated mapping operators. HAM can be used to facilitate further research in this area. Our model uses a novel metric learning objective to produce high-quality atomic features that are used in spectral clustering. The results show that the DSGPM outperforms state-of-the-art methods in the field of graph segmentation. Finally{,} we find that predicted CG mapping operators indeed result in good CG MD models when used in simulation."}

.. end-description

Full documentation

Head to amofms.readthedocs.io <https://amofms.readthedocs.io/en/stable/>__, where you will find the full documentation of AMOFMS's API as well as examples of how to use the analysis tools.

Metadata

Release files for AMOFMS 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AMOFMS 1.0
File Size Uploaded
AMOFMS-1.0.tar.gz 10.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for AMOFMS 1.0
File Interpreter ABI Platform
AMOFMS-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 MB

Release files / AMOFMS-1.0.tar.gz

Download URL AMOFMS-1.0.tar.gz
Size 10.3 MB
Tags Source
SHA-256 checksum
How to use checksums
80abedb5d34405a5d4b47446f0f11799be68c04548ec9ace6a5b3bb75c3877bb
BLAKE2b-256 checksum
How to use checksums
ed0ad7c027c13a06c577ab63d8ed3fdf0aecfe441b1a71a8ecb170975cefb5e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.0

Release files / AMOFMS-1.0-py3-none-any.whl

Download URL AMOFMS-1.0-py3-none-any.whl
Size 10.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
311667cc4073a2439685c202bbc7f7e2de6be0808041d7f7591a6782a5be0c2e
BLAKE2b-256 checksum
How to use checksums
9f9da8589aa6b4557164df7bbdf05d90c3730ae1b6ae7fadfdae01bfb1204656
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page