a28db878858e0398a84afa488da7061e29b0918d braney Wed Aug 20 16:37:22 2014 -0700 first cut at genePredToBigGenePred refs #13681 diff --git src/hg/inc/genePred.h src/hg/inc/genePred.h index c03aba0..0da9c58 100644 --- src/hg/inc/genePred.h +++ src/hg/inc/genePred.h @@ -143,30 +143,33 @@ struct genePred *genePredExtLoad(char **row, int numCols); /* Load a genePred with from a row, with optional fields. The row must * contain columns in the order in the struct, and they must be present up to * the last specfied optional field. Missing intermediate fields must have * zero or empty columns, they may not be omitted. Fields at the end can be * omitted. Dispose of this with genePredFree(). */ struct genePred *genePredExtLoadAll(char *fileName); /* Load all genePreds with from tab-separated file, possibly with optional * fields. Dispose of this with genePredFreeList(). */ char *genePredCdsStatStr(enum cdsStatus stat); /* get string value of a cdsStatus */ +enum cdsStatus parseCdsStat(char *statStr); +/* parse a cdsStatus string */ + void genePredAddGenbankCds(struct psl *psl, struct genbankCds* cds, struct genePred *gene); /* Convert cdsStart/End from mrna to genomic coordinates. * Note that the genePred blocks need not be filled in before * this call. */ int genePredCmp(const void *va, const void *vb); /* Compare to sort based on chromosome, txStart. */ int genePredNameCmp(const void *va, const void *vb); /* Compare to sort based on name, then chromosome, txStart. */ struct genePred *genePredFromGroupedGff(struct gffFile *gff, struct gffGroup *group, char *name, char *exonSelectWord, unsigned optFields, unsigned options);