RosettaCommons / RosettaCommons/RFdiffusion

Contigmap in Motif Scaffolding

Open
#97 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
644
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

is it possible to specify multiple contigs like: 'contigmap.contigs=[12-20/B14-16/1-5/B18-20/1-5]' when scaffolding a motif?
I have an active site which is made by non continous amino acids and I'm trying to fix those residues and diffuse the other.
From the instructions seems possible, but I get the following error. Any help is very much appreciated:

_File "/home/shared/RFdiffusion/rfdiffusion/contigs.py", line 258, in expand_sampled_mask
int(subcon.split("-")[1]) + 1,
IndexError: list index out of range

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace._

Thanks a lot!
~

Contributor guide

No contributing guide indexed for this repository

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 in rfdiffusion/contigs.py at expand_sampled_mask, line 258, and reproduce the reported command with contigmap.contigs='[12-20/B14-16/1-5/B18-20/1-5]'. Run with HYDRA_FULL_ERROR=1 to inspect the complete traceback and trace how each contig segment is parsed. Done means the requested non-contiguous motif-scaffolding input is handled consistently or its supported syntax is made explicit.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.