56c5a21bd036712b38873f830b46b33351fbb5e4 giardine Fri Nov 5 13:21:35 2010 -0700 Added error checking for pgSnp and bedDetail custom track loaders, issue #1595 diff --git src/hg/inc/pgSnp.h src/hg/inc/pgSnp.h index 5f008e5..2213829 100644 --- src/hg/inc/pgSnp.h +++ src/hg/inc/pgSnp.h @@ -108,17 +108,21 @@ struct pgCodon *fetchCodons (char *db, struct bed *gene, unsigned chrStart, unsigned chrEnd); /* get codon sequence to compute aa changes */ void printSeqCodDisplay (char *db, struct pgSnp *item); /* print the display of sequence changes for a coding variant */ void printPgDbLink(char *db, struct trackDb *tdb, struct pgSnp *item); /* print the links to phenotype and other databases for pgSnps */ extern char *pgSnpAutoSqlString; struct pgSnp *pgSnpLoadNoBin (char **row); /* load struct from row without bin */ +struct pgSnp *pgSnpLineFileLoad(char **row, struct lineFile *lf); +/* Load pgSnp from a lineFile line, with error checking. */ +/* Requires comma separated zeroes for frequency and scores. */ + #endif /* PGSNP_H */