code: def get_frameshift_info(fs_df, bins):
      
      fs_df = compute_indel_length(fs_df)
  
      # count the number INDELs with length non-dividable by 3
      num_indels = []
      indel_len = []
      num_categories = 0
      i = 1
      while(num_categories<bins):
          # not inframe length indel
          if i%3:
              if num_categories != bins-1:
                  tmp_num = len(fs_df[fs_df['indel len']==i])
              else:
                  tmp_num = len(fs_df[(fs_df['indel len']>=i) & ((fs_df['indel len']%3)>0)])
              num_indels.append(tmp_num)
              indel_len.append(i)
              num_categories += 1
          i += 1
      return indel_len, num_indels
docs: Counts frameshifts stratified by a given length.
  
      Parameters
      ----------
      fs_df : pd.DataFrame
          indel mutations from non-coding portion
      bins : int
          number of different length categories for frameshifts
  
      Returns
      -------
      indel_len : list
          length of specific frameshift length category
      num_indels : list
          number of frameshifts matchin indel_len