footprintHelper.cpp File Reference

#include "footprintHelper.h"

Functions

void create_footprint_exon (Connection &conn, const string &fptab, const string &fpdutab, const string &exontab)
bool remove_nrjunk (Connection &conn, const string &fptab)
bool createFootprintKeyTable (Connection &conn, const string &tabname)
int storeInFootprintKeyTable (vector< FPGModel * > &rm, Connection &conn, const string tabname)
void newFootprintByDelete (Connection &conn, const string &intab, const string &deltab, const string &outtab)
void newFootprintByPick (Connection &conn, const string &intab, const string &picktab, const string &outtab)
void filterFootprint (Connection &conn, const string &fptab)

Function Documentation

void create_footprint_exon ( Connection &  conn,
const string &  fptab,
const string &  fpdutab,
const string &  exontab 
)

create footprintDetail type of table, from a know footprintDetail table, selecting a subset of detail according to fptab input: fptab, fpdutab output: exontab, is a subset of fpdutab according to fptab This is done after buildNewFootprintTable

Referenced by discardLowerFootprint(), and main().

bool createFootprintKeyTable ( Connection &  conn,
const string &  tabname 
)

create a table (tabname) with the primary key of footprint type of tables qid,tid,fpnum

Referenced by discardLowerFootprint().

void filterFootprint ( Connection &  conn,
const string &  fptab 
)

Do some bassic filtering before the preparation step. Will add a quality column to the table No delete, just quality marking

Referenced by discardLowerFootprint().

void newFootprintByDelete ( Connection &  conn,
const string &  intab,
const string &  deltab,
const string &  outtab 
)

create a new footprint table outtab by removing entries in intab according the primary key stored in deltab input: intab, deltab output: outtab

void newFootprintByPick ( Connection &  conn,
const string &  intab,
const string &  picktab,
const string &  outtab 
)

Referenced by discardLowerFootprint().

bool remove_nrjunk ( Connection &  conn,
const string &  fptab 
)

procedures to do some clean up Remove models that are made from know junk protein from nr. This procesure should not be mingled here. In the futrue, this needs to be moved outside of this program.

Referenced by discardLowerFootprint(), and main().

int storeInFootprintKeyTable ( vector< FPGModel * > &  rm,
Connection &  conn,
const string  tabname 
)

input: rm, this is a set<Blmodel*>. tabname, name of the tmpDelTable This function will write all the primary key(qid,tid,fpnum) into tabname. return the number of rows inserted.

References fpkey::fpnum, fpkey::qid, and fpkey::tid.

Referenced by discardLowerFootprint().


Generated on Wed Aug 10 11:57:05 2011 for Softwares from Orpara by  doxygen 1.5.6