Gene expression profiling identified shared pathways (IL-17, TNF, NF-κB, immune response) between PTB, LUAD, and sarcoidosis; 6 AA metabolism genes discriminate diseases. Here, IL17A is linked to sarcoidosis.