#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) |
| bool compareCharPtr | ( | const char * | c1, | |
| const char * | c2 | |||
| ) |
Referenced by eliminateSameAndSimple().
| void eliminateSameAndSimple | ( | vector< char * > & | v | ) |
| 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[] | |||
| ) |
References eliminateSameAndSimple(), readSeqFromFile(), removeSimple(), and weedoutBadSeq().
| void readSeqFromFile | ( | const string & | infile, | |
| vector< char * > & | seqs | |||
| ) |
| 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 | |||
| ) |
1.5.6