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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: