src/inc/maf.h 1.30
1.30 2009/11/19 05:31:21 markd
added option to filter mafs by species prefix
Index: src/inc/maf.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/maf.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -b -B -U 4 -r1.29 -r1.30
--- src/inc/maf.h 27 Oct 2008 17:51:58 -0000 1.29
+++ src/inc/maf.h 19 Nov 2009 05:31:21 -0000 1.30
@@ -159,11 +159,15 @@
boolean mafMayFindAllComponents(struct mafAli *maf, struct hash *cHash);
/* Check to see if all components in hash are in maf block. Return FALSE if not found. */
struct mafComp *mafMayFindComponentInHash(struct mafAli *maf, struct hash *cHash);
-/* Find component of given source that starts matches any string in the cHash.
+/* Find arbitrary component of given source that matches any string in the cHash.
Return NULL if not found. */
+struct mafComp *mafMayFindSpeciesInHash(struct mafAli *maf, struct hash *cHash, char sepChar);
+/* Find arbitrary component of given who's source prefix (ended by sep)
+ matches matches any string in the cHash. Return NULL if not found. */
+
void mafMoveComponentToTop(struct mafAli *maf, char *componentSource);
/* Move given component to head of component list. */
struct mafAli *mafFromAxt(struct axt *pAxt, int tSize,