533112afe2a2005e80cdb1f82904ea65032d4302 braney Sat Oct 2 11:37:34 2021 -0700 split hg/lib into two separate libaries, one only used by the cgis diff --git src/hg/cgilib/oregannoUi.c src/hg/cgilib/oregannoUi.c new file mode 100644 index 0000000..e9a773c --- /dev/null +++ src/hg/cgilib/oregannoUi.c @@ -0,0 +1,62 @@ +/* oregannoUi.c - char arrays for oreganno UI features */ + +/* Copyright (C) 2014 The Regents of the University of California + * See README in this or parent directory for licensing information. */ +#include "oregannoUi.h" +#include "common.h" + + +/* some stuff for mutation type choices */ +/* labels for checkboxes */ +char *oregannoTypeLabel[] = { + "regulatory polymorphism (dark blue)", + "transcription factor binding site (orange)", + "regulatory region (light blue)", + "miRNA binding site (green)", + "regulatory haplotype (red)", +}; + +/* names for checkboxes */ +char *oregannoTypeString[] = { + "oreganno.filter.poly", + "oreganno.filter.tfbs", + "oreganno.filter.reg", + "oreganno.filter.mirna", + "oreganno.filter.haplo", +}; + +/* values in the db */ +char *oregannoTypeDbValue[] = { + "Regulatory Polymorphism", + "Transcription Factor Binding Site", + "Regulatory Region", + "miRNA Binding Site", + "Regulatory Haplotype", +}; + +int oregannoTypeSize = ArraySize(oregannoTypeString); + +/* list of attribute fields for oreganno, in order to be displayed */ +char *oregannoAttributes[] = { + "SrcLink", + "Extlink", + "type", + "Gene", + "TFbs", + "Dataset", + "Evidence", + "EvidenceSubtype", +}; + +char *oregannoAttrLabel[] = { + "Links", + "Links", + "Region type", + "Gene", + "Transcription factor", + "Dataset", + "Evidence type", + "Evidence subtype(s)", +}; + +int oregannoAttrSize = ArraySize(oregannoAttributes);