To minimize biofouling of electrode with blood matrix, CoFe2O4@Ag magnetic nanohybrids bonded to the HB5 were used for magnetic separation of HER-2-positive cancer cells. The gene discussed is ERBB2; the disease is cancer.