The invention concerns a cassette comprising a sterile barrier. The sterile barrier comprises attachment brackets each attached to a drive member for driving an elongate flexible medical device, and flexible portions between two adjacent attachment brackets. The flexible portions are connected to the attachment brackets. The drive surfaces of the attachment brackets come into contact with the elongate flexible medical device.