sokrypton / sokrypton/ColabFold

Error when using --save-single or pair-representations argument : NoneType object is not subscriptable

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

Hi Everyone. Whenever I try to save embeddings for my protein sequence I get an error suggesting nothing is returned from running the model.

Running the multimer model on a protein complex (in csv file format) does not work:
colabfold_batch --amber --templates --numer_recycle 3 model_type=AlphaFold2-multimer-v2 --save-pair-representations protein_complex.csv output_folder

However, running the simple model on a monomer fasta file works as expected:
colabfold_batch --amber --templates --number_recycle 3 --save-pair-representations monomer.fasta output_folder

Does save-pair-representations or single-representations not work for protein complexes or is there a bug?

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 by reproducing the error with the colabfold_batch command, --save-pair-representations, and the protein-complex CSV described here, then compare it with the working monomer FASTA command. Trace why saving representations receives None; done means the multimer command saves the requested representations without the NoneType error.

Written by the indexing model from the issue text.

Assessment

Domain
bioinformatics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.