Nanoporous anodic aluminum oxide internalized with gold nanoparticles was utilized as an integrated platform miniaturized for consecutively performing on-chip PCR and downstream detection of the amplified product of a 183 bp eaeA gene fragment from Escherichia coli O157:H7 using surface-enhanced Raman scattering (SERS).