Script describing step-by-step the de novo transcriptome assembly analysis of the oak processionary moth (Thaumetopoea processionea) and the differential gene expression analysis. The script is also available on GitHub (https://github.com/johanzi/OPM_transcriptome_assembly).