code: def reverse_sequences(records):
      
      logging.info('Applying _reverse_sequences generator: '
                   'reversing the order of sites in sequences.')
      for record in records:
          rev_record = SeqRecord(record.seq[::-1], id=record.id,
                                 name=record.name,
                                 description=record.description)
          # Copy the annotations over
          _reverse_annotations(record, rev_record)
  
          yield rev_record
docs: Reverse the order of sites in sequences.