diff --git a/CommandLines.cpp b/CommandLines.cpp index 1456f73..80fd5fe 100644 --- a/CommandLines.cpp +++ b/CommandLines.cpp @@ -27,8 +27,8 @@ void Print_H(hifiasm_opt_t* asm_opt) fprintf(stderr, " -r INT round of correction [%d]\n", asm_opt->number_of_round); fprintf(stderr, " -a INT round of assembly cleaning [%d]\n", asm_opt->clean_round); fprintf(stderr, " -k INT k-mer length [%d] (must be < 64)\n", asm_opt->k_mer_length); - fprintf(stderr, " -w write all overlaps to disk, can accelerate assembly next time [%d]\n", asm_opt->write_index_to_disk); - fprintf(stderr, " -l load all overlaps from disk, can avoid overlap calculation [%d]\n", asm_opt->load_index_from_disk); + ///fprintf(stderr, " -w write all overlaps to disk, can accelerate assembly next time [%d]\n", asm_opt->write_index_to_disk); + ///fprintf(stderr, " -l load all overlaps from disk, can avoid overlap calculation [%d]\n", asm_opt->load_index_from_disk); fprintf(stderr, " -z INT length of adapters that should be removed [%d]\n", asm_opt->adapterLen); fprintf(stderr, " -p INT size of popped bubbles [%lld]\n", asm_opt->pop_bubble_size); fprintf(stderr, " -x FLOAT max overlap drop ratio [%.2g]\n", asm_opt->max_drop_rate); diff --git a/README.md b/README.md index 1518668..4b6833c 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,15 @@ Hifiasm is a standalone and lightweight assembler, which does not need external For Hifi reads assembly, a typical command line looks like: ```sh -./hifiasm -w -l -o NA12878.asm -k 40 -t 32 -r 2 NA12878.fq.gz +./hifiasm -o NA12878.asm -k 40 -t 32 -r 2 NA12878.fq.gz ``` -where `NA12878.fq.gz` is the input reads and `-o` specifies the output files. In this example, all output files can be found at `NA12878.asm.*`. `-k`, `-t` and `-r` specify the length of k-mer, the number of CPU threads, and the number of correction rounds, respectively. Note that `-w` means hifiasm will save all overlaps to disk, which can avoid the time-consuming all-to-all overlap calculation next time. For hifiasm with `-l`, if the overlap information has been obtained by `-w` in advance, it is able to load all overlaps from disk and then directly do assembly. +where `NA12878.fq.gz` is the input reads and `-o` specifies the output files. In this example, all output files can be found at `NA12878.asm.*`. `-k`, `-t` and `-r` specify the length of k-mer, the number of CPU threads, and the number of correction rounds, respectively. Note that at first time, hifiasm will save all overlaps to disk, which can avoid the time-consuming all-to-all overlap calculation next time. For hifiasm, if the overlap information has been obtained by `-w` in advance, it is able to load all overlaps from disk and then directly do assembly. Please note that some old Hifi reads may consist of short adapters. To improve the assembly quality, adapters should be removed by `-z` as follow: ```sh -./hifiasm -w -l -k 40 -t 42 -r 2 -z 20 butterfly.fq.gz +./hifiasm -k 40 -t 42 -r 2 -z 20 butterfly.fq.gz ``` In this example, hifiasm will remove 20 bases from both ends of each read.