Skip to content

Commit

Permalink
Add a better bgzip example command
Browse files Browse the repository at this point in the history
Updates #216
  • Loading branch information
mdshw5 committed Jan 19, 2024
1 parent aa6b59b commit 567f4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfaidx/__init__.py
Expand Up @@ -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(
Expand Down

0 comments on commit 567f4e0

Please sign in to comment.