sokrypton / sokrypton/ColabFold

ColabFold MSA server error in AlphaFold2.ipynb

Open
#488 1 comment 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

ColabFold MSA server returns results

Current Behavior

raise Exception(f'MMseqs2 API is giving errors. Please confirm your input is a valid protein sequence. If error persists, please try again an hour later.')

Steps to Reproduce (for bugs)

go to https://colab.research.google.com/github/sokrypton/ColabFold/blob/main/AlphaFold2.ipynb
keep all default values except for 'query_sequence', which is "AAAAAAAAAAAAAAAAAALLAAA"

ColabFold Output (for bugs)

2023-08-11 20:45:03,462 Running on GPU
2023-08-11 20:45:03,466 Found 4 citations for tools or databases
2023-08-11 20:45:03,466 Query 1/1: test_9f888_1 (length 69)
PENDING: 0%| | 0/150 [elapsed: 00:00 remaining: ?]2023-08-11 20:45:03,876 Sleeping for 6s. Reason: PENDING
ERROR: 0%| | 0/150 [elapsed: 00:06 remaining: ?]2023-08-11 20:45:10,244 Could not get MSA/templates for test_9f888_1: MMseqs2 API is giving errors. Please confirm your input is a valid protein sequence. If error persists, please try again an hour later.
Traceback (most recent call last):
File "/content/colabfold/batch.py", line 1377, in run
= get_msa_and_templates(jobname, query_sequence, a3m_lines, result_dir, msa_mode, use_templates,
File "/content/colabfold/batch.py", line 817, in get_msa_and_templates
a3m_lines = run_mmseqs2(
File "/content/colabfold/colabfold.py", line 231, in run_mmseqs2
raise Exception(f'MMseqs2 API is giving errors. Please confirm your input is a valid protein sequence. If error persists, please try again an hour later.')
Exception: MMseqs2 API is giving errors. Please confirm your input is a valid protein sequence. If error persists, please try again an hour later.
2023-08-11 20:45:10,245 Done

Context

Your Environment

N/A

Thanks

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

Reproduce the failure in AlphaFold2.ipynb using the provided query sequence and default settings. Then trace the reported path through batch.py and colabfold.py, especially run_mmseqs2 at line 231, to determine whether the error is in the notebook flow or the MMseqs2 API interaction. Done means the sequence returns MSA results or the external-service failure is clearly characterized.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
api, bioinformatics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.