Skip to content

Commit 8cfcba0

Browse files
y3tsengy3tseng
authored andcommitted
updata cpu version
1 parent af3dc62 commit 8cfcba0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/twilight-main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ void parseArguments(int argc, char** argv)
2525
("wildcard,w", "Treat unknown or ambiguous bases as wildcards and align them to usual letters.")
2626
("verbose,v", "Print out every detail process.")
2727
("psgop,p", po::value<std::string>(), "y: Enable, n: Disable position-specific gap open penalty. If not specified, it will be detected automatically.")
28+
("align,a", po::value<std::string>()->default_value("g"), "Alignment types: g - gap penalty at both ends, l - no gap penalty at either end, h - gap penalty at the head, t - gap penalty at the tail.")
2829
("match", po::value<float>()->default_value(18), "Match score.")
2930
("mismatch", po::value<float>()->default_value(-8), "Mismatch penalty for transversions.")
3031
("transition", po::value<float>()->default_value(5), "Score for transitions")
3132
("gap-open", po::value<float>()->default_value(-50), "Gap-Open penalty")
3233
("gap-extend", po::value<float>()->default_value(-5), "Gap-Extend penalty")
34+
("gap-ends", po::value<float>(), "Gap penalty at ends, default set to the same as the gap extension penalty.")
3335
("xdrop", po::value<float>()->default_value(600), "X-drop value (scale). The actual X-drop will be multiplied by the gap-extend penalty.")
3436
("matrix,x", po::value<std::string>(), "Use a user-defined substitution matrix.")
3537
("output-type", po::value<std::string>()->default_value("FASTA"), "FASTA or CIGAR, CIGAR stands for CIGAR-like compressed format.")

src/twilight-main.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ void parseArguments(int argc, char** argv)
3939
("output-type", po::value<std::string>()->default_value("FASTA"), "FASTA or CIGAR, CIGAR stands for CIGAR-like compressed format.")
4040
("merge", po::value<std::string>()->default_value("p"), "t: Transitivity merger, p: Progressive alignment.")
4141
("keep-temp,k", "Keep the temporary directory.")
42-
("sum-of-pairs-score,s", "Calculate the sum-of-pairs score after the alignment.")
4342
("no-align-gappy", "Do not align gappy columns. This will create a longer MSA (larger file).")
43+
("sum-of-pairs-score,s", "Calculate the sum-of-pairs score after the alignment.")
4444
("check", "Check the final alignment. Sequences with no legal alignment will be displayed.")
4545
("cpu-only", "Run the program only on CPU.")
4646
("help,h", "Print help messages");

0 commit comments

Comments
 (0)