I need to calculate the radial distribution function for my system which includes 50 molecules. Here is my code line to generate rdf in gromacs:

gmx rdf -n Index.ndx -f mdrun1.xtc -s mdrun1.tpr -selrpos 'whole_res_com' -ref "AsphB" -sel "AsphB" -o rdf_com_20.xvg

I am wondering if I should choose all 50 molecules in both -ref and -sel sections?

Or should I consider molecule 1 as -ref and the rest as -sel and do that multiple times for all molecules and then get average overall? If yes, what type of average should that be?

More Ali Ghamartale's questions See All
Similar questions and discussions