The deletion and reinsertion of a segment of a nucleic acid sequence in the same place, but flipped in an opposite orientation.