447843e8a6310fa7a837c2f1790dea8a093e9cf7
angie
  Wed Sep 20 13:20:53 2017 -0700
NCBI RefSeq: link out to MGI IDs for mouse.  Use the human-specific hgnc column of ncbiRefSeqLink table.  In hgc, if contents of hgnc start with "MGI:" then label as MGI instead of HGNC.  In ncbiRefSeqOther bigBed, omit extra columns that have no values (like OMIM and HGNC for mouse, and MGI for human); auto-generate ncbiRefSeqOther.as accordingly.  refs #18997

diff --git src/hg/lib/ncbiRefSeqLink.as src/hg/lib/ncbiRefSeqLink.as
index 44f8ab8..3c70709 100644
--- src/hg/lib/ncbiRefSeqLink.as
+++ src/hg/lib/ncbiRefSeqLink.as
@@ -1,22 +1,22 @@
 table ncbiRefSeqLink
 "Metadata for NCBI RefSeq tracks"
     (
     string id;                  "id for this gene or curated item"
     string status;              "Inferred, Model, Predicted, Provisional, Reviewed, Validated, Unknown"
     string name;                "gene name"
     string product;		"product"
     string mrnaAcc;             "transcript_id"
     string protAcc;             "protein_id"
     string locusLinkId;         "locus link identifier, from Dbxref"
     string omimId;              "OMIM identifier, from Dbxref"
-    string hgnc;                "HGNC identifier, from Dbxref"
+    string hgnc;                "HGNC identifier (or MGI for mouse), from Dbxref"
     string genbank;             "genbank identifier from Dbxref"
     string pseudo;              "'true' if pseudo gene, or n/a"
     string gbkey;               "genbank key: Gene, mRNA, ncRNA, rRNA, tRNA, etc..."
     string source;              "source: RefSeq, tRNAscan-SE, Gnomon, Curated Genomic, BestRefSeq"
     string gene_biotype;        "bio type: protein_coding, pseudogene, C_region, J_segment_pseudogene, other"
     string gene_synonym;        "list of synonym names"
     string ncrna_class;         "type of RNA: miRNA, lncRNA, snoRNA, etc..."
     lstring note;               "other notes from genbank record"
     lstring description;        "description from rna gbff record via gbProcess"
     )