Magnetic nanowires for quantitative detection of biopolymers