mdshw5 / pyfaidx

Efficient pythonic random access to fasta subsequences
https://pypi.python.org/pypi/pyfaidx
Other
459 stars 75 forks source link

Add indexname kwarg to Faidx and Fasta #192

Closed mdshw5 closed 2 years ago

mdshw5 commented 2 years ago

This adds support for specifying an .fai index file at an arbitrary filesystem location or fsspec. First suggested in #190.

mdshw5 commented 2 years ago

There are lots of edge cases I hadn't considered here, and this shouldn't be considered a good implementation.