microsoft / microsoft/foldingdiff

Error when calculating Maximum training similarity TM scores

Open
#32 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
568
Forks
74
Avg merge
20h 2m
Merged PRs (30d)
1

Description

After generating the sampled_pdb and running the bin/tmscore_training.py, the following error always occurs:

File "~/foldingdiff/foldingdiff/tmalign.py", line 54, in run_tmalign
return results_dict["Chain_2"] # Normalize by reference length
KeyError: 'Chain_2'

After handling this with exception, I find that no sequence contains this key. And the warning of Cannot parse file: ~/foldingdiff/data/cath/dompdb/2qe7G01. Chain number 0. also appears for each pdb file.

May I ask which part I might have missed or is there a bug the the data/code?

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

Run bin/tmscore_training.py after generating sampled_pdb and reproduce the KeyError in foldingdiff/tmalign.py at run_tmalign. Inspect the warning for data/cath/dompdb/2qe7G01 and the TM-score parsing path to determine whether the input data or code causes the missing Chain_2 entry. Done means identifying and resolving the cause across the affected PDB files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.