replace_side_chains is a tool to take a main-chain model and to add side-chains from a rotamer library based on an electron density map.
NOTE: Normally this method is called from phenix.phase_and_build but you can use it interactively if you want.
replace_side_chains uses resolve to replace the side chains in a model. You can choose to use the default resolve rotamer library or the Lovell et al penultimate rotamer library.
replace_side_chains.pdb: A PDB file with side chains replaced.
Running replace_side_chains is easy. From the command-line you can type:
phenix.replace_side_chains model.pdb map_coeffs.mtz sequence.dat
You should supply a sequence file that matches the sequence of the model.