docs: def write_seqinfo(self, out_fp, include_name=True):
          """
          Write a simple seq_info file, suitable for use in taxtastic.
          Useful for printing out the results of collapsing tax nodes - super
          bare bones, just tax_id and seqname.
  
          If include_name is True, a column with the taxon name is included.
          """
          header = ['seqname', 'tax_id']
  
          if include_name:
              header.append('tax_name')
  
          w = csv.DictWriter(out_fp, header, quoting=csv.QUOTE_NONNUMERIC,
                             lineterminator='\n', extrasaction='ignore')
          w.writeheader()
  
          rows = ({'seqname': seq_id,
                   'tax_id': node.tax_id,
                   'tax_name': node.name}
                  for node in self
                  for seq_id in node.sequence_ids)
  
          w.writerows(rows)