Problem during the Protein-Ligand Analysis gmx distance command

GROMACS version:2022.4
GROMACS modification: Yes/No
Here post your question

I was following the Gromacs MD Simulation tutorial, but an error occured in the analysis during “Analyzing Protein-Ligand Interactions and Ligand Dynamics”.
the command and error are mentioned below.

gmx distance -s md_0_10.tpr -f md_0_10_center.xtc -select ‘resname “JZ4” and name OAB plus resid 102 and name OE1’ -oall

Program: gmx distance, version 2021.4-Ubuntu-2021.4-2
Source file: src/gromacs/trajectoryanalysis/modules/distance.cpp (line 218)
Function: void gmx::analysismodules::{anonymous}::checkSelections(const SelectionList&)

Inconsistency in user input:
Selection ‘resname “JZ4” and name OAB plus resid 102 and name OE1’ does not
evaluate into an even number of positions (there are 1 positions)

How may i correct this inconsistency?

Thank you

@sreeshma_raj did you ever get an answer to your question? I have encountered similar issue

Hi, I did not but one time it did not work. The error had to do with the name of the of the ligand name and the residue used for the Hbond calcs. Which file are you using to identify the atom numbers in Pymol?