mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Adds the --template option to obimultiplex
Former-commit-id: 349e9f278abd6a6c258f31d99ea04853a79c62de
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
@ -31,6 +32,16 @@ func main() {
|
||||
|
||||
_, args := optionParser(os.Args)
|
||||
|
||||
if obimultiplex.CLIAskConfigTemplate() {
|
||||
fmt.Print(obimultiplex.CLIConfigTemplate())
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
if !obimultiplex.CLIHasNGSFilterFile() {
|
||||
log.Error("You must provide a tag list file following the NGSFilter format")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
sequences, err := obiconvert.CLIReadBioSequences(args...)
|
||||
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user