Skip to content

ashkurti/mdanalysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDAnalysis Repository README

Build Status Coverage Status1

Documentation (latest release) Documentation (development version) User Google Group Developer Google Group

MDAnalysis is a Python toolkit to analyze molecular dynamics trajectories generated by a wide range of popular simulation packages including DL_Poly, CHARMM, Amber, NAMD, LAMMPS, and Gromacs. (See the lists of supported trajectory formats and topology formats.)

import MDAnalysis as mda

# Load simulation results with a single line
u = mda.Universe('topol.tpr','traj.trr')

# Select atoms
ag = u.select_atoms('name OH')

# Atom data made available as Numpy arrays
ag.positions
ag.velocities
ag.forces

# Iterate through trajectories
for ts in u.trajectory:
    print ag.center_of_mass()

Source code

Source code is hosted in a git repository at

https://github.com/MDAnalysis/mdanalysis

and is available under the GNU General Public License, version 2 (see the file LICENSE).

This is the top level of the master repository. It contains

  1. the MDAnalysis toolkit source files in the directory :

    package/
  2. the unit tests together with any input files required for running those tests in the directory :

    testsuite/

The directory maintainer contains scripts only needed for maintaining releases and are not generally useful for the user or the typical developer. The vm directory contains configurations for virtual machines.

(For more details on the directory layout see Issue 87 on the MDAnalysis issue tracker.)


  1. build: Unit testing is for the whole package; coverage is shown for the core library modules (which excludes MDAnalysis.analysis and MDAnalysis.visualization at the moment). For more details and discussion see issue #286.

About

MDAnalysis is a Python library to analyze molecular dynamics trajectories.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 76.8%
  • C 18.5%
  • GAMS 4.0%
  • Other 0.7%