Add some doc and switch to the parallel gzip library

Former-commit-id: 2c1187001f989ba3de5895f516d4c8b54d52a4c4
This commit is contained in:
2023-08-25 14:36:38 +02:00
parent 8a98210103
commit 2a11adb346
8 changed files with 233 additions and 5 deletions

View File

@ -2,7 +2,7 @@ package obiformats
import (
"bufio"
"compress/gzip"
gzip "github.com/klauspost/pgzip"
"io"
"os"
"path"
@ -52,7 +52,7 @@ func ReadSequencesFromFile(filename string,
var err error
options = append(options, OptionsSource(obiutils.RemoveAllExt((path.Base(filename)))))
file, err = os.Open(filename)
if err != nil {