src/inc/metaWig.h 1.2
1.2 2010/06/03 16:57:51 kent
Removing bbiInternal include.
Index: src/inc/metaWig.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/metaWig.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/inc/metaWig.h 3 Jun 2010 16:51:56 -0000 1.1
+++ src/inc/metaWig.h 3 Jun 2010 16:57:51 -0000 1.2
@@ -1,43 +1,43 @@
/* Interface class so that wigs and bigWigs look similar */
#ifndef METAWIG_H
#define METAWIG_H
-#ifndef BWGINTERNAL_H
-#include "bwgInternal.h"
+#ifndef BBIFILE_H
+#include "bbiFile.h"
#endif
enum metaWigType
{
mwtSections,
mwtBigWig,
};
struct metaWig
/* Interface class so that wigs and bigWigs look similar */
{
struct metaWig *next;
enum metaWigType type;
/* For type mwtSections */
struct bwgSection *sectionList;
struct hash *chromHash; /* Hash value is first section in that chrom */
/* For type mwtBigWig */
struct bbiFile *bwf;
};
struct metaWig *metaWigOpen(char *fileName, struct lm *lm);
/* Wrap self around file. Read all of it if it's wig, just header if bigWig. */
void metaWigClose(struct metaWig **pMw);
/* Close up metaWig file */
struct slName *metaWigChromList(struct metaWig *mw);
/* Return list of chromosomes covered in wig. */
struct bbiInterval *metaIntervalsForChrom(struct metaWig *mw, char *chrom, struct lm *lm);
/* Get sorted list of all intervals with data on chromosome. */
#endif /* METAWIG_H */