NeighborhoodResidueSelector
behaves differently than PyMOL's expand
selector and it is good to be aware of it. Namely, in PyMOL the distance is from any atom, while in Rosetta it is from the center of mass atom, unless specified differently. In reality CloseContactResidueSelector
works like PyMOL's expand
selector.