Skip to content

Commit

Permalink
mode merge: added -out option
Browse files Browse the repository at this point in the history
  • Loading branch information
Funatiq committed Jul 8, 2022
1 parent ffbe0ac commit 4e482bc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/mode_merge.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ REQUIRED PARAMETERS
taxonomic data files)


MERGING RESULTS OUTPUT

<file> Redirect output to file <file>.
If not specified, output will be written to stdout.


CLASSIFICATION

-lowest <rank> Do not classify on ranks below <rank>
Expand Down Expand Up @@ -85,7 +91,7 @@ CLASSIFICATION
default: off


GENERAL OUTPUT
GENERAL OUTPUT FORMATTING

-silent|-verbose information level during build:
silent => none / verbose => most detailed
Expand Down
10 changes: 9 additions & 1 deletion src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,10 +1683,18 @@ merge_mode_cli(merge_options& opt, error_messages& err)
% "directory with taxonomic hierarchy data (see NCBI's taxonomic data files)"
)
,
"MERGING RESULTS OUTPUT" %
( option("-out") &
value("file", qry.queryMappingsFile)
.if_missing([&]{ err += "Output filename missing after '-out'!"; })
% "Redirect output to file <file>.\n"
"If not specified, output will be written to stdout."
)
,
"CLASSIFICATION" %
classification_params_cli(qry.classify, err)
,
"GENERAL OUTPUT" % (
"GENERAL OUTPUT FORMATTING" % (
info_level_cli(opt.infoLevel, err)
,
option("-no-summary", "-nosummary").set(qry.output.showSummary,false)
Expand Down

0 comments on commit 4e482bc

Please sign in to comment.