Adjust the size of the genbank and embl buffer size

This commit is contained in:
Eric Coissac
2024-08-05 11:32:37 +02:00
parent 886b5d9a96
commit 3f57935328
4 changed files with 6 additions and 8 deletions

View File

@ -223,7 +223,7 @@ func ReadGenbank(reader io.Reader, options ...WithOption) (obiiter.IBioSequence,
opt := MakeOptions(options)
// entry_channel := make(chan _FileChunk)
buff := make([]byte, 1024*1024*512)
buff := make([]byte, 1024*1024*128) // 128 MB
entry_channel := ReadSeqFileChunk(
opt.Source(),