When working a design puzzle, I would sometimes like to reset all the sidechains to alanine or glycine before attempting a rebuild. Doing this manually is a chore. I would like to be able to reset the sidechains automatically, so I can include that in a script I want to write.
We can reset the structures and the whole puzzle, but not the sidechains. How about adding that option?
select_all()
replace_aa("g") –mutate all to glycyne
deselect_all()
even if you select all (inc. non-mutable) only mutable will be mutated :)
Is it worth adding a button to the Actions panel to do that, for the folks who can't/don't write scripts?
You can do this using the Selection Interface without using a script:
You click to select one residue and then shift click another one and it will select all the residues in between as well, then you can mutate them all to whatever amino acid you want by clicking on the Mutate button or pressing M. (Note that the Mutate Button will not show up if at any point you have selected a residue that is not designable!)
The selection interface is under the Menu tab.