2022-02-14 00:01:01 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
2023-02-08 13:14:26 +01:00
|
|
|
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiiter"
|
2022-02-14 00:01:01 +01:00
|
|
|
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obiconvert"
|
|
|
|
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obidistribute"
|
|
|
|
|
|
|
|
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obioptions"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
optionParser := obioptions.GenerateOptionParser(obidistribute.OptionSet)
|
|
|
|
|
|
|
|
_, args, _ := optionParser(os.Args)
|
|
|
|
|
2022-11-16 17:13:03 +01:00
|
|
|
fs, _ := obiconvert.ReadBioSequences(args...)
|
2022-02-14 00:01:01 +01:00
|
|
|
obidistribute.DistributeSequence(fs)
|
2023-02-08 13:14:26 +01:00
|
|
|
|
|
|
|
obiiter.WaitForLastPipe()
|
|
|
|
|
2022-02-14 00:01:01 +01:00
|
|
|
}
|