code: def reverse_complement_sequences(records):
      
      logging.info('Applying _reverse_complement_sequences generator: '
                   'transforming sequences into reverse complements.')
      for record in records:
          rev_record = SeqRecord(record.seq.reverse_complement(),
                                 id=record.id, name=record.name,
                                 description=record.description)
          # Copy the annotations over
          _reverse_annotations(record, rev_record)
  
          yield rev_record
docs: Transform sequences into reverse complements.