Caspr1(203–355) peptide is sufficient to counteract IbeA to prevent E. coli meningitis. Here, CNTNAP1 is linked to infectious meningitis.