diff --git a/README.md b/README.md index 7ccd387..db8144d 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ EMERALD defines two kinds of sequences: the singular `representative sequence` a ### Command line options ##### The basic options are the following - ```-f, --file {FILE}``` Path to input FASTA file, **mandatory argument**. -- ```-o, -output {FILE}``` Path to output file, **mandatory argument**. +- ```-o, -output {FILE}``` Path to output file, **mandatory argument**. **Note**: EMERALD does not erase the content of the output file but only appends to the existing file. - ```-a, --alpha {value}``` $\alpha$ value for safety, $0.5 < \alpha \leq 1$, by default: 0.75. The safety windows will be partial alignments contained in an $\alpha$ proportion of all alignments. If $\alpha$ is chosen outside this range, a warning will be displayed. EMERALD will keep running but it can crash. - ```-d, --delta {value}``` $\Delta$ value for the size of the suboptimal space, any positive integer, by default: 0. If $\Delta$ is larger, more alignments will be considered suboptimal, which will decrease the number and lengths of the safety windows. - ```-i, --threads {value}``` How many threads to use. By default 1 thread is used. diff --git a/src/alpha_safe_paths.cpp b/src/alpha_safe_paths.cpp index 3678737..d5e42bc 100644 --- a/src/alpha_safe_paths.cpp +++ b/src/alpha_safe_paths.cpp @@ -1,4 +1,5 @@ #include +#include #include #include #include diff --git a/src/optimal_paths.cpp b/src/optimal_paths.cpp index bf7bd25..228285b 100644 --- a/src/optimal_paths.cpp +++ b/src/optimal_paths.cpp @@ -31,7 +31,7 @@ std::vector> alignments_into_fasta(int64_t number_of_paths, fasta_stream.open(fasta_file, std::ofstream::app); std::cout << "Print alignments: created file ./" << fasta_file << std::endl; int64_t al_idx = 0; - std::function print_alignment = [&](std::string s, int64_t c) { + auto print_alignment = [&](std::string s, int64_t c) { fasta_stream << s << '\n'; };