Classification of Chinese materia medica with anti-infection