Molecular logic gates that respond to the presence of a protein and a bacterial DNA sequence show how molecular systems could be used for medical diagnostics. Recognition mechanisms involving proteins ...