/* lowelabArkinOperonScore.h was originally generated by the autoSql program, which also 
 * generated lowelabArkinOperonScore.c and lowelabArkinOperonScore.sql.  This header links the database and
 * the RAM representation of objects. */

/* Copyright (C) 2007 The Regents of the University of California 
 * See README in this or parent directory for licensing information. */

#ifndef LOWELABARKINOPERONSCORE_H
#define LOWELABARKINOPERONSCORE_H

#define LOWELABARKINOPERONSCORE_NUM_COLS 5

struct lowelabArkinOperonScore
/* Arkin operon score */
    {
    struct lowelabArkinOperonScore *next;  /* Next in singly linked list. */
    char *name;	/* operon name */
    char *gene1;	/* name of gene1 */
    char *gene2;	/* name og gene2 */
    float prob;	/* probability of operon */
    float gnMinus;	/* gene neighbor score */
    };

void lowelabArkinOperonScoreStaticLoad(char **row, struct lowelabArkinOperonScore *ret);
/* Load a row from lowelabArkinOperonScore table into ret.  The contents of ret will
 * be replaced at the next call to this function. */

struct lowelabArkinOperonScore *lowelabArkinOperonScoreLoad(char **row);
/* Load a lowelabArkinOperonScore from row fetched with select * from lowelabArkinOperonScore
 * from database.  Dispose of this with lowelabArkinOperonScoreFree(). */

struct lowelabArkinOperonScore *lowelabArkinOperonScoreLoadAll(char *fileName);
/* Load all lowelabArkinOperonScore from whitespace-separated file.
 * Dispose of this with lowelabArkinOperonScoreFreeList(). */

struct lowelabArkinOperonScore *lowelabArkinOperonScoreLoadAllByChar(char *fileName, char chopper);
/* Load all lowelabArkinOperonScore from chopper separated file.
 * Dispose of this with lowelabArkinOperonScoreFreeList(). */

#define lowelabArkinOperonScoreLoadAllByTab(a) lowelabArkinOperonScoreLoadAllByChar(a, '\t');
/* Load all lowelabArkinOperonScore from tab separated file.
 * Dispose of this with lowelabArkinOperonScoreFreeList(). */

struct lowelabArkinOperonScore *lowelabArkinOperonScoreCommaIn(char **pS, struct lowelabArkinOperonScore *ret);
/* Create a lowelabArkinOperonScore out of a comma separated string. 
 * This will fill in ret if non-null, otherwise will
 * return a new lowelabArkinOperonScore */

void lowelabArkinOperonScoreFree(struct lowelabArkinOperonScore **pEl);
/* Free a single dynamically allocated lowelabArkinOperonScore such as created
 * with lowelabArkinOperonScoreLoad(). */

void lowelabArkinOperonScoreFreeList(struct lowelabArkinOperonScore **pList);
/* Free a list of dynamically allocated lowelabArkinOperonScore's */

void lowelabArkinOperonScoreOutput(struct lowelabArkinOperonScore *el, FILE *f, char sep, char lastSep);
/* Print out lowelabArkinOperonScore.  Separate fields with sep. Follow last field with lastSep. */

#define lowelabArkinOperonScoreTabOut(el,f) lowelabArkinOperonScoreOutput(el,f,'\t','\n');
/* Print out lowelabArkinOperonScore as a line in a tab-separated file. */

#define lowelabArkinOperonScoreCommaOut(el,f) lowelabArkinOperonScoreOutput(el,f,',',',');
/* Print out lowelabArkinOperonScore as a comma separated list including final comma. */

/* -------------------------------- End autoSql Generated Code -------------------------------- */

#endif /* LOWELABARKINOPERONSCORE_H */

