seqdiv.cpp File Reference

#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[])

Function Documentation

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[]  ) 

References ifstream(), and split().

Referenced by main().

vector<string> split ( string  str  ) 

helper function to split string into vector of words

void toLower ( string &  s  ) 

Referenced by main().


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