1359d9856e982d83be761f3501bd6a87c046dee6
angie
  Mon Apr 15 15:56:56 2013 -0700
Added determination of data type by asObject comparison instead ofkludges like special annoRowType or checking a few column names.  refs #6152

diff --git src/hg/inc/genePred.h src/hg/inc/genePred.h
index e05fe90..35bec5c 100644
--- src/hg/inc/genePred.h
+++ src/hg/inc/genePred.h
@@ -283,18 +283,20 @@
 struct rbTree *genePredToRangeTree(struct genePred *gp, boolean cdsOnly);
 /* Convert genePred into a range tree. */
 
 void gpPartOutAsBed(struct genePred *gp, int start, int end, FILE *f, 
 	char *type, int id, int minSize);
 /* Write out part of gp as bed12. */
 
 boolean codonToPos(struct genePred *gp, unsigned num, int *chromStart, int *chromEnd);
 // map 1-based codon to genomic coordinates. If the codon crosses an exon junction, we return just the beginning (LHS) of the codon.
 // Returns true if we find the codon in given gene predition; chromStart and chromEnd are set to appropriate three base region.
 
 boolean exonToPos(struct genePred *gp, unsigned num, int *chromStart, int *chromEnd);
 // map 1-based exon number to genomic coordinates.
 // Returns true if we find the exon in given gene predition; chromStart and chromEnd are set to appropriate region.
 
+struct asObject *genePredAsObj();
+// Return asObject describing fields of genePred
 
 #endif /* GENEPRED_H */