2797186e7d69a8b79b92e30118bed55548f04caf hiram Thu Feb 8 14:39:16 2018 -0800 adding externalId column to ncbiRefSeqLink table refs #20215 diff --git src/hg/inc/ncbiRefSeqLink.h src/hg/inc/ncbiRefSeqLink.h index 2d15a8a..a8ef136 100644 --- src/hg/inc/ncbiRefSeqLink.h +++ src/hg/inc/ncbiRefSeqLink.h @@ -1,48 +1,49 @@ /* ncbiRefSeqLink.h was originally generated by the autoSql program, which also * generated ncbiRefSeqLink.c and ncbiRefSeqLink.sql. This header links the database and * the RAM representation of objects. */ #ifndef NCBIREFSEQLINK_H #define NCBIREFSEQLINK_H -#define NCBIREFSEQLINK_NUM_COLS 18 +#define NCBIREFSEQLINK_NUM_COLS 19 extern char *ncbiRefSeqLinkCommaSepFieldNames; struct ncbiRefSeqLink /* Metadata for NCBI RefSeq tracks */ { struct ncbiRefSeqLink *next; /* Next in singly linked list. */ char *id; /* id for this gene or curated item */ - char *status; /* Inferrred, Model, Predicted, Provisional, Reviewed, Validated, Unknown */ + char *status; /* Inferred, Model, Predicted, Provisional, Reviewed, Validated, Unknown */ char *name; /* gene name */ char *product; /* product */ char *mrnaAcc; /* transcript_id */ char *protAcc; /* protein_id */ char *locusLinkId; /* locus link identifier, from Dbxref */ - char *omimId; /* omim identifier, from Dbxref */ + char *omimId; /* OMIM identifier, from Dbxref */ char *hgnc; /* HGNC identifier, from Dbxref */ char *genbank; /* genbank identifier from Dbxref */ char *pseudo; /* 'true' if pseudo gene, or n/a */ char *gbkey; /* genbank key: Gene, mRNA, ncRNA, rRNA, tRNA, etc... */ char *source; /* source: RefSeq, tRNAscan-SE, Gnomon, Curated Genomic, BestRefSeq */ char *gene_biotype; /* bio type: protein_coding, pseudogene, C_region, J_segment_pseudogene, other */ char *gene_synonym; /* list of synonym names */ char *ncrna_class; /* type of RNA: miRNA, lncRNA, snoRNA, etc... */ char *note; /* other notes from genbank record */ char *description; /* description from rna gbff record via gbProcess */ + char *externalId; /* for outside URL link, WormBase, FlyBase, RGD, SGD, etc... from Dbxref */ }; void ncbiRefSeqLinkStaticLoad(char **row, struct ncbiRefSeqLink *ret); /* Load a row from ncbiRefSeqLink table into ret. The contents of ret will * be replaced at the next call to this function. */ struct ncbiRefSeqLink *ncbiRefSeqLinkLoad(char **row); /* Load a ncbiRefSeqLink from row fetched with select * from ncbiRefSeqLink * from database. Dispose of this with ncbiRefSeqLinkFree(). */ struct ncbiRefSeqLink *ncbiRefSeqLinkLoadAll(char *fileName); /* Load all ncbiRefSeqLink from whitespace-separated file. * Dispose of this with ncbiRefSeqLinkFreeList(). */ struct ncbiRefSeqLink *ncbiRefSeqLinkLoadAllByChar(char *fileName, char chopper);