Magnetic field sensor protein