mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Patch for some lost of data during sequence writing
This commit is contained in:
1 parent
4117cbdd08
commit
526bf79c7f
16 files changed
+99
-10
No files matched your search
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiiter"
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obiconvert"
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obirefidx"
|
||||
|
||||
@@ -17,6 +18,7 @@ func main() {
|
||||
fs, _ := obiconvert.ReadBioSequences(args...)
|
||||
indexed := obirefidx.IndexReferenceDB(fs)
|
||||
|
||||
written, _ := obiconvert.WriteBioSequences(indexed, false)
|
||||
written.Consume()
|
||||
obiconvert.WriteBioSequences(indexed, true)
|
||||
obiiter.WaitForLastPipe()
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user