mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
debug obigrep taxonomy options
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
|||||||
// corresponds to the last commit, and not the one when the file will be
|
// corresponds to the last commit, and not the one when the file will be
|
||||||
// commited
|
// commited
|
||||||
|
|
||||||
var _Commit = "d066bb6"
|
var _Commit = "4ae3336"
|
||||||
var _Version = "Release 4.2.0"
|
var _Version = "Release 4.2.0"
|
||||||
|
|
||||||
// Version returns the version of the obitools package.
|
// Version returns the version of the obitools package.
|
||||||
|
@ -6,7 +6,6 @@ import (
|
|||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiapat"
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiapat"
|
||||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obioptions"
|
|
||||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiseq"
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiseq"
|
||||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitax"
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitax"
|
||||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitools/obiconvert"
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitools/obiconvert"
|
||||||
@ -48,7 +47,6 @@ var _pattern_indel = false
|
|||||||
var _pattern_only_forward = false
|
var _pattern_only_forward = false
|
||||||
|
|
||||||
func TaxonomySelectionOptionSet(options *getoptions.GetOpt) {
|
func TaxonomySelectionOptionSet(options *getoptions.GetOpt) {
|
||||||
obioptions.LoadTaxonomyOptionSet(options, false, false)
|
|
||||||
|
|
||||||
options.StringSliceVar(&_BelongTaxa, "restrict-to-taxon", 1, 1,
|
options.StringSliceVar(&_BelongTaxa, "restrict-to-taxon", 1, 1,
|
||||||
options.Alias("r"),
|
options.Alias("r"),
|
||||||
@ -67,6 +65,8 @@ func TaxonomySelectionOptionSet(options *getoptions.GetOpt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SequenceSelectionOptionSet(options *getoptions.GetOpt) {
|
func SequenceSelectionOptionSet(options *getoptions.GetOpt) {
|
||||||
|
TaxonomySelectionOptionSet(options)
|
||||||
|
|
||||||
options.StringVar(&_IdList, "id-list", _IdList,
|
options.StringVar(&_IdList, "id-list", _IdList,
|
||||||
options.ArgName("FILENAME"),
|
options.ArgName("FILENAME"),
|
||||||
options.Description("<FILENAME> points to a text file containing the list of sequence record identifiers to be selected."+
|
options.Description("<FILENAME> points to a text file containing the list of sequence record identifiers to be selected."+
|
||||||
|
Reference in New Issue
Block a user