string ann = "default.ann";
Model model(0);
bool detectModel = true;
+ bool onlyIdentify = false;
//Parse command line arguments
int opt;
- while ((opt = getopt(argc, argv, "m:n:h")) != -1) {
+ while ((opt = getopt(argc, argv, "im:n:h")) != -1) {
switch (opt) {
case 'm':
model = Model::modelFactory(optarg);
case 'n':
ann = optarg;
break;
+ case 'i':
+ onlyIdentify = true;
+ break;
case 'h':
cout << "Usage: " << argv[0] << " [OPTION] [FILE]" << endl
<< endl << " -m <model> Specifies which model to use for sorting: Whirl, X, Zipper, FatX or Cloud "
//copy(go.begin(), go.end(), ostream_iterator<int>(cout, " "));
//cout << endl;
+ if (onlyIdentify){
+ return EXIT_SUCCESS;
+ }
//Sort
GeneSorter so;
GeneSorter::ActionList al = so.sort(go,model);