Biopython error: "ModuleNotFoundError: No module named 'Bio.SubsMat'"
1
0
Entering edit mode
19 months ago
Alexander ▴ 220

Making import I am getting such an error:

from Bio.SubsMat import MatrixInfo 

"ModuleNotFoundError: No module named 'Bio.SubsMat'"

Would you be so kind to suggest something ? Googling does not seem to lead to the same error.

PS

Some time ago it was working okay, see e.g. Kaggle notebook: https://www.kaggle.com/code/shtrausslearning/biopython-bioinformatics-basics?scriptVersionId=97875973&cellId=1

biopython • 4.1k views
ADD COMMENT
2
Entering edit mode
12 months ago
IkramInf ▴ 20
from Bio.Align import substitution_matrices

substitution_matrix = substitution_matrices.load('BLOSUM62')  # use matrix names to load
ADD COMMENT

Login before adding your answer.

Traffic: 2075 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6