code: def first_name_capture(records):
      
      logging.info('Applying _first_name_capture generator: '
                   'making sure ID only contains the first whitespace-delimited '
                   'word.')
      whitespace = re.compile(r'\s+')
      for record in records:
          if whitespace.search(record.description):
              yield SeqRecord(record.seq, id=record.id,
                              description="")
          else:
              yield record
docs: Take only the first whitespace-delimited word as the name of the sequence.
      Essentially removes any extra text from the sequence's description.