src/inc/maf.h 1.31
1.31 2010/05/04 06:18:59 markd
added functions to parse srcDb and src sequence name from mafComp
Index: src/inc/maf.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/maf.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -B -U 4 -r1.30 -r1.31
--- src/inc/maf.h 19 Nov 2009 05:31:21 -0000 1.30
+++ src/inc/maf.h 4 May 2010 06:18:59 -0000 1.31
@@ -77,8 +77,14 @@
void mafCompFreeList(struct mafComp **pList);
/* Free up a list of maf components. */
+char *mafCompGetSrcDb(struct mafComp *mc, char *buf, int bufSize);
+/* parse the srcDb name from the mafComp src name, return NULL if no srcDb */
+
+char *mafCompGetSeqName(struct mafComp *mc);
+/* parse the src sequence name from the mafComp src name */
+
struct mafRegDef
/* MAF region definition (r line) */
{
char *type; // type of definition, one of constants below (not malloced)