370394fc362cce1b14f32e1a9d548fd5654063a0 markd Tue Aug 23 09:59:15 2016 -0700 Account for bin column when loading estOrientInfo data. Add function to read selected PSLs from a table into memory. diff --git src/hg/inc/pslReader.h src/hg/inc/pslReader.h index 5e0afac..fd9a7d3 100644 --- src/hg/inc/pslReader.h +++ src/hg/inc/pslReader.h @@ -52,19 +52,24 @@ /* Read the all of psls */ void pslReaderFree(struct pslReader** prPtr); /* Free the pslRead object. */ struct psl *pslReaderLoadQuery(struct sqlConnection* conn, char* table, char* where); /* Function that encapsulates doing a query and loading the results */ struct psl *pslReaderLoadRangeQuery(struct sqlConnection* conn, char* table, char* chrom, int start, int end, char* extraWhere); /* Function that encapsulates doing a range query and loading the results */ +struct psl *pslReaderLoadDb(char* db, char* table, char* where); +/* Function that encapsulates reading a PSLs from a database If where is not +* null, it is added as a where clause. It will determine if pslx columns are +* in the table. */ + struct psl *pslReaderLoadFile(char* pslFile, char* chrom); /* Function that encapsulates reading a psl file */ #endif