Amber-MD / cpptraj

Biomolecular simulation trajectory/data analysis.
Other
137 stars 64 forks source link

Potential enhancements to 'hbond' #392

Open drroe opened 8 years ago

drroe commented 8 years ago
hainm commented 7 years ago

@drroe

per solvent bridge hbond ID:

354(11+12+) means solute 354 is bridge between res 11 and 12? is index 0-based or 1-based? what does the extra '+' in 12+ mean?

drroe commented 7 years ago

is index 0-based or 1-based?

1-based.

what does the extra '+' in 12+ mean?

Nothing special - every residue number has a + after it.

envirodug commented 7 years ago

@drroe, for the bridgebyatom new feature in hbond (thanks for this!), is it possible to add a few new features (or is it already possible to do this)?

  1. An option to only report heavy atoms in the output (e.g. instead of detailing hbonds to Lys HZ1, HZ2, and HZ3, just report to NZ).

  2. Map the atom numbers to the residue number and name and print to the output file (e.g. including 1:GLU, 2:ASP, etc. as in the hbond calculation without specifying bridgebyatom in the options).

drroe commented 7 years ago

An option to only report heavy atoms in the output (e.g. instead of detailing hbonds to Lys HZ1, HZ2, and HZ3, just report to NZ).

You mean in the average output right? An option doesn't exist for doing this yet - I'll put it on the to-do list.

Map the atom numbers to the residue number and name and print to the output file (e.g. including 1:GLU, 2:ASP, etc. as in the hbond calculation without specifying bridgebyatom in the options).

Does the printatomnum keyword do what you want?