Hi xiaoj12,
Thanks for using DSSR and for posting your questions on the 3DNA Forum. There are indeed many options in DSSR, which could be confusing to the uninitiated. Now for your specific questions:
x3dna-dssr --po4 --idstr=short -i=Frames1.pdb --get-hbonds -o=hbonds.txt > dssr.log
You do not need to specify
--po4 for getting output of hydrogen bonds. The
--get-hbonds option is independent of other DSSR functionality: as its name implies, it just outputs H-bonds. You specify the output the normal way, i.e. using the
-o (or
--output) option.
I wonder what the content displayed is during the processing and how to turn off displaying the processing status information ...
The diagnostic output such as "
N1.D.THY.3 0.122" are for information only. Here it is related to the identification of nucleotides (see the
DSSR paper for more info). You can ignore them. Or you can easily redirect such diagnostic messages (to
stderr) as below (note the use of
2>):
x3dna-dssr --idstr=short -i=Frames1.pdb --get-hbonds -o=hbonds.txt 2> dssr.log
3. Is there any better way to use dssr to analysis a trajectory. 4. Is it possible to have some flag like --get-multiplets, --get-stacks?
There is no direct facility in DSSR for analyzing MD trajectories. However, you may find the
--nmr option relevant, especially in combination with
--json. See my recent blog posts at
http://x3dna.org/posts-list/For extracting DSSR-derived H-bond info or other structural components (multiplets or stacks, etc) from a single structure, your best bet is the
--json option, as below:
x3dna-dssr --idstr=short --json -i=Frames1.pdb 2> msg | jq .hbonds
# Here is the output
[
{
"index": 1,
"atom1_serNum": 206,
"atom2_serNum": 244,
"donAcc_type": "standard",
"distance": 3.002,
"atom1_id": "O5'@THY7",
"atom2_id": "N2@GUA8",
"atom_pair": "O:N",
"residue_pair": "nt:nt"
}
]
x3dna-dssr --json -i=1ehz.pdb 2> msg | jq .multiplets
# Here is the output of three base triplets in tRNA (PDB entry 1ehz):
[
{
"index": 1,
"num_nts": 3,
"nts_short": "UAA",
"nts_long": "A.U8,A.A14,A.A21"
},
{
"index": 2,
"num_nts": 3,
"nts_short": "AUA",
"nts_long": "A.A9,A.U12,A.A23"
},
{
"index": 3,
"num_nts": 3,
"nts_short": "gCG",
"nts_long": "A.2MG10,A.C25,A.G45"
},
{
"index": 4,
"num_nts": 3,
"nts_short": "CGg",
"nts_long": "A.C13,A.G22,A.7MG46"
}
]
HTH,
Xiang-Jun