By altering the genetic code in bacteria, researchers have demonstrated a method to make therapeutic proteins more stable, an advance that would improve the drugs’ effectiveness and convenience, leading to smaller and less frequent doses of medicine, lower health care costs and fewer side effects for patients with cancer and other diseases.