Skip to content
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

Bio.alphabet error #27

Open
gbouras13 opened this issue Sep 13, 2022 · 0 comments
Open

Bio.alphabet error #27

gbouras13 opened this issue Sep 13, 2022 · 0 comments

Comments

@gbouras13
Copy link

Describe the bug

Hi, I installed socru using Conda v 2.2.4 and got this error when I tried it on an isolate

Traceback (most recent call last):
File "/Users/a1667917/mambaforge/envs/socru/bin/socru", line 10, in
from socru.Socru import Socru
File "/Users/a1667917/mambaforge/envs/socru/lib/python3.9/site-packages/socru/Socru.py", line 13, in
from socru.FragmentFiles import FragmentFiles
File "/Users/a1667917/mambaforge/envs/socru/lib/python3.9/site-packages/socru/FragmentFiles.py", line 4, in
from Bio.Alphabet import generic_dna
File "/Users/a1667917/mambaforge/envs/socru/lib/python3.9/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.

Additional context
This error was fixed when I commented out socru/FragmentFiles.py line 4 and socru ran fine without any issues.

George

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant