From 567f4e0038c38b16ba1633f0656aa202c149db74 Mon Sep 17 00:00:00 2001 From: Matt Shirley Date: Thu, 18 Jan 2024 21:44:31 -0500 Subject: [PATCH] Add a better bgzip example command Updates #216 --- pyfaidx/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfaidx/__init__.py b/pyfaidx/__init__.py index 53883e2..b71e637 100644 --- a/pyfaidx/__init__.py +++ b/pyfaidx/__init__.py @@ -432,7 +432,7 @@ def __init__(self, "Compressed FASTA is only supported in BGZF format. Use " "the samtools bgzip utility (instead of gzip) to " "compress your FASTA. " - "For example: zcat file.fa.gz | samtools bgzip -c > file.fa.bgz" + "For example: gunzip file.fa.gz; bgzip file.fa" ) elif self.filename.lower().endswith(('.bz2', '.zip')): raise UnsupportedCompressionFormat(