Skip to content

Error in GFFParser: UnknownSeq is deprecated in biopython 1.81 #136

Description

@Kmassau

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:

    from BCBio.GFF.GFFParser import GFFParser, DiscoGFFParser, GFFExaminer, parse, parse_simple
/usr/local/lib/python3.9/site-packages/BCBio/GFF/GFFParser.py:34: in <module>
    from Bio.Seq import UnknownSeq
E   ImportError: cannot import name 'UnknownSeq' from 'Bio.Seq' (/usr/local/lib/python3.9/site-packages/Bio/Seq.py)

I am reporting a problem with bcbio-gff-0.6.9, Biopython version 1.81.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions