5b4fcca505f362e2fd288f57d8d8dd2de1148d6c angie Wed Apr 11 11:47:25 2018 -0700 Make POST the formMethod default instead of GET, to support long lists of rsIds / HGVS terms. Let the user know that unlike the position/search input that accepts HGVS-ish terms with gene symbols, hgVai needs specific transcript IDs. Thanks Jairo! refs #21142 diff --git src/hg/hgVai/hgVai.c src/hg/hgVai/hgVai.c index 9452f01..16c53cc 100644 --- src/hg/hgVai/hgVai.c +++ src/hg/hgVai/hgVai.c @@ -35,30 +35,33 @@ #include "hAnno.h" #include "annoGratorQuery.h" #include "annoGratorGpVar.h" #include "annoFormatVep.h" #include "annoStreamBigBed.h" #include "annoStreamDb.h" #include "windowsToAscii.h" #include "libifyMe.h" #define GENCODE_TAG_DOC_URL "\"http://www.gencodegenes.org/gencode_tags.html\"" #define GENCODE_BASIC_DOC_URL "\"http://www.gencodegenes.org/faq.html\"" #define REFSEQ_STATUS_DOC_URL "\"https://www.ncbi.nlm.nih.gov/books/NBK21091/table/ch18.T.refseq_status_codes\"" #define APPRIS_DOC_URL "\"http://appris.bioinfo.cnio.es/#/help/database\"" +#define HGVS_MUST_USE_ACC "Note: HGVS terms must use versioned transcript or genomic accessions " \ + "(e.g. NM_000023.3, NC_000012.11, ENST00000000233.9), not gene symbols." + /* Global Variables */ struct cart *cart; /* CGI and other variables */ struct hash *oldVars = NULL; /* The cart before new cgi stuff added. */ char *genome = NULL; /* Name of genome - mouse, human, etc. */ char *database = NULL; /* Current genome database - hg17, mm5, etc. */ char *regionType = NULL; /* genome, ENCODE pilot regions, or specific position range. */ struct grp *fullGroupList = NULL; /* List of all groups. */ struct trackDb *fullTrackList = NULL; /* List of all tracks in database. */ static struct pipeline *compressPipeline = (struct pipeline *)NULL; // Null terminated list of CGI Variables we don't want to save permanently: char *excludeVars[] = {"Submit", "submit", "hgva_startQuery", NULL,}; #define hgvaRange "position" @@ -259,31 +262,31 @@ jsCreateHiddenForm(cart, cgiScriptName(), saveVars, ArraySize(saveVars)); } /* Hidden form for jumping to custom tracks CGI. */ printf("
\n"); /* Hidden form for jumping to track hub manager CGI. */ printf("\n"); printf("