#include <iostream>#include <fstream>#include <cstring>#include <string>#include <sstream>#include <vector>#include <map>#include "nameoutfile.h"#include <iterator>#include <cstdlib>Functions | |
| void | getInput (char inf[]) |
| void | toLower (string &s) |
| map< string, vector< string > > | readConf (const char cnf[]) |
| vector< string > | split (string str) |
| int | main (int argc, char *argv[]) |
| void getInput | ( | char | inf[] | ) |
Separates GB sequence according to keywords in the lineage line following the ORGANISM record mainly for separating sau and amp divisions from the vrt division
Adding the ability to read from a config file example in seqdiv.conf in this source code directory
I will hardcode this into this source code, so that the caller don't have to call the config file
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References ifstream(), nameFile(), readConf(), and usage.
| map< string, vector< string > > readConf | ( | const char | cnf[] | ) |
| vector<string> split | ( | string | str | ) |
helper function to split string into vector of words
| void toLower | ( | string & | s | ) |
Referenced by main().
1.5.6