The chemical reactions and pathways involving epothilone, a drug obtained from the myxobacteria Sporangium cellulosum that interferes with cell division. Some epothilones are being studied as treatments for cancer.