351a9774974f537cc705ee9771bb61adc61980b6 larrym Tue Jun 8 18:31:13 2010 +0000 make motifHitSection and loadDnaMotif public; use a table for motif section to avoid problem where bases in image and text did not line up; fix typo (occurence => occurrence) diff --git src/hg/hgc/hgc.h src/hg/hgc/hgc.h index 05f2d82..7b96c77 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -32,6 +32,7 @@ #include "wikiTrack.h" #endif #include "hgdpGeo.h" +#include "dnaMotif.h" extern struct cart *cart; /* User's settings. */ extern char *seqName; /* Name of sequence we're working on. */ @@ -226,6 +227,12 @@ void doRnaSecStr(struct trackDb *tdb, char *itemName); /* Handle click on rnaSecStr type elements. */ +void motifHitSection(struct dnaSeq *seq, struct dnaMotif *motif); +/* Print out section about motif. */ + +struct dnaMotif *loadDnaMotif(char *motifName, char *motifTable); +/* Load dnaMotif from table. */ + void doTriangle(struct trackDb *tdb, char *item, char *motifTable); /* Display detailed info on a regulatory triangle item. */