Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    MDAnalysisTests 0.7.5.1

    Download button

    No screenshots available
    Downloads: 62  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
    February 17th, 2012, 20:37 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    MDAnalysisTests 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, NAMD, Gromacs, LAMMPS, 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:

    molecular dynamics | molecular trajectories | Python library | molecular | dynamics | trajectories



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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