Skip to content

Commit

Permalink
Add a warning about BGZF support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshw5 authored May 5, 2017
1 parent 4c140c2 commit e9ea3c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyfaidx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

dna_bases = re.compile(r'([ACTGNactgnYRWSKMDVHBXyrwskmdvhbx]+)')

__version__ = '0.4.8.4'
__version__ = '0.4.8.5'


class FastaIndexingError(Exception):
Expand Down Expand Up @@ -301,6 +301,7 @@ def __init__(self, filename, default_seq=None, key_function=lambda x: x.split()[
raise ImportError(
"BioPython must be installed to read gzipped files.")
else:
warnings.warn("BGZF support is still experimental. See https://github.com/mdshw5/pyfaidx/issues/77", FutureWarning)
self._fasta_opener = bgzf.open
self._bgzf = True
elif filename.lower().endswith('.bz2') or filename.lower().endswith('.zip'):
Expand Down

0 comments on commit e9ea3c4

Please sign in to comment.