You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The feature in question was deprecated in Biopython 1.79 and removed in 1.81. While GFFParser has been written to handle the removal, it had silently ignored the deprecation warning until 03e96ca was released in bcbio-gff v0.7.1.
This was by a test in one of my repos after the recent release of 0.7.1. Error message snippet:
+ /home/runner/micromamba/envs/augur/lib/python3.8/site-packages/Bio/Seq.py:2220: BiopythonDeprecationWarning: UnknownSeq(length) is deprecated; please use Seq(None, length) instead.
Workarounds
Silence deprecation warnings (similar to reverting 03e96ca).
Install biopython>=1.81 which uses a code path that avoids UnknownSeq:
Scope
bcbio-gff 0.7.1 and Biopython 1.79 or 1.80.
Description
The feature in question was deprecated in Biopython 1.79 and removed in 1.81. While GFFParser has been written to handle the removal, it had silently ignored the deprecation warning until 03e96ca was released in bcbio-gff v0.7.1.
This was by a test in one of my repos after the recent release of 0.7.1. Error message snippet:
Workarounds
biopython>=1.81
which uses a code path that avoidsUnknownSeq
:bcbb/gff/BCBio/GFF/GFFParser.py
Lines 33 to 40 in 9c6d83e
Potential solution
Remove references to
UnknownSeq
and solely use theSeq
approach. It should be available with 1.79, maybe even earlier.The text was updated successfully, but these errors were encountered: