code: def process_seq(seq, material):
      '''Validate and process sequence inputs.
  
      :param seq: input sequence
      :type seq: str
      :param material: DNA, RNA, or peptide
      :type: str
      :returns: Uppercase version of `seq` with the alphabet checked by
                check_alphabet().
      :rtype: str
  
      '''
      check_alphabet(seq, material)
      seq = seq.upper()
      return sef process_seq(seq, material):
      '''Validate and process sequence inputs.
  
      :param seq: input sequence
      :type seq: str
      :param material: DNA, RNA, or peptide
      :type: str
      :returns: Uppercase version of `seq` with the alphabet checked by
                check_alphabet().
      :rtype: str
  
      '''
      check_alphabet(seq, material)
      seq = seq.upper()
      return seq
docs: Validate and process sequence inputs.
  
      :param seq: input sequence
      :type seq: str
      :param material: DNA, RNA, or peptide
      :type: str
      :returns: Uppercase version of `seq` with the alphabet checked by
                check_alphabet().
      :rtype: str