The insertion or deletion of base pairs in a DNA sequence, in which the number of added or deleted base pairs is not a multiple of three, thus shifting the triplet reading frame of the gene product (protein). This results in the synthesis of a protein with amino acids different from those normally specified by the gene.