mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-10 09:40:27 +00:00
code refactoring. Prefix function name having behaviour depending on command line option by the prefix CLI
This commit is contained in:
@@ -30,15 +30,16 @@ func main() {
|
||||
optionParser := obioptions.GenerateOptionParser(obipairing.OptionSet)
|
||||
|
||||
optionParser(os.Args)
|
||||
pairs, _ := obipairing.IBatchPairedSequence()
|
||||
pairs, _ := obipairing.CLIPairedSequence()
|
||||
paired := obipairing.IAssemblePESequencesBatch(pairs,
|
||||
obipairing.GapPenality(),
|
||||
obipairing.Delta(),
|
||||
obipairing.MinOverlap(),
|
||||
obipairing.MinIdentity(),
|
||||
obipairing.WithStats(),
|
||||
obipairing.CLIGapPenality(),
|
||||
obipairing.CLIDelta(),
|
||||
obipairing.CLIMinOverlap(),
|
||||
obipairing.CLIMinIdentity(),
|
||||
obipairing.CLIWithStats(),
|
||||
obioptions.CLIParallelWorkers(),
|
||||
)
|
||||
|
||||
obiconvert.CLIWriteBioSequences(paired, true)
|
||||
|
||||
obiiter.WaitForLastPipe()
|
||||
|
||||
Reference in New Issue
Block a user