sokrypton / sokrypton/ColabFold

ModuleNotFoundError BiopythonDeprecationWarning

Open
#623 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
2.9k
Forks
747
PR merge metrics
No merged PRs in 30d

Description

Expected Behavior

Current Behavior

I'm trying to run one protein sequence with 489 amino acids and repeatedly get the same error message (see the ColabFold output).
I know that the same type of error was reported end of jan 2024, but suggestions to overcome the problem that I found there
were not helpful in my case.

Steps to Reproduce (for bugs)

Please make sure to reproduce the issue after a "Factory Reset" in Colab.
If running locally ypdate you local installation colabfold_batch to the newest version.
Please provide your input if you can share it.

ColabFold Output (for bugs)

With ColabFold v1.5.5: AlphaFold2 using MMseqs2:
Cannot get through the following error message:


ModuleNotFoundError Traceback (most recent call last)

in <cell line: 7>()
5 import warnings
6 warnings.simplefilter(action='ignore', category=FutureWarning)
----> 7 from Bio import BiopythonDeprecationWarning
8 warnings.simplefilter(action='ignore', category=BiopythonDeprecationWarning)
9 from pathlib import Path

ModuleNotFoundError: No module named 'Bio'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Context

One colleague told me that I need to check if Anaconda and Biopython are installen on my computer. Is this correct?

Your Environment

Include as many relevant details about the environment you experienced the bug in.

  • Git commit used
  • If you run it on a local system. Please add the server specifications
    People from the neighbour lab could run AlphaFold successfully, so I assume the server is not the problem.
  • Operating system and version:
    Prozessor Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz 3.00 GHz
    Installed RAM 8.00 GB
    System type 64-Bit-operation system, x64-based Prozessor

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Colab notebook cell shown in the traceback, especially the from Bio import BiopythonDeprecationWarning entry point, and compare behavior after a Colab Factory Reset or with the local colabfold_batch installation. Done means the ColabFold v1.5.5 workflow can import the referenced warning and proceed without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
bioinformatics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.