23 September 2020 10 5K Report

Hello,

I am trying to use the -surf option in gmx rdf in order to compute the rdf of certain molecules from the surface (nearest atoms) of my reference molecule .

My script is: gmx rdf -s tpr.tpr -ref ‘resname URA’ -sel ‘resname OCS’ -f xtc.xtc -surf mol -seltype whole_mol_com -bin 0.03

Unfortunately, I get the following error: “Inconsistency in user input: -surf only works with -ref that consists of atoms”

Obviously my molecule consists of atoms. And different scripts that don’t have the -surf flag work perfectly fine.

Anyone has an idea what is the problem?

Here are things I’ve tried but didn’t change the error:

  • I tried adding -selrpos whole_mol_com, same error.
  • I tried changing the molecules that I put under “resname X” but for any X it’s the same error.
  • I tried changing the order in which all my flags appear.
  • I tried doing -surf mol and -surf res.
  • I tried running this script on different gromacs versions.
  • More Ilan Shumilin's questions See All
    Similar questions and discussions