Skip to main content

A codebase for MD simulation setup and results analysis.

Project description

MDGO

PyPI - Downloads

Codacy Badge

Linting Test

An all-in-one code base for the classical molecualr dynamics (MD) simulation setup and results analysis.

1. Installation

1.1 Installing from PyPI

To install the latest release version of mdgo:

pip install mdgo

1.2 Installing from source code

Mdgo requires numpy, pandas, matplotlib, scipy, tqdm, statsmodels, pymatgen>=2022.0.9, pubchempy, selenium, MDAnalysis (version 2.0.0-dev0 prefered) and their dependencies.

Getting Source Code

If not available already, use the following steps.

  1. Install git, if not already packaged with your system.

  2. Download the mdgo source code using the command:

    git clone https://github.com/htz1992213/mdgo.git

Installation

  1. Navigate to mdgo root directory:

    cd mdgo

  2. Install the code, using the command:

    pip install .

  3. The latest version MDAnalysis==2.0.0.dev0 is recommended, you may download the source code of the latest MDAnalysis from github and install using pip to replace an existing version.

Installation in development mode

  1. Navigate to mdgo root directory:

    cd mdgo

  2. Install the code in "editable" mode, using the command::

    pip install -e .

  3. The latest version MDAnalysis==2.0.0.dev0 is recommended, you may download the source code of the latest MDAnalysis from github and install using pip to replace an existing version.

2. Features

  1. Retrieving compound structure and information from PubChem
    • Supported searching text:
      • cid, name, smiles, inchi, inchikey or formula
    • Supported output format:
      • smiles code, PDB, XML, ASNT/B, JSON, SDF, CSV, PNG, TXT
  2. Retrieving water and ion models
    • Supported water models:
      • SCP, SPC/E, TIP3P_EW, TIP4P_EW, TIP4P_2005
    • Supported ion models:
      • alkali, ammonium, and halide monovalent ions by Jensen and Jorgensen
      • alkali and halide monovalent ions by Joung and Cheatham
      • alkali and alkaline-earth metal cations by Åqvist
  3. Write OPLS-AA forcefield file from LigParGen
    • Supported input format:
      • mol/pdb
      • SMILES code
    • Supported output format:
      • LAMMPS(.lmp)
      • GROMACS(.gro, .itp)
  4. Write OPLS-AA forcefield file from Maestro
  5. Packmol wrapper
    • Supported input format:
      • xyz
      • Others pending...
  6. Basic simulation properties
    • Initial box dimension
    • Equilibrium box dimension
    • Salt concentration
  7. Conductivity analysis
    • Green--Kubo conductivity
    • Nernst--Einstein conductivity
  8. Coordination analysis
    • The distribution of the coordination number of single species
    • The integral of radial distribution function (The average coordination numbers of multiple species)
    • Solvation structure write out
    • Population of solvent separated ion pairs (SSIP), contact ion pairs (CIP), and aggregates (AGG)
    • The trajectory (distance) of cation and coordinating species as a function of time
    • The hopping frequency of cation between binding sites
    • The distribution heat map of cation around binding sites
    • The averaged nearest neighbor distance of a species
  9. Diffusion analysis
    • The mean square displacement of all species
    • The mean square displacement of coordinated species and uncoordinated species, separately
    • Self-diffusion coefficients
  10. Residence time analysis - The residence time of all species

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdgo-0.2.4.tar.gz (58.9 kB view details)

Uploaded Source

Built Distribution

mdgo-0.2.4-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

Details for the file mdgo-0.2.4.tar.gz.

File metadata

  • Download URL: mdgo-0.2.4.tar.gz
  • Upload date:
  • Size: 58.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for mdgo-0.2.4.tar.gz
Algorithm Hash digest
SHA256 f3aa923fdc311b3a6ee4199fdd317f96144adbf672ad0b43a7299beed53bdd5f
MD5 32bd9c0e608d2a202b057f07b3c49b10
BLAKE2b-256 a0c34b73393c68ed4cba83b37f74f32cf579721535e027537d5820fe98e2cbcc

See more details on using hashes here.

File details

Details for the file mdgo-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: mdgo-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for mdgo-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 adf881b432df6e3a5ca01dc7db6ca5658f13dbbb2c084cc3b8abb260d6448534
MD5 b34f01124b675419a195e1c817d69f33
BLAKE2b-256 806a051b64655eca551a66a04e1854311e67fd2d7c782f68f6ebcefd45324659

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page