Is it possible to get a .pdb output from 3dna blocview command or dssr cartoon block option?
The
blocview or DSSR cartoon-block images are in Raster3D .r3d format, which can be rendered with PyMOL. The various components in a .pdb file are converted to .r3d to show the backbone ribbons or the solid blocks. So, the answer is no because the .r3d format is required for the solid blocks.
I found your article which mentioned that with 3dna it is possible to get .alc file which can be converted to .pdb.
http://x3dna.org/highlights/rectangular-block-expressed-in-pdb-format
PyMOL does not recognize the .alc format, and Jmol support for .alc was added upon my request. So to facilitate the visualization of base rectangular blocks from 3DNA, I added the conversion from .alc to .pdb using explicit CONNCT records. That's what the blogpost you referred to is about.
However, when I check with 3dna v2.3 , it seems it will only give .png or .r3d output? With dssr I also got only .r3d output.
The .r3d format is the source from which the .png file is generated with render in Raster3D or PyMOL. Have a look of the blocview script, you will see how the pieces are tied together.
With DSSR, I've deliberately removed any direct dependency on third-party tools. So you get a .r3d output, which you can load into PyMOL and combined with other powerful PyMOL features. Did you know that Thomas Holder has written a PyMOL plugin to automate the process? See "
Dssr block" and my blogpost linked therein.
When I open the r3d file output in pymol, I find that pymol cannot do much modification on it (change color etc) so I'm hoping to get .pdb file.
With .r3d, you indeed cannot do much in PyMOL other than changing some rendering options (e.g., light, fog etc). However, the text file $X3DNA/config/raster3d.par contains configurations for the coloring of the base blocks, as shown below:
1.000 0.000 0.000 # A red [255 0 0]
1.000 1.000 0.000 # C yellow [255 255 0]
0.000 1.000 0.000 # G green [0 255 0]
0.000 0.154 0.000 # I dark green [0 100 0]
0.000 0.000 1.000 # T blue [0 0 255]
0.000 1.000 1.000 # U cyan [0 255 255]
0.100 0.100 0.100 # X
1.000 1.000 1.000 # fill color white [255 255 255]
In DSSR, the coloring of the base blocks are fixed right now. However, other components can be easily manipulated in PyMOL.
If you can provide details on what you want to achieve, I may be able to offer more concrete help.
Along the line, there is a short Perl script
$X3DNA/perl_scripts/block_atom that combines base blocks with atomic representation.
HTH,
Xiang-Jun