Skip to content

Commit

Permalink
Merge pull request #216 from rraadd88/patch-2
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
mdshw5 committed Jan 18, 2024
2 parents c8200e8 + 85c9f75 commit aa6b59b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyfaidx/__init__.py
Expand Up @@ -431,7 +431,8 @@ def __init__(self,
raise UnsupportedCompressionFormat(
"Compressed FASTA is only supported in BGZF format. Use "
"the samtools bgzip utility (instead of gzip) to "
"compress your FASTA."
"compress your FASTA. "
"For example: zcat file.fa.gz | samtools bgzip -c > file.fa.bgz"
)
elif self.filename.lower().endswith(('.bz2', '.zip')):
raise UnsupportedCompressionFormat(
Expand Down

0 comments on commit aa6b59b

Please sign in to comment.