uniqueshortseq.cpp File Reference

#include <iostream>
#include <fstream>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <algorithm>

Functions

void weedoutBadSeq (const string &infile, vector< char * > &allseq)
void readSeqFromFile (const string &infile, vector< char * > &seqs)
void eliminateSameAndSimple (vector< char * > &v)
void removeSimple (vector< char * > &seq)
bool isRepeat (const char *str)
int main (int argc, char *argv[])
bool compareCharPtr (const char *c1, const char *c2)
bool samestr (const char *c1, const char *c2)

Function Documentation

bool compareCharPtr ( const char *  c1,
const char *  c2 
)

Referenced by eliminateSameAndSimple().

void eliminateSameAndSimple ( vector< char * > &  v  ) 

References compareCharPtr(), isRepeat(), and samestr().

Referenced by main().

bool isRepeat ( const char *  str  ) 

there is not so many simple reads

References length.

Referenced by eliminateSameAndSimple(), and removeSimple().

int main ( int  argc,
char *  argv[] 
)

void readSeqFromFile ( const string &  infile,
vector< char * > &  seqs 
)

References ifstream().

Referenced by main().

void removeSimple ( vector< char * > &  seq  ) 

the seq shold have been cleared for testing, I am starting from the intermediate results.

References isRepeat().

Referenced by main().

bool samestr ( const char *  c1,
const char *  c2 
)

Referenced by eliminateSameAndSimple().

void weedoutBadSeq ( const string &  infile,
vector< char * > &  allseq 
)

References good, and ifstream().

Referenced by main().


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