gene magnetice