Organosulfur molecules methanethiol, ethanethiol, and dimethyl sulfide—all identified in the interstellar medium—were first prepared in astrophysically relevant ices of methane and hydrogen sulfide exposed to proxies of galactic cosmic rays. Image from ESA/Hubble & NASA.
Herath et al. (Thu,) studied this question.