Netiquette · Download · News · Gallery · Homepage · DSSR · Web-DSSR · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL

Author Topic: A modified 3DNA parser for MD trajectory analysis  (Read 4777 times)

Offline temizna

  • with-posts
  • *
  • Posts: 19
    • View Profile
A modified 3DNA parser for MD trajectory analysis
« on: January 07, 2011, 06:50:10 pm »
I am attaching a python script that my be of use for trajectory analysis. I based this Python script on the code of Yurong's X3DNA parser.

First run nmr_strs program on your trajectory (save trajectory as one pdb file)
The python program parses the .out files generated by nmr_strs
>  nmr_strs --pdbfile test.pdb
> csh mv.txt
     script to rename files:
     you will need to rename the *.out files to "file.NUM.out" where NUM is the snapshot number from nmr_strs output.
     mv testNUM.out test.NUM.out
     where NUM is the snapshot number.

> python file NUMofSNAPSHOTS NUMofBP
> python test 20 12
usage is: python file NUMofSNAPSHOTS NUMofBP
The test file contains 100 ps snapshots from a 2 nanosecond simulation trajectory of a DNA hairpin. (20 snapshots)
NUMofSNAPSHOTS is the total number of snapshots read in nmr_strs program
NUMofBP is the number of base pairs identified for the trajectory.

This will create csv files along the trajectory for each base pair (as columns excluding the end base pair where the values are 0 or not calculated)

You can open csv files with excel or any other program.

Hope this helps,

Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1524
    • View Profile
    • 3DNA homepage
Re: A modified 3DNA parser for MD trajectory analysis
« Reply #1 on: January 07, 2011, 09:30:39 pm »
Hi Alpay,

Thanks for your contribution! Hopefully, more 3DNA users would share their experiences through the forum.

Dr. Xiang-Jun Lu [律祥俊]

* Click "NOTIFY" to receive email notifications
* Original Poster, please provide a summary
* DSSR 2.0 has superseded the 3DNA v2.4 suite


Created and maintained by Dr. Xiang-Jun Lu [律祥俊], Principal Investigator of the NIH grant R01GM096889
Dr. Lu is currently affiliated with the Bussemaker Laboratory at the Department of Biological Sciences, Columbia University.