Small adjustment

This commit is contained in:
2022-10-27 11:18:44 +02:00
parent 8aa323dad5
commit f3ddac0f50
10 changed files with 218 additions and 155 deletions

View File

@@ -0,0 +1,27 @@
package obicleandb
import (
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obiconvert"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obigrep"
"github.com/DavidGamba/go-getoptions"
)
var _UpdateTaxids = false
func ObicleanDBOptionSet(options *getoptions.GetOpt) {
options.BoolVar(&_UpdateTaxids, "update-taxids", _UpdateTaxids,
options.Description("Indicates if decrecated Taxids must be corrected."))
}
func OptionSet(options *getoptions.GetOpt) {
obiconvert.InputOptionSet(options)
obiconvert.OutputOptionSet(options)
obigrep.TaxonomySelectionOptionSet(options)
ObicleanDBOptionSet(options)
}
func CLIUpdateTaxids() bool {
return _UpdateTaxids
}