Scientists have uncovered the genetic basis for the production of domoic acid, a potent neurotoxin produced by certain harmful algae blooms.