The invention concerns heliomicine, a DNA sequence coding for heliomicine, a vector containing it for transforming a host organism and the transformation method. The invention concerns heliomicine as medicine in particular for treating fungal infections. More particularly it concerns the transformation of plant cells and plants, the heliomicine produced by the transformed plants ensuring their resistance to diseases, in particular diseases of fungal origin.