mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
First attempt for obiconsensus... The graph traversing algorithm is too simple
Former-commit-id: 0456e6c7fd55d6d0fcf9856c40386b976b912cba
This commit is contained in:
@ -16,7 +16,7 @@ func ReadSequencesBatchFromFiles(filenames []string,
|
||||
reader = ReadSequencesFromFile
|
||||
}
|
||||
|
||||
batchiter := obiiter.MakeIBioSequence(0)
|
||||
batchiter := obiiter.MakeIBioSequence()
|
||||
nextCounter := obiutils.AtomicCounter()
|
||||
|
||||
batchiter.Add(concurrent_readers)
|
||||
@ -48,6 +48,8 @@ func ReadSequencesBatchFromFiles(filenames []string,
|
||||
|
||||
log.Printf("Start reading of file : %s", filename)
|
||||
|
||||
|
||||
|
||||
for iter.Next() {
|
||||
batch := iter.Get()
|
||||
batchiter.Push(batch.Reorder(nextCounter()))
|
||||
|
Reference in New Issue
Block a user