diff --git a/Release-notes.md b/Release-notes.md index 336e320..be97334 100644 --- a/Release-notes.md +++ b/Release-notes.md @@ -7,6 +7,10 @@ - In `obipairing`, correct the stats `seq_a_single` and `seq_b_single` when on right alignment mode +- Not really a bug but the memory impact of `obiuniq` has been reduced by reducing + the batch size and not reading the qualities from the fastq files as `obiuniq` + is producing only fasta output without qualities. + ### New features - Most of the time obitools identify automatically sequence file format. But diff --git a/cmd/obitools/obiuniq/main.go b/cmd/obitools/obiuniq/main.go index cba8b73..510e8eb 100644 --- a/cmd/obitools/obiuniq/main.go +++ b/cmd/obitools/obiuniq/main.go @@ -30,6 +30,7 @@ func main() { // trace.Start(ftrace) // defer trace.Stop() + obioptions.SetBatchSize(10) obioptions.SetReadQualities(false) optionParser := obioptions.GenerateOptionParser(obiuniq.OptionSet) diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index e800a5d..2319e78 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -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 = "d29a56d" +var _Commit = "40fb4e9" var _Version = "Release 4.3.0" // Version returns the version of the obitools package.