NOT WORKING!!! added all k-mer counter

This commit is contained in:
Heng Li
2020-03-24 12:29:46 -04:00
parent 398e73022b
commit 64edb06e08
15 changed files with 628 additions and 237 deletions
+13 -3
View File
@@ -4,16 +4,26 @@
#include "Process_Read.h"
#include "Assembly.h"
#include "Levenshtein_distance.h"
#include "yak.h"
int main(int argc, char *argv[])
{
int i;
init_opt(&asm_opt);
if (!CommandLine_process(argc, argv, &asm_opt)) return 1;
Correct_Reads(asm_opt.number_of_round);
yak_reset_realtime();
ha_count_high(&asm_opt);
if (0) {
Correct_Reads(asm_opt.number_of_round);
}
destory_opt(&asm_opt);
fprintf(stderr, "[M::%s] Version: %s\n", __func__, "dummy");
fprintf(stderr, "[M::%s] CMD:", __func__);
for (i = 0; i < argc; ++i)
fprintf(stderr, " %s", argv[i]);
fprintf(stderr, "\n[M::%s] Real time: %.3f sec; CPU: %.3f sec; Peak RSS: %.3f GB\n", __func__, yak_realtime(), yak_cputime(), yak_peakrss() / 1024.0 / 1024.0 / 1024.0);
return 0;
}