Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NGS-general: update utilities for Python2/3 compatibility #141

Merged
merged 9 commits into from Sep 13, 2019

Conversation

pjbriggs
Copy link
Member

PR which updates the utilities in NGS-general for Python 2/3 compatibility:

  • manage_seqs.py: fix --version command line option which was broken under Python 3, and explicitly cast dictionary keys to a list for Python 3
  • reorder_fasta.py: switch from izip_longest in unit tests to a Python 2/3 compatible version of zip_longest
  • sam2soap.py: switch from Python2-only xrange to Python2/3 compatible version of range
  • split_fasta.py: fix --version command line option which was broken under Python 3, and add __next__ method to FastaChromIterator for Python 3
  • split_fastq.py: fix the mode used to write gzipped test files in the unit tests

@pjbriggs pjbriggs merged commit 24914c8 into devel Sep 13, 2019
@pjbriggs pjbriggs deleted the NGS-general-update-utilities-for-python3 branch September 13, 2019 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant