mdshw5 / pyfaidx

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

allow -v to be specified alongside -g #142

Closed daler closed 6 years ago

daler commented 6 years ago

This PR allows -v to be used to negate regular expressions specified by -g. This is useful, for example to strip out haplotypes:

faidx genome.fasta -g "_alt" -v
mdshw5 commented 6 years ago

Thanks for adding tests. The builds are failing because of a fix for #131, which is waiting on biopython 1.73 release. In the mean time I'll merge this, and go ahead and release a new pyfaidx version, with the expectation that biopython 1.73 will appear soon.

mdshw5 commented 6 years ago

Version 0.5.5 is on pypi if you need it. Thanks again!

daler commented 6 years ago

Nice, thanks for the quick turnaround!