Code Monkey home page Code Monkey logo

mdanalysis's Introduction

MDAnalysis Repository README

Build Status Coverage Status [*]

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

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())

There are also a number of tutorials on the MDAnalysis homepage that explain how to conduct RMSD calculations, Alignment and more features of MDAnalysis.

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.)

Guide for Developers

To setup a development environment and run the testsuite you can use this guide. If you are a new developer who would like to start contributing to MDAnalysis as a start you can increase our code coverage, the guides explain how to find uncovered code.

[*]build: Unit testing is for the whole package; coverage is shown for the core library modules and the analysis modules (which excludes MDAnalysis.visualization at the moment).

mdanalysis's People

Contributors

orbeckst avatar richardjgowers avatar kain88-de avatar jbarnoud avatar jdetle avatar dotsdl avatar tylerjereddy avatar mnmelo avatar wouterboomsma avatar mtiberti avatar nmichaud avatar seb-buch avatar denniej0-2 avatar sseyler avatar jandom avatar alejob avatar vedantrathore avatar tongpu avatar khuston avatar danielparton avatar mattiafelice-palermo avatar tbengtsen avatar quantifiedcode-bot avatar andysomogyi avatar zyxue avatar utkbansal avatar comcon1 avatar ivirshup avatar rbrtdlgd avatar saxenauts avatar

Watchers

James Cloos avatar Sang Young Noh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.