forked from baoxingsong/AnchorWave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bs674
committed
Oct 11, 2020
1 parent
8d672e1
commit dae562c
Showing
46 changed files
with
662 additions
and
3,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+8 Bytes
(100%)
googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,62 @@ | ||
/* | ||
* ===================================================================================== | ||
* | ||
* Filename: song.cpp | ||
* | ||
* Description: | ||
* | ||
* Version: 1.0 | ||
* Created: 06/23/2017 21:51:57 | ||
* Revision: none | ||
* Compiler: gcc | ||
* | ||
* Author: Baoxing Song (songbx.me), [email protected] | ||
* | ||
* ===================================================================================== | ||
*/ | ||
#include <stdlib.h> | ||
/************************************************************************* | ||
************************************************************************/ | ||
|
||
#include "src/controlLayer.h" | ||
#include "./googletest/googletest/include/gtest/gtest.h" | ||
using namespace std; | ||
|
||
|
||
int main(int argc, char ** argv) { | ||
testing::InitGoogleTest(&argc, argv); | ||
RUN_ALL_TESTS(); | ||
int main(int argc, char** argv){ | ||
//testing::InitGoogleTest(&argc, argv); | ||
//RUN_ALL_TESTS(); | ||
//return 0; | ||
if( argc<=1 ){ | ||
usage(); | ||
return 1; | ||
} | ||
std::string program = argv[1]; | ||
if( program.compare("-h") == 0 || program.compare("--help") == 0 ){ | ||
usage(); | ||
exit(1); | ||
} | ||
InputParser inputParser (argc, argv); | ||
string parameterFile; | ||
std::string exepath = getexepath(argv); | ||
if( inputParser.cmdOptionExists("-parameter")){ | ||
parameterFile = inputParser.getCmdOption("-parameter"); | ||
}else{ | ||
parameterFile = exepath + "/configure"; | ||
} | ||
std::map<std::string, std::string> parameters = initialize_paramters(parameterFile, exepath); | ||
if( program.compare("gff2seq") == 0 ) { | ||
return gff2seq(--argc, ++argv, parameters); | ||
} else if ( program.compare("proali") == 0 ) { | ||
return proportationalAlignment(--argc, ++argv, parameters); | ||
} else if ( program.compare("genoAli") == 0 ) { | ||
return genomeAlignment(--argc, ++argv, parameters); | ||
} else{ | ||
usage(); | ||
} | ||
return 0; | ||
} |
Oops, something went wrong.