-
Notifications
You must be signed in to change notification settings - Fork 242
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
Fix error with biopython 1.81 #137
Conversation
@@ -69,7 +77,7 @@ def _split_keyvals(keyval_str): | |||
|
|||
GFF3 has key value pairs like: | |||
count=9;gene=amx-2;sequence=SAGE:aacggagccg | |||
GFF2 and GTF have: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you don't use auto-formatting your PR would be easier to review! Thanks for giving this a stab!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(s/remove/review/ presumably)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, sorry, I figured auto-formatting is enabled everywhere by default now anyway, and the diff is not so huge
ping @chapmanb in case you were not notified :) |
Pending BCBio fix: chapmanb/bcbb#137
Pending BCBio fix: chapmanb/bcbb#137
Thanks so much for the fix and apologies for being slow in getting it merged. I'll roll a new release right now as well. Really appreciate you being on top of this. |
Wonderful thanks a lot for the merge and release @chapmanb! 👍 |
Biopython was fixed to <=1.80 in #1152 because bcbio-gff <=0.6.9 requires deprecated Biopython functionality that was removed in 1.81 A fix to bcbio-gff was released as 0.7.0, see chapmanb/bcbb#137 chapmanb/bcbb#136 So now we can pin bcbio-gff to >=0.7.0 and remove the pin of Biopython Note added in #1170 can hence be removed
Biopython was fixed to <=1.80 in #1152 because bcbio-gff <=0.6.9 requires deprecated Biopython functionality that was removed in 1.81 A fix to bcbio-gff was released as 0.7.0, see chapmanb/bcbb#137 chapmanb/bcbb#136 So now we can pin bcbio-gff to >=0.7.0 and remove the pin of Biopython Note added in #1170 can hence be removed
A possible solution for #136, tested on a minimal sample with python 3.9. Any review/test is welcome to make sure it works in all situations.
With this patch, bcbio-gff should work equally with biopython <=1.80 and biopython 1.81
I know bcbio-gff is not actively maintained anymore, but there's still a ton of code using it, so having a new release with this fix would make life easier