d0f46600984eb50b3ede404e5fa240093c68ce68 angie Thu Sep 28 10:10:57 2017 -0700 annoStreamDbPslPlus: join the appropriate tables for either refGene or ncbiRefSeq* to get PSL+CDS+seq info. Still need to implement the right-join support in annoStreamDb! diff --git src/hg/inc/annoStreamDbPslPlus.h src/hg/inc/annoStreamDbPslPlus.h new file mode 100644 index 0000000..9df599f --- /dev/null +++ src/hg/inc/annoStreamDbPslPlus.h @@ -0,0 +1,24 @@ +/* annoStreamDbPslPlus -- subclass of annoStreamer for joining PSL+CDS+seq database tables */ + +#ifndef ANNOSTREAMDBPSLPLUS_H +#define ANNOSTREAMDBPSLPLUS_H + +#include "annoStreamer.h" + +#define PSLPLUS_NUM_COLS PSL_NUM_COLS+6 +#define PSLPLUS_CDS_IX PSL_NUM_COLS+0 +#define PSLPLUS_PROTACC_IX PSL_NUM_COLS+1 +#define PSLPLUS_NAME2_IX PSL_NUM_COLS+2 +#define PSLPLUS_PATH_IX PSL_NUM_COLS+3 +#define PSLPLUS_FILEOFFSET_IX PSL_NUM_COLS+4 +#define PSLPLUS_FILESIZE_IX PSL_NUM_COLS+5 + +struct asObject *annoStreamDbPslPlusAsObj(); +/* Return an autoSql object with PSL, gene name, protein acc, CDS and sequence file info fields. */ + +struct annoStreamer *annoStreamDbPslPlusNew(struct annoAssembly *aa, char *gpTable, int maxOutRows); +/* Create an annoStreamer (subclass) object that streams PSL, CDS and seqFile info. + * gpTable is a genePred table that has associated PSL, CDS and sequence info + * (i.e. refGene, ncbiRefSeq, ncbiRefSeqCurated or ncbiRefSeqPredicted). */ + +#endif//ndef ANNOSTREAMDBPSLPLUS_H