In summary, by integrating WGCNA with differential gene expression analysis, our study generated the significant gene RPL17 that has potential for diagnosis and treatment in tuberculous pleurisy. Here, RPL17 is linked to pleural tuberculosis.