acca3deffc05c4d8d11590a1cf3d893763254712 angie Thu Oct 31 13:43:05 2019 -0700 dbSnp153: Adding new ucscNotes suggested by Ana Benet: clinvar{Benign,Conflicting,Pathogenic}, rareAll, rareSome. refs #23283 diff --git src/hg/inc/bigDbSnp.h src/hg/inc/bigDbSnp.h index 6a82ec5..dcfd84f 100644 --- src/hg/inc/bigDbSnp.h +++ src/hg/inc/bigDbSnp.h @@ -73,39 +73,44 @@ /* Print out bigDbSnp. Separate fields with sep. Follow last field with lastSep. */ #define bigDbSnpTabOut(el,f) bigDbSnpOutput(el,f,'\t','\n'); /* Print out bigDbSnp as a line in a tab-separated file. */ #define bigDbSnpCommaOut(el,f) bigDbSnpOutput(el,f,',',','); /* Print out bigDbSnp as a comma separated list including final comma. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ // ucscNotes is a comma-separated list of these values. Developer: if you add a new one here, // then also update the descriptions used by bigDbSnpDescribeUcscNote in bigDbSnp.c. #define bdsAltIsAmbiguous "altIsAmbiguous" #define bdsClassMismatch "classMismatch" #define bdsClinvar "clinvar" +#define bdsClinvarBenign "clinvarBenign" +#define bdsClinvarConflicting "clinvarConflicting" +#define bdsClinvarPathogenic "clinvarPathogenic" #define bdsClusterError "clusterError" #define bdsCommonAll "commonAll" #define bdsCommonSome "commonSome" #define bdsDiffMajor "diffMajor" #define bdsFreqIsAmbiguous "freqIsAmbiguous" #define bdsFreqNotRefAlt "freqNotRefAlt" #define bdsMultiMap "multiMap" #define bdsOverlapDiffClass "overlapDiffClass" #define bdsOverlapSameClass "overlapSameClass" +#define bdsRareAll "rareAll" +#define bdsRareSome "rareSome" #define bdsRefIsAmbiguous "refIsAmbiguous" #define bdsRefIsMinor "refIsMinor" #define bdsRefIsRare "refIsRare" #define bdsRefIsSingleton "refIsSingleton" #define bdsRefMismatch "refMismatch" #define bdsRevStrand "revStrand" char *bigDbSnpDescribeUcscNote(char *ucscNote); /* Return a string describing ucscNote, unless it is unrecognized in which case return NULL. * Do not free returned value. */ char *bigDbSnpClassToString(enum bigDbSnpClass class); /* Return the string version of enum bigDbSnpClass. Do not free result. */ char *bigDbSnpAbbrevAllele(char *allele, char *buf, size_t bufLen);