Code used in data analysis for Mitchell et al. 2024, a forthcoming paper on transcriptomic responses to environmental variation in Candidatus Endoriftia persephone, a bacterial symbiont of the deep sea tubeworm Riftia pachyptila. The paper is currently a preprint but has been provisionally accepted at Nature Microbiology.