CTLA-4 inhibitors often cause colitis, hypophysitis and rash, while PD-1/PD-L1 inhibitors often cause pneumonia and thyroid dysfunction. Here, CD274 is linked to susceptibility to pneumonia measurement.