Skip to content

Commit

Permalink
replaced argvparser with clipp
Browse files Browse the repository at this point in the history
  • Loading branch information
cjain7 committed Apr 28, 2021
1 parent 79272cd commit 6531da0
Show file tree
Hide file tree
Showing 4 changed files with 7,106 additions and 1,309 deletions.
11 changes: 1 addition & 10 deletions src/cgi/core_genome_identity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,18 @@
#include "map/include/commonFunc.hpp"
#include "cgi/include/computeCoreIdentity.hpp"

//External includes
#include "common/argvparser.hpp"

int main(int argc, char** argv)
{
/*
* Make sure env variable MALLOC_ARENA_MAX is unset
* for efficient multi-threaded execution
*/
unsetenv((char *)"MALLOC_ARENA_MAX");

CommandLineProcessing::ArgvParser cmd;
using namespace std::placeholders; // for _1, _2, _3...

//Setup command line options
skch::initCmdParser(cmd);

//Parse command line arguements
skch::Parameters parameters; //sketching and mapping parameters

skch::parseandSave(argc, argv, cmd, parameters);
skch::parseandSave(argc, argv, parameters);

std::string fileName = parameters.outFileName;

Expand Down
Loading

0 comments on commit 6531da0

Please sign in to comment.