This invention relates generally to the field of moiety or molecule
isolation, detection and manipulation and library synthesis. In
particular, the invention provides a microdevice, which microdevice
comprises: a) a magnetizable substance; and b) a photorecognizable coding
pattern, wherein said microdevice has a preferential axis of
magnetization. Systems and methods for isolating, detecting and
manipulating moieties and synthesizing libraries using the microdevices
are also provided.