src/hg/inc/chainDb.h 1.7
1.7 2009/09/24 23:15:45 hiram
Settle on a single function to determine chainNormScoreDb()
Index: src/hg/inc/chainDb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/chainDb.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 1000000 -r1.6 -r1.7
--- src/hg/inc/chainDb.h 3 Sep 2008 19:19:10 -0000 1.6
+++ src/hg/inc/chainDb.h 24 Sep 2009 23:15:45 -0000 1.7
@@ -1,54 +1,49 @@
/* chainDb.h was originally generated by the autoSql program, which also
* generated chainDb.c and chainDb.sql. This header links the database and
* the RAM representation of objects.
*
* Note that this was built after the 'chainBlock' routine, which
* was developed around a flat .chain file which is structured
* fairly differently than the database table. However this
* module does refer to the same chain structure as is in chainBlock.*/
#ifndef CHAINDB_H
#define CHAINDB_H
#ifndef CHAINBLOCK_H
#include "chainBlock.h"
#endif
void chainHeadStaticLoad(char **row, struct chain *ret);
/* Load a row from chain table into ret. The contents of ret will
* be replaced at the next call to this function. */
struct chain *chainHeadLoad(char **row);
/* Load a chain from row fetched with select * from chain
* from database. Dispose of this with chainFree(). */
struct chain *chainHeadLoadAll(char *fileName);
/* Load all chain from a tab-separated file.
* Dispose of this with chainFreeList(). */
struct chain *chainHeadCommaIn(char **pS, struct chain *ret);
/* Create a chain out of a comma separated string.
* This will fill in ret if non-null, otherwise will
* return a new chain */
void chainHeadOutput(struct chain *el, FILE *f, char sep, char lastSep);
/* Print out chain. Separate fields with sep. Follow last field with lastSep. */
#define chainHeadTabOut(el,f) chainOutput(el,f,'\t','\n');
/* Print out chain as a line in a tab-separated file. */
#define chainHeadCommaOut(el,f) chainOutput(el,f,',',',');
/* Print out chain as a comma separated list including final comma. */
/* -------------------------------- End autoSql Generated Code -------------------------------- */
void chainDbAddBlocks(struct chain *chain, char *track, struct sqlConnection *conn);
/* Add blocks to chain header. */
-boolean chainDbNormScoreAvailable(char *db, char *chromName, char *mapName,
- char **foundTable);
-/* check if normScore column is available in this table */
-
-
#endif /* CHAINDB_H */