mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
reduce the memory impact of obiuniq.
This commit is contained in:
@ -27,6 +27,7 @@ var _PprofMudex = 10
|
||||
var _PprofGoroutine = 6060
|
||||
var _Quality_Shift_Input = byte(33)
|
||||
var _Quality_Shift_Output = byte(33)
|
||||
var _Read_Qualities = true
|
||||
|
||||
type ArgumentParser func([]string) (*getoptions.GetOpt, []string)
|
||||
|
||||
@ -259,6 +260,10 @@ func CLIBatchSize() int {
|
||||
return _BatchSize
|
||||
}
|
||||
|
||||
func CLIReadQualities() bool {
|
||||
return _Read_Qualities
|
||||
}
|
||||
|
||||
// SetDebugOn sets the debug mode on.
|
||||
func SetDebugOn() {
|
||||
_Debug = true
|
||||
@ -269,6 +274,10 @@ func SetDebugOff() {
|
||||
_Debug = false
|
||||
}
|
||||
|
||||
func SetReadQualities(status bool) {
|
||||
_Read_Qualities = status
|
||||
}
|
||||
|
||||
// SetWorkerPerCore sets the number of workers per CPU core.
|
||||
//
|
||||
// It takes a float64 parameter representing the number of workers
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
// TODO: The version number is extracted from git. This induces that the version
|
||||
// corresponds to the last commit, and not the one when the file will be
|
||||
// commited
|
||||
var _Commit = "7884a74"
|
||||
var _Commit = "d29a56d"
|
||||
var _Version = "Release 4.3.0"
|
||||
|
||||
// Version returns the version of the obitools package.
|
||||
|
Reference in New Issue
Block a user