Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    MDAnalysis 0.7.6 / 0.7.7 RC1

    Download button

    No screenshots available
    Downloads: 165  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Naveen Michaud-Agrawal | More programs
    GPL / FREE
    December 21st, 2012, 12:27 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    MDAnalysis description

    A Python library to analyze and manipulate molecular dynamics trajectories

    MDAnalysis is an object-oriented Python toolkit to analyze molecular dynamics trajectories generated by CHARMM, Gromacs, LAMMPS, NAMD or Amber.

    It allows one to read molecular dynamics trajectories and access the atomic coordinates through numpy arrays. This provides a flexible and relatively fast framework for complex analysis tasks. In addition, CHARMM-style atom selection commands are implemented. Trajectories can also be manipulated (for instance, fit to a reference structure) and written out.

    A typical usage pattern is to iterate through a trajectory and analyze coordinates for every frame. In the following example the end-to-end distance of a protein and the radius of gyration of the backbone atoms are calculated:

    import MDAnalysis
    from MDAnalysis.tests.datafiles import PSF,DCD # test trajectory
    import numpy.linalg
    u = MDAnalysis.Universe(PSF,DCD) # always start with a Universe
    nterm = u.s4AKE.N[0] # can access structure via segid (s4AKE) and atom name
    cterm = u.s4AKE.C[-1] # ... takes the last atom named 'C'
    bb = u.selectAtoms('protein and backbone') # a selection (a AtomGroup)
    for ts in u.trajectory: # iterate through all frames
     r = cterm.pos - nterm.pos # end-to-end vector from atom positions
     d = numpy.linalg.norm(r) # end-to-end distance
     rgyr = bb.radiusOfGyration() # method of a AtomGroup; updates with each frame
     print "frame = %d: d = %f Angstroem, Rgyr = %f Angstroem" % (ts.frame, d, rgyr)



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    dynamics trajectories | molecular trajectories | molecular | dynamics | trajectories

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM