Micromagnetics of magnetic chemical modulations in soft-magnetic cylindrical nanowires