A single multimode interference waveguide is used to create distinct spectral spot patterns on two liquid-core waveguides on an optofluidic chip. This device is used for multiplexed detection of antibiotic-resistant plasmids with single nucleic acid sensitivity.