-
Notifications
You must be signed in to change notification settings - Fork 243
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
Error in GFFParser: UnknownSeq is deprecated in biopython 1.81 #136
Comments
Thanks! This came quite surprising, was there no deprecation warning added in Biopython 1.79? At least that would have allowed us to prepare :/ |
I never saw one, but maybe the code is not using it enough to trigger the warning (just an import and isinstance check) |
Merge PR #39703, commits were: * Apply suggestions from code review * bcbio-gff: pin biopython xref chapmanb/bcbb#136
So how can we correct the code to use? |
- more details in: - mutalyzer/mutalyzer#79 - chapmanb/bcbb#136
Thanks very much for catching this issue and for the fix. There is a new 0.7.0 release on pypi that contains this fix. Apologies again about being slow to get this done and let me know if you run into any issues. |
Excellent, thanks for this @chapmanb! The bioconda recipe needs to unpin Biopython for 0.7.0 then! |
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
Merge PR bioconda#39703, commits were: * Apply suggestions from code review * bcbio-gff: pin biopython xref chapmanb/bcbb#136
There was, but it was suppressed by GFFParser. See #140 |
I think this can be closed now as of bcbio-gff 0.7.0 |
from Bio.Seq import UnknownSeq
is deprecated in biopython 1.81 ( https://github.com/biopython/biopython/blob/dcf52bd4546410e1a60d39fbcd4c0041ec1e6fe6/DEPRECATED.rst#biosequnknownseq) and we have the error below:I am reporting a problem with bcbio-gff-0.6.9, Biopython version 1.81.
The text was updated successfully, but these errors were encountered: