Hi mary,
Thanks for providing further details. Now I understand what you want to achieve.
Does 3DNA correct the orientation of pdb automatically?
No, 3DNA does correct the orientation of pdb
automatically.
The
stack2img command is intended to be used with the
analyze-generated 'stacking.pdb' file, as shown in the example from
stack2img -h. It is not a general purpose grogram to set an arbitrary structure in top view. The DNA image (within x3dna_v1.5.pdf) you attached is a fiber model that is already in top view.
If you can find the helical axis, as in the case of 'dne_l.pdb', you could follow recipe #4 ($X3DNA/R4_4way_junction) described in the the 2008 3DNA
Nature Protocols paper. Alternatively, you may find
blcoview helpful.
You should also look elsewhere (e.g., PyMOL, Chimera, etc) for such functionality.
Xiang-Jun