code: def reverse_complement(sequence, material):
      '''Reverse complement a sequence.
  
      :param sequence: Sequence to reverse complement
      :type sequence: str
      :param material: dna, rna, or peptide.
      :type material: str
      '''
      code = dict(COMPLEMENTS[material])
      reverse_sequence = sequence[::-1]
      return ''.join([code[str(base)] for base in reverse_sequence]f reverse_complement(sequence, material):
      '''Reverse complement a sequence.
  
      :param sequence: Sequence to reverse complement
      :type sequence: str
      :param material: dna, rna, or peptide.
      :type material: str
      '''
      code = dict(COMPLEMENTS[material])
      reverse_sequence = sequence[::-1]
      return ''.join([code[str(base)] for base in reverse_sequence])
docs: Reverse complement a sequence.
  
      :param sequence: Sequence to reverse complement
      :type sequence: str
      :param material: dna, rna, or peptide.
      :type material: str