Does gmx rama take care of pbc effect?

GROMACS version:2021
GROMACS modification: No
Here post your question
If part of a protein cross periodic boundary condition, does it affect the calculation of phi and psi angle of gmx rama command ?

to be on the save site, you can process the trajectory file with gmx trjconv such as that the protein/peptide does not cross the box and then run gmx rama
Best regards