Skip to content

Commit

Permalink
优化代码结构
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Apr 8, 2024
1 parent 00d6c61 commit c87069c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ Options:
--hash-dir <HASH_DIR>
database hash chunk directory and other files
--chunk-dir <CHUNK_DIR>

chunk directory
--full-output
output file contains all unclassified seq
-T, --confidence-threshold <CONFIDENCE_THRESHOLD>
Confidence score threshold, default is 0.0 [default: 0]
-K, --report-kmer-data
Expand Down Expand Up @@ -384,6 +386,8 @@ Options:
In comb. w/ -R, provide minimizer information in report
-z, --report-zero-counts
In comb. w/ -R, report taxa w/ 0 count
--full-output
output file contains all unclassified sequence
-h, --help
Print help (see more with '--help')
-V, --version
Expand Down
1 change: 1 addition & 0 deletions kr2r/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ pub struct ClassifyArgs {
#[clap(short = 'z', long, value_parser, default_value_t = false)]
pub report_zero_counts: bool,

/// output file contains all unclassified sequence
#[clap(long, value_parser, default_value_t = false)]
pub full_output: bool,

Expand Down
3 changes: 2 additions & 1 deletion kr2r/src/bin/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ pub struct Args {
#[clap(long)]
pub hash_dir: PathBuf,

// chunk directory
/// chunk directory
#[clap(long, value_parser, required = true)]
pub chunk_dir: PathBuf,

/// output file contains all unclassified sequence
#[clap(long, value_parser, default_value_t = false)]
pub full_output: bool,
/// Confidence score threshold, default is 0.0.
Expand Down

0 comments on commit c87069c

Please sign in to comment.