Commit Graph

97 Commits

Author SHA1 Message Date
woodsh17
ecf161b4e2 Move cyclic_reses initialization to a helper function and call it for Sampler and ScaffoldedSampler 2025-11-18 15:43:09 -06:00
woodsh17
723a66408c Reverting changes to flag name, so you still use scaffoldguided.scaffoldguided=True instead of scaffoldguided_enabled 2025-11-18 12:26:26 -06:00
woodsh17
1ba79929d3 Merge remote-tracking branch 'origin/main' into fix_scaffoldguided_design 2025-11-18 10:46:28 -06:00
Hope Woods
ff20fbafef Fix workflow tests that are failing (#410)
This PR updates the tests so that all the examples run and if an example
fails then the test results in a failure as well. Changes include:

- Reformatting design_macrocyclic_binder.sh and
design_macrocyclic_monomer.sh to be submitted correctly by
test_diffusion.py
- Reducing the total length in design_tetrahedral_oligos.sh to reduce
run time of this test
- Changes to test_diffusion.py and main.yml to be able to run the
examples in different chunks so examples can run in parallel and to make
sure that if an example errors out, that the tests does not pass.

Currently design_ppi_scaffolded, design_timbarrel, and
design_ppi_flexible_peptide_with_secondarystructure_specification are
failing which should be addressed in other, future PRs.
2025-11-13 15:33:05 -06:00
woodsh17
dd7643d640 Revert "Remove try block with except FileExistsError that isn't needed"
After running the test, I found that this was needed
This reverts commit ead721f326.
2025-11-12 13:45:07 -06:00
woodsh17
ead721f326 Remove try block with except FileExistsError that isn't needed 2025-10-24 09:48:03 -05:00
woodsh17
4aea4fd65a Change design_nickel.sh num_designs back to 15 2025-10-23 12:26:00 -05:00
woodsh17
681874e6ea Reduce length for design_tetrahedral_oligos to 600 to reduce run time 2025-10-22 15:16:41 -05:00
woodsh17
be5b7b6b89 Preseed DGL so avoid examples that are ran at the same time failing 2025-10-22 15:13:35 -05:00
woodsh17
4d870c07da In setUpClass check that directory doesn't already exists, so tests do not fail before running examples 2025-10-22 10:03:07 -05:00
woodsh17
dc1867dadf Edit main.yml so workflow runs 2025-10-21 16:29:06 -05:00
woodsh17
56feb3bb4a Remove set pipefail 2025-10-21 10:09:12 -05:00
woodsh17
4dd3a5f8c0 Remove -o option from pipefail 2025-10-21 10:02:56 -05:00
woodsh17
a570b2b8bd Edit main.yml workflow so if an example fails, the test doesn't pass 2025-10-21 09:57:15 -05:00
woodsh17
260692d6c2 Edits to test_diffusion to make change setUp to setUpClass to make this a class method so examples run only once 2025-10-20 08:48:02 -05:00
woodsh17
17f315b2de Add index of chunk to test directory name 2025-10-17 12:45:28 -05:00
woodsh17
a629d43e92 Add step to cd into tests directory in main.yml 2025-10-17 11:04:32 -05:00
woodsh17
6d0036b480 Fix typo in main.yml in test_diffusion options 2025-10-17 10:57:53 -05:00
woodsh17
e2378c7358 Change num_designs in examples back to 10, since this is reset in test_diffusion.py 2025-10-17 10:51:44 -05:00
woodsh17
5dff3eb188 These changes split the examples up in chunks and runs the different chunks to speed up the workflow. 2025-10-17 10:39:26 -05:00
woodsh17
a9b748be37 Add print statement to list failed examples 2025-10-14 11:44:50 -05:00
woodsh17
778f8d4b28 Fix input_pdb path in design_macrocyclic_binder and fix incorrect call to res in test_diffusion.py 2025-10-10 15:21:04 -05:00
woodsh17
f43a81d59d Changing number of designs for examples from 10 to 2 to speed up tests 2025-10-10 13:53:59 -05:00
woodsh17
a45c3f9da7 Fail tests when example scripts exit non-zero 2025-10-10 13:41:05 -05:00
woodsh17
2d157302d3 Adjusting command format for design_macrocyclic_binder.sh and design_macrocyclic_monomer.sh 2025-10-10 09:36:45 -05:00
woodsh17
a18f99614a Address 'command' referenced before assignment error in tests 2025-10-10 09:35:57 -05:00
Hope Woods
e220924202 Retain chain and residue numbering in RFdiffusion (#348)
A number of issues (e.g., #103 , #171 ,
https://github.com/RosettaCommons/RFdiffusion/issues/312 , #315 ) have
mentioned that RFdiffusion will change the chain IDs and residue
numbering of the input structure. The designed chain ends up as chain
"A", and the fixed chain(s) end up as chain "B". The numbering is also
reset to start at 1. This can be particularly problematic in cases where
comparisons to structures are needed, as well as multi-chain situations
where all of the chains get fused.

Inspired by @GCS-ZHN 's comment and solution referenced in Issue #103 ,
I've modified the code to maintain chain and residue numbering. In
particular:

Chains that are not "designable" will retain their original chain ID
letters and residue numbers.
Chains that are partially fixed (e.g., motif re-scaffolding) will retain
their original chain ID letters. Residues will be re-numbered from 1 to
length of chain. (It was not clear to me what the "correct" behaviour of
chain residue numbering should be, given that the length of the chain
and the position of any fixed residues might change.)
Chains that are being fully generated de novo will be assigned the first
available chain ID in the alphabet not used by any other chain. Residues
will be numbered from 1 to length of chain.
2025-09-24 09:28:03 -05:00
Hope Woods
735de5edb1 Update README.md (#365)
Update README to point to new [documentation
resource](https://sites.google.com/omsf.io/rfdiffusion/overview).

I also added some text in the Installation section to 1) specify that
Sergey O.'s colab notebook only contains some of the features of
RFdiffusion and 2) that there is now a Rosetta Commons-maintained docker
image.
2025-09-23 11:38:58 -05:00
Orange
7c30fee0ab Fixed issues with designing in scaffoldguided mode, for example: design_ppi_scaffold.sh. The solutions to issues 272 and 273 did not fully address the issue. 2025-08-11 09:24:52 +00:00
Rachel Clune
25b908256a Update README.md 2025-07-16 09:37:32 -07:00
Rachel Clune
35c3af8a0a Update README.md 2025-07-14 15:58:06 -07:00
Sergey Lyskov
fa340147b9 add GitHub CI workflow for running ppi-scaffolds tests (#1) 2025-06-23 12:49:31 -06:00
David Juergens
b254828f07 Update README.md 2025-06-22 17:56:19 -07:00
David Juergens
b1ba556871 add .sh examples, gabarap pdb, import numpy 2025-06-22 17:56:19 -07:00
David Juergens
cd64c5ae72 bugfix readme 2025-06-22 17:56:19 -07:00
David Juergens
37e1d4da61 add rfpeptides img 2025-06-22 17:56:19 -07:00
David Juergens
ae036e30c6 Add RFpeptides code 2025-06-22 17:56:19 -07:00
Brahm Yachnin
d32205a17f Extend available new chains to include lowercase letters
Also print a warning if the user exceeds 52 chains (using up all upper-
and lower-case chain ids).
2025-06-17 13:24:16 -04:00
Brahm Yachnin
63e270f715 For fixed chains, retain residue numbering
For chains that are completely fixed, retain the residue numbering from
the input rather than renumbering.  For chains that are partially or
fully designed by RFdiffusion, it isn't clear to me what the 'correct'
behaviour should be, so these chains will be re-numbered starting at
residue 1.
2025-05-20 10:38:19 -04:00
Brahm Yachnin
909fc01c03 Maintains the input chain ids in RFdiffusion output
The output was previously renumbering all of the chains, making
comparisons to the input structures and handling of multi-chain inputs
challenging.  This commit maintains the input chain ids in the
output.
2025-05-16 10:31:01 -04:00
Joseph Watson
b44206a2a7 correct example 2024-08-26 10:35:40 -07:00
Joseph Watson/Watchwell
31f8091be2 Update README.md 2024-08-26 10:35:40 -07:00
Joseph Watson
f6ac51ee84 Added example 2024-08-26 10:35:40 -07:00
Joseph Watson
b819fd5aa0 Added secondary structure specification 2024-08-26 10:35:40 -07:00
Joseph Watson/Watchwell
820bfdfade Update LICENSE 2023-10-03 14:31:36 -07:00
Joseph Watson
46c0ef6803 Implemented inpaint_str and added example 2023-09-13 17:05:04 -07:00
Joseph Watson
ba8446eae0 Added input pdb for p53 case 2023-07-25 10:47:14 -07:00
Joseph Watson
47b738f604 Added p53 scaffolding example 2023-07-25 10:47:14 -07:00
Javier Castellanos
9149e5395a Fixed incorrect variable name in contig parsing 2023-07-25 10:16:40 -07:00
Sergey Lyskov
5606075d45 updating rosetta-ci test script, adding unpacking ppi scaffolds 2023-06-28 08:59:51 -07:00