refactor code and change algorithm used to read from many files

This commit is contained in:
coissac committed 2022-08-23 15:07:06 +02:00
1 parent bdf317819b
commit 989e678f6b
6 files changed
+157 -49

No files matched your search

+2
View File
@@ -120,7 +120,9 @@ func WriteFastaBatch(iterator obiiter.IBioSequenceBatch,
ff := func(iterator obiiter.IBioSequenceBatch) {
for iterator.Next() {
batch := iterator.Get()
chunkchan <- FileChunck{
FormatFastaBatch(batch, header_format),
batch.Order(),