Nous présentons un protocole pour le pliage des cellules bactériennes filamenteuses attaché à une surface lamelle avec un piège optique pour mesurer la rigidité de flexion cellulaires.