Use pipeline-first OFoldX usage
Browse files
README.md
CHANGED
|
@@ -101,6 +101,11 @@ pip install ofoldx
|
|
| 101 |
Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` using the OFoldX `Auto*` interface:
|
| 102 |
|
| 103 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
from ofoldx import AutoModel
|
| 105 |
|
| 106 |
model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
|
|
|
|
| 101 |
Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` using the OFoldX `Auto*` interface:
|
| 102 |
|
| 103 |
```python
|
| 104 |
+
from ofoldx.pipelines import Pipeline
|
| 105 |
+
|
| 106 |
+
pipeline = Pipeline.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
|
| 107 |
+
output = pipeline(...)
|
| 108 |
+
|
| 109 |
from ofoldx import AutoModel
|
| 110 |
|
| 111 |
model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
|