Manipulation of the magnetoresistance effect in a double-helix DNA