Skip to content

Commit

Permalink
extend parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Feb 21, 2025
1 parent c6449c5 commit 71bff36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vsearch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,7 @@ auto args_init(int argc, char ** argv, struct Parameters & parameters) -> void

case option_fasta_width:
opt_fasta_width = args_getlong(optarg);
parameters.opt_fasta_width = args_getlong(optarg);
break;

case option_query_cov:
Expand Down
2 changes: 2 additions & 0 deletions src/vsearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ extern int64_t avx2_present;

extern std::FILE * fp_log;

constexpr int64_t default_fasta_width = 80;
constexpr int64_t default_maxseqlength = 50000;
constexpr int64_t default_ascii_offset = 33;
constexpr char alternative_ascii_offset = 64;
Expand Down Expand Up @@ -520,6 +521,7 @@ struct Parameters {
double opt_max_unmasked_pct = 100.0;
double opt_min_unmasked_pct = 0;
double opt_sample_pct = 0;
int64_t opt_fasta_width = default_fasta_width;
int64_t opt_fastq_ascii = default_ascii_offset;
int64_t opt_fastq_asciiout = default_ascii_offset;
int64_t opt_fastq_qmax = default_max_quality;
Expand Down

0 comments on commit 71bff36

Please sign in to comment.