-
Notifications
You must be signed in to change notification settings - Fork 75
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
Allow reference sequence to be returned always as upper case. #71
Conversation
|
Thanks for the pull request. If you add a test case for this (maybe here) then I'll merge and push a new PyPI release. It would also be great if you document this feature in the Readme. |
As data tests, I'm downloading the gens right now, if there is already an example with smaller case I could use that directly. |
Make a copy of genes.fasta called "genes.fasta.lower" for #71 test case.
The script that generates the test data now generates a file called "genes.fasta.lower". This file should work for testing your contribution. You don't even have to test against a particular sequence, you could: assert Fasta(sequence_always_upper=True)['gi|557361099|gb|KF435150.1|'] == Fasta()['gi|557361099|gb|KF435150.1|'].seq.upper() and do the same for the |
@mdshw5 I have updated the test to use README updated with the example. Should go green. |
Allow reference sequence to be returned always as upper case.
Looks great - thanks for the contribution! |
do you have an idea when the next release with this fix will be out? |
Thanks for reminding me. I just pushed the release through CI. When the tests pass a new version will be pushed to PyPI. Should happen some time this morning.
|
Looks like it's done. |
This is just a merge request to allow to return the sequence always as upper case, both in the raw and in the sequence format.
We have this user case in our case.