Skip to content

Biopython problems #80

Description

@Hoberti

Hi,

I find this when I run run_braker

getAnnoFastaFromJoingenes.py -g maker_out/masked_assembly.fasta.adjusted -o braker_out/308/braker_308 -t 1 -3 braker_out/308/braker_308.gff3

anaconda3/envs/fungap/bin/getAnnoFastaFromJoingenes.py
Traceback (most recent call last):
File "/anaconda3/envs/FUNGAP/bin/getAnnoFastaFromJoingenes.py", line 35, in
from Bio.Alphabet import generic_dna, generic_protein
File "anaconda3/envs/FUNGAP/lib/python3.8/site-packages/Bio/Alphabet/init.py", line 20, in
raise ImportError(
ImportError: Bio.Alphabet has been removed from Biopython. In many cases, the alphabet can simply be ignored and removed from scripts. In a few cases, you may need to specify the molecule_type as an annotation on a SeqRecord for your script to work correctly. Please see https://biopython.org/wiki/Alphabet for more information.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "anaconda3/envs/FUNGAP/bin/getAnnoFastaFromJoingenes.py", line 39, in
raise ImportError(
ImportError: Failed to import biophython modules. Try installing with "pip3 install biopython"

I find that biopython==1.79 has no more the Bio.Alphabet module, this could easily solucionated when installing biopython with pip: pip install biopython==1.75

Is this correct?

Héctor

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions