Netiquette · Download · News · Gallery · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · Video Overview · DSSR v2.6.0 (DSSR Manual) · Homepage

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
DNA/RNA-protein interactions (SNAP) / Re: Implement Json
« Last post by kyle_ on June 13, 2025, 04:02:02 pm »
Hello,
I am using SNAP via `x3dna-dssr snap -i=my_file.pdb` and have found the output very useful, but am hoping to export it as JSON to automate some of my analysis. I see how I can run `x3dna-dssr -i=my_file.pdb --json`, and it seems that when `x3dna-snap` was packaged separately it had also a `--json` flag for this purpose (eg. https://x3dna.org/articles/h-bonds-reported-by-dssr-and-snap). Such a flag no longer seems to work with `x3dna-dssr snap -i=my_file.pdb --json`, so I am asking: does this JSON format functionality still exist for SNAP output? Perhaps it exists and this flag is not the way to access it.
22
It sounds like a good suggestion. I will think about it.
23
I see.  That makes sense where the slowdown is coming from.  For what its worth, in tools I've worked on in the past, when we need to do random-access trajectory reading, we first read through the whole trajectory once and make an index of the byte offsets for the start of each frame.  That way you can jump to any arbitrary frame without having to search through the file each time.
24
Thank you!  The --more option was what I was missing.
25
RNA structures (DSSR) / Re: Using --helical-axis with the --nmr option in DSSR
« Last post by xiangjun on June 12, 2025, 02:57:39 pm »
Hi,

Thanks for your kind words about DSSR. Please try the --more option which will output "helical-axis", "point-one" and "point-one" as documented in the DSSR User Manual. You could parse the corresponding output for each model and start from there to calculate the bending angle.

Hope this helps.

Xiang-Jun
26
Hi,

Thanks for using DSSR and for posting your question on the Forum. I am aware of the issue you are describing. The initial design of the --nmr option allows for flexibility of user-selected frames/models (e.g., --nmr=3+5+6:9 as described in the User Manual). For each frame/model, DSSR re-reads the input file from the beginning, which causes the slowdown as you observed. There is no memory leak, as you can verify with valgrind or similar tools.

DSSR Pro version allows for sequential processing of all the frames in a single pass, which leads to faster performance (scale linearly with the number of frames).

Best regards,

Xiang-Jun
27
When I analyze MD trajectories with the --nmr option, the runtime does not scale linearly with the number of frames as one might expect.  For the same structure here are some benchmarks:
n_framesruntime (hh:mm)
25001:00
50004:15
10000>15:00

This suggests to me that there is either some sort of memory leak or maybe the file writing is seeking to the end of the file at the end of each frame?

Here is my DSSR command:
Code: [Select]
~/software/x3dna-dssr -i=RNA_traj.pdb --nmr --json -o=dssr.json
DSSR version: 2.4.6-2024nov15
28
RNA structures (DSSR) / Using --helical-axis with the --nmr option in DSSR
« Last post by rkpoppleton on June 12, 2025, 08:27:14 am »
Hi!  Thanks for the excellent tool, DSSR has solved so many problems in my analysis of RNA MD simulations!  I am currently trying to calculate the angle between two helices in an RNA structure.  For any single configuration, I can use the --helical-axis option to get the helical axes as a .pdb file, which works very well.  However this file seems to be overwritten for every frame if you run DSSR on multiple frames with the --nmr option.  I looked around in the --json output, but I can't seem to find a per-model output there. 

Are the helix axes output anywhere and I just missed them, or is there something else I need to do to get the dssr-helicalAxes.pdb file on a per-model basis?
29
RNA structures (DSSR) / Re: Rebuilding circular Z-DNA
« Last post by xiangjun on June 03, 2025, 12:42:43 am »
Hi Di,

Thanks for sharing the detailed steps you used to build the Z-DNA circle. What you called Y-shift and Z-shift are Slide and Rise, respectively, in the literature. Slide is an important parameter in determining DNA shapes, see "A Novel Roll-and-Slide Mechanism of DNA Folding in Chromatin: Implications for Nucleosome Positioning" and "The shape of the DNA minor groove directs binding by the DNA-bending protein Fis". It is also crucial for producing circular DNA structures, as you noticed.

Given below is the DSSR commands I used to generate the ZDNA-circle.pdb file I posted previously, plus further steps to improve the visualization of the 3D structure.

Code: Bash
  1. # The starting point is your twist60-G84-scaled.pdb. Here only G on chain A is selected.
  2. x3dna-dssr -i=twist60-G84-scaled.pdb --select-chain=A -o=chainA.pdb
  3.  
  4. # Extract a GpC step in Z-DNA conformation, and re-orient it in the reference frame of the first G (on Chain A)
  5. x3dna-dssr fiber --z-dna --repeat=1 -o=fiber-GpC.pdb
  6. x3dna-dssr -i=fiber-GpC.pdb --frame=A.1 -o=frame___Z.pdb
  7.  
  8. # Now mutate each G to a Z-DNA GpC step (frame___Z.pdb). The --mutate-type option is new in DSSR v2.5.3
  9. #      "whole" to include backbone, and "raw-id" to keep the original identification of the atoms
  10. x3dna-dssr mutate -i=chainA.pdb --entry="name=G to=Z" -o=ZDNA-circle.pdb --mutate-type=whole-raw-id
  11.  
  12. # The following steps would lead to better visualization of 3D structures
  13. x3dna-dssr --order-residue -i=ZDNA-circle.pdb -o=temp_order.pdb --po-bond=3.6
  14. x3dna-dssr --renumber-residue -i=temp_order.pdb -o=temp_renum.pdb
  15. x3dna-dssr --connect-file -i=temp_renum.pdb -o=ZDNA-circle2.pdb --po-bond=3.6

The ZDNA-circle2.pdb and PyMOL-rendered image are attached. For completeness of this post, I have also attached twist60-G84-scaled.pdb from your previous post. With DSSR v2.5.3, users should be able to follow the above steps, and reproduce the results without any issues.

The overall strategy should be clear: in essence, the commands simply replace the 84 Gs with GpC dinucleotides steps in Z-DNA conformation. The method is generally applicable to other DNA/RNA modeling tasks, as demonstrated in my blogpost mentioned earlier "Mutate backbone of DNA and RNA structures". The integrative nature of DSSR is a key strength, and the automation it enables stands out when compared with alternative tools.

There are still areas that require refinement. I am more than willing to enhance the modeling capabilities in future releases of DSSR based on your feedback.

Best regards,

Xiang-Jun
30
RNA structures (DSSR) / Re: Rebuilding circular Z-DNA
« Last post by Di_Liu on June 02, 2025, 04:44:26 am »
Hi Xiang-Jun,

I've included my detailed procedure in this Evernote for your review: https://share.evernote.com/note/b6bd8283-bcad-58aa-0725-95dc61a9c6e0

I hope you can help explain why Y-shift is introduced when generating your B-DNA ring. Also, I think you would have a better idea than me of creating a Z-DNA ring with higher accuracy by taking into account the spatial relationship of the helical axis and the bp.

Thanks,

Di
Pages: 1 2 [3] 4 5 ... 10

Funded by the NIH R24GM153869 grant on X3DNA-DSSR, an NIGMS National Resource for Structural Bioinformatics of Nucleic Acids

Created and maintained by Dr. Xiang-Jun Lu, Department of Biological Sciences, Columbia University