S-nitrosylation affects TRAP1 structure and ATPase activity and modulates cell response to apoptotic stimuli.