mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
improved performance
This commit is contained in:
@ -3,6 +3,7 @@ package obipcr
|
||||
import (
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiapat"
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiiter"
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obioptions"
|
||||
)
|
||||
|
||||
// PCR iterates over sequences provided by a obiseq.IBioSequenceBatch
|
||||
@ -37,5 +38,5 @@ func PCR(iterator obiiter.IBioSequenceBatch) (obiiter.IBioSequenceBatch, error)
|
||||
|
||||
worker := obiapat.PCRSliceWorker(opts...)
|
||||
|
||||
return iterator.MakeISliceWorker(worker), nil
|
||||
return iterator.MakeISliceWorker(worker, obioptions.CLIParallelWorkers(), 0), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user