“beyond” finds atoms in the first selection beyond a cutoff distance from atoms in the second selection.
selection beyond distance of selection
chain B beyond 5.0 of chain A
By default, this operation is performed over all states. However, when a state number is provided to the select operator, the operation can be restricted to a single state.