adds dashes to beginning and end if first residues are missing