Bridging the atomic and coarse-grained descriptions of collective motions in proteins