Add a progress bar to chimera detection

This commit is contained in:
Eric Coissac
2025-03-25 08:37:27 +01:00
parent 8b379d30da
commit 2ab6f67d58
4 changed files with 27 additions and 3 deletions
+8
View File
@@ -33,6 +33,7 @@ var __output_fastobi_format__ = false
var __no_progress_bar__ = false
var __skip_empty__ = false
var __skip_on_error__ = false
var __output_file_name__ = "-"
var __paired_file_name__ = ""
@@ -97,6 +98,9 @@ func OutputOptionSet(options *getoptions.GetOpt) {
options.BoolVar(&__skip_empty__, "skip-empty", __skip_empty__,
options.Description("Sequences of length equal to zero are suppressed from the output"))
// options.BoolVar(&__skip_on_error__, "skip-on-error", __skip_on_error__,
// options.Description("Skip sequence with parsing error"))
options.BoolVar(&__output_in_fasta__, "fasta-output", false,
options.Description("Write sequence in fasta format (default if no quality data available)."))
@@ -172,6 +176,10 @@ func CLISkipEmpty() bool {
return __skip_empty__
}
func CLISkipOnError() bool {
return __skip_on_error__
}
func CLIInputFastHeaderFormat() string {
switch {
case __input_fastjson_format__: