I have the AMBER 10ns MD trajectory, I want to calculate the average RMSD over all snapshots for each residue. Would you please tell me where I can get the cpptraj script to plot RMSD vs Residue Number. I have attached sample plot below.
AMBER tools have an utility called cpptraj. This utility can calculate "Per residue RMSD". You can go through the Manual of AmberTools15 or any of its version but not less than 12, in the chapter "cpptraj" you will get the "rmsd" option and details of how to calculate "Per res RMSD".
To get an average for each residue, you can use R. Getting average is pretty simple.