From 1cdfa40e163a393976276e4dcb67d9e789e3a801 Mon Sep 17 00:00:00 2001
From: "Peter J. A. Cock"
Date: Tue, 17 Nov 2026 11:45:23 +0000
Subject: [PATCH] Fix --bam-library error message valid args
See https://github.com/nextgenusfs/annorefine/
---
funannotate2/predict.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/funannotate2/predict.py b/funannotate2/predict.py
index fda293c..12a9267 100755
--- a/funannotate2/predict.py
+++ b/funannotate2/predict.py
@@ -137,7 +137,7 @@ def predict(args):
if hasattr(args, "bam") and args.bam:
if not hasattr(args, "bam_library") or not args.bam_library:
sys.stderr.write(
- "ERROR: --bam-library is required when --bam is provided. Valid options: RF, FR, UU, R, F\n"
+ "ERROR: --bam-library is required when --bam is provided. Valid options: RF, FR, UU\n"
)
raise SystemExit(1)
if not os.path.isfile(args.bam):