code: def get_proteininfo_fields(poolnames=False, genecentric=False):
      
      allfields = OrderedDict()
      basefields = {
              False: [
                  prottabledata.HEADER_GENEID, prottabledata.HEADER_GENENAME,
                  prottabledata.HEADER_DESCRIPTION, prottabledata.HEADER_COVERAGE,
                  prottabledata.HEADER_NO_PROTEIN, prottabledata.HEADER_CONTENTPROT,
                  ],
              'genes': [
                  prottabledata.HEADER_GENENAME, prottabledata.HEADER_PROTEINS,
                  prottabledata.HEADER_DESCRIPTION],
              'assoc': [
                  prottabledata.HEADER_GENEID, prottabledata.HEADER_PROTEINS,
                  prottabledata.HEADER_DESCRIPTION],
              }[genecentric]
      poolfields = [prottabledata.HEADER_NO_UNIPEP,
                    prottabledata.HEADER_NO_PEPTIDE,
                    prottabledata.HEADER_NO_PSM,
                    ]
      for field in basefields:
          allfields[field] = False
      for field in poolfields:
          allfields[field] = poolnames
      return allfields
docs: Returns header fields for protein (group) information.
      Some fields are shared between pools, others are specific
      for a pool