Skip to content

Commit

Permalink
Small clarification in README and some fixes for compiling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Grigorjew committed Sep 2, 2023
1 parent d2b27be commit db353da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions src/alpha_safe_paths.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <iostream>
#include <functional>
#include <vector>
#include <set>
#include <stack>
Expand Down
2 changes: 1 addition & 1 deletion src/optimal_paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ std::vector<std::vector<int64_t>> 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<void(std::string, int64_t)> print_alignment = [&](std::string s, int64_t c) {
auto print_alignment = [&](std::string s, int64_t c) {
fasta_stream << s << '\n';
};

Expand Down

0 comments on commit db353da

Please sign in to comment.