An optical aptasensor for real-time quantification of endotoxin