Skip to content

Commit

Permalink
[doc] fix documentation for --input-alphabet
Browse files Browse the repository at this point in the history
  • Loading branch information
h-2 committed Aug 4, 2024
1 parent 6ac098f commit 6b9ffa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void argConv0(LambdaOptions & options)

// query file
if (options.qryOrigAlphabet ==
AlphabetEnum::DNA4) // means "auto", as dna4 not valid as argument to --query-alphabet
AlphabetEnum::DNA4) // means "auto", as dna4 not valid as argument to --input-alphabet
{
myPrint(options, 1, "Detecting query alphabet... ");
options.qryOrigAlphabet = detectSeqFileAlphabet(options.queryFile);
Expand Down
4 changes: 2 additions & 2 deletions src/shared_misc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ inline AlphabetEnum detectSeqFileAlphabet(std::string const & path)
else if (all_valid<bio::alphabet::dna15>(seq))
{
std::cerr << "\nWARNING: You query file was detected as non-standard DNA, but it could be AminoAcid, too.\n"
"To explicitly read as AminoAcid, add '--query-alphabet aminoacid'.\n"
"To ignore and disable this warning, add '--query-alphabet dna5'.\n";
"To explicitly read as AminoAcid, add '--input-alphabet aminoacid'.\n"
"To ignore and disable this warning, add '--input-alphabet dna5'.\n";
return AlphabetEnum::DNA5;
}
else if (all_valid<bio::alphabet::aa27>(seq))
Expand Down

0 comments on commit 6b9ffa0

Please sign in to comment.