Patch the bug on --out with paired sequence files

This commit is contained in:
Eric Coissac
2025-02-27 18:13:21 +01:00
parent 75dd535201
commit 13cd4c86ac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ func BuildPairedFileNames(filename string) (string, string) {
forward := parts[0] + "_R1"
reverse := parts[0] + "_R2"
if parts[1] != "" {
if len(parts) > 1 && parts[1] != "" {
suffix := "." + parts[1]
forward += suffix
reverse += suffix