Systems and methods are provided for training a classifier to discriminate between a first cancer condition associated with an oncogenic pathogenic infection a second cancer condition that is not associated with an oncogenic pathogenic infection. Systems and methods are provided for distinguishing cancers associated with oncogenic pathogenic infections that contribute to the cancer pathology and cancers that are not associated with oncogenic pathogenic infections. Systems and methods are provided for treating cancer based on whether the cancer is associated with an oncogenic pathogenic infection.