You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-57Lines changed: 51 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,52 +12,40 @@ This repository contains the code for the [associated preprint](https://www.bior
12
12
publisher={Cold Spring Harbor Laboratory}
13
13
}
14
14
```
15
+
## Documentation
16
+
More information and documentation can be found [here](https://rosettacommons.github.io/RFDpoly/).
15
17
16
-
You can clone this repository using git, then inference can be run when you have downloaded model weights and the necessary apptainer to run (see below).
17
-
18
-
To download model weights:
19
-
*[click here for the best RNA-design weights](https://files.ipd.uw.edu/pub/2025_RFDpoly/train_session2024-07-08_1720455712_BFF_3.00.pt)
20
-
*[click here for the best general multi-polymer weights](https://files.ipd.uw.edu/pub/2025_RFDpoly/train_session2024-06-27_1719522052_BFF_7.00.pt)
21
-
22
-
This software runs using apptainers. To download the associated apptainer `.sif` file, [click here](https://files.ipd.uw.edu/pub/2025_RFDpoly/SE3nv.sif)
23
-
Equivalent setup instructions for conda are in progress.
24
-
25
-
Once you have these files, you can follow the [design tutorial](https://github.com/RosettaCommons/RFDpoly/blob/main/RFDpoly_tutorial.pdf) to see various design tasks and the associated documentation/syntax.
18
+
## Installation and setup
26
19
27
-
Contact [email protected] if you have trouble accessing files or hit any bugs.
Equivalent python environments can be set up using conda, or an environment manager of your choice.
86
-
All dependencies and packages are specified in the files found in `rf_diffusion/environment` (see `environment.yml` and `SE3nv.spec`)
76
+
In this example, RFDpoly will create a single design
77
+
with three chains:
78
+
1. A DNA chain with 33 segments
79
+
2. An RNA chain with 33 segments
80
+
3. A protein chain with 75 residues
81
+
82
+
Make a directory to store the outputs of the demo and store
83
+
it in the `DESIGN_DIR` environment variable:
84
+
```bash
85
+
export DESIGN_DIR=/path/to/your/output/directory
86
+
```
87
87
88
-
## Testing that everything works (the *DEMO*):
89
-
Change directory to run from within the RFDpoly directory useful for filepath searches if you are not providing an input pdb), and run example inference script.
90
-
Be sure to specify your desired output directory with `$DESIGN_DIR`.
explanation: model initialization searches for an input pdb filepath, even if you aren't performing motif scaffolding. Providing a (real) dummy filepath will fix this is the default search paths are unsuccessful.
120
117
121
-
**Expected output:** a three chain .pdb file, containing a complex of DNA (chain A), RNA (chain B), and protein (chain C).
122
118
**NOTE:** using the `--config-name=multi_polymer` specification is the best way to ensure that all settings work together as expected, and are consistent with the behavior reported in the manuscript.
123
119
124
120
## If the example (demo) command above works, proceed to exploration of the full [design tutorial](https://github.com/RosettaCommons/RFDpoly/blob/main/RFDpoly_tutorial.pdf).
125
121
The full design tutorial contains many inference commands for the types of designs reported in the RFDpoly paper.
126
-
The design tutorial also is intented to provide documentation, and explain arguments in the context of their use-cases.
127
-
122
+
The design tutorial is intended to provide documentation, and explain arguments in the context of their use-cases.
128
123
124
+
Contact **[email protected]** if you have trouble accessing files or hit any bugs.
129
125
130
126
# Additional Software Policy checklist items:
131
127
## System requirements
@@ -134,10 +130,8 @@ The design tutorial also is intented to provide documentation, and explain argum
134
130
- Primary workflow: Linux host with [Apptainer](https://apptainer.org/) ≥ 1.1 (or Singularity equivalent). The bundled container image runs Ubuntu 22.04.2 LTS.
135
131
- Alternative workflow: macOS 13+/Windows 11 via Conda (CPU only unless you install CUDA-capable PyTorch wheels).
136
132
-**Software dependencies**
137
-
- Apptainer runtime to execute `SE3nv.sif`.
138
133
- For native/Conda installs: Python 3.10, PyTorch 1.13.1, CUDA 11.7 toolchain (if using an NVIDIA GPU), PyRosetta 2023.09+, DGL 1.0.1, e3nn 0.5.1, hydra-core 1.3.2, and the packages listed in `rf_diffusion/environment/environment.yml`.
139
134
-**NOTE:** All dependencies are specified in `rf_diffusion/environment/`, such that users can set up an equivalent working environment on any operating system.
140
-
- Downloaded assets: model checkpoints (`*.pt`, ~2.3 GB each) and the container image (`SE3nv.sif`, ~8 GB).
141
135
-**Tested configurations**
142
136
- Ubuntu 22.04 host with Apptainer 1.1.9, NVIDIA driver ≥ 515, CUDA 11.7 runtime.
143
137
- PyTorch 1.13.1+cu117, Python 3.10.8, PyRosetta 2023.09 inside the container.
If the apptainer image is not compatible with your system
30
+
or you are doing development with RFDpoly, you can create
31
+
a [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [mamba](https://mamba.readthedocs.io/en/latest/user_guide/mamba.html) environment with a provided `environment.yml` file:
If using the `environment.yml` file does not work, please
57
+
create an issue. Or, if you modified the `.yml` file to
58
+
work for your system, make a pull request to add it to
59
+
the `rf_diffusion/environment` folder.
60
+
61
+
### MacOS
62
+
If the apptainer image is not compatible with your system
63
+
or you are doing development with RFDpoly, you can create
64
+
a [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [mamba](https://mamba.readthedocs.io/en/latest/user_guide/mamba.html) environment with a provided `macos_environment.yml` file:
0 commit comments