docs: def check_padding_around_mutation(given_padding, epitope_lengths):
      """
      If user doesn't provide any padding around the mutation we need
      to at least include enough of the surrounding non-mutated
      esidues to construct candidate epitopes of the specified lengths.
      """
      min_required_padding = max(epitope_lengths) - 1
      if not given_padding:
          return min_required_padding
      else:
          require_integer(given_padding, "Padding around mutation")
          if given_padding < min_required_padding:
              raise ValueError(
                  "Padding around mutation %d cannot be less than %d "
                  "for epitope lengths %s" % (
                      given_padding,
                      min_required_padding,
                      epitope_lengths))
          return given_padding