43131e22c1124612275ed6a49fed2caad4389be5 cline Wed Sep 14 15:19:48 2011 -0700 Added an rfam accession field to the end of the kgXref table diff --git src/hg/inc/kgXref.h src/hg/inc/kgXref.h index 1d3ee78..b7e6c44 100644 --- src/hg/inc/kgXref.h +++ src/hg/inc/kgXref.h @@ -1,36 +1,37 @@ /* kgXref.h was originally generated by the autoSql program, which also * generated kgXref.c and kgXref.sql. This header links the database and * the RAM representation of objects. */ #ifndef KGXREF_H #define KGXREF_H -#define KGXREF_NUM_COLS 8 +#define KGXREF_NUM_COLS 9 struct kgXref /* Link together a Known Gene ID and a gene alias */ { struct kgXref *next; /* Next in singly linked list. */ char *kgID; /* Known Gene ID */ char *mRNA; /* mRNA ID */ char *spID; /* SWISS-PROT protein Accession number */ char *spDisplayID; /* SWISS-PROT display ID */ char *geneSymbol; /* Gene Symbol */ char *refseq; /* RefSeq ID */ char *protAcc; /* NCBI protein Accession number */ char *description; /* Description */ + char *rfamAcc; /* Rfam accession number */ }; void kgXrefStaticLoad(char **row, struct kgXref *ret); /* Load a row from kgXref table into ret. The contents of ret will * be replaced at the next call to this function. */ struct kgXref *kgXrefLoad(char **row); /* Load a kgXref from row fetched with select * from kgXref * from database. Dispose of this with kgXrefFree(). */ struct kgXref *kgXrefLoadAll(char *fileName); /* Load all kgXref from whitespace-separated file. * Dispose of this with kgXrefFreeList(). */ struct kgXref *kgXrefLoadAllByChar(char *fileName, char chopper);