Skip to content

Commit ecf01b7

Browse files
Update README.md
Add example of user config section in `run_singularity.py`
1 parent c0dc7f2 commit ecf01b7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ section marked `USER CONFIGURATION`. At the least, you will need to modify the v
3737
of:
3838
- `DOWNLOAD_DIR` - location where AlphaFold databases are downloaded
3939
- `singularity_image` - absolute path to the `alphafold.sif` Singularity image
40+
41+
E.g.
42+
```
43+
#### USER CONFIGURATION ####
44+
# Set to target of scripts/download_all_databases.sh
45+
DOWNLOAD_DIR = os.environ['ALPHAFOLD_DATADIR']
46+
47+
# AlphaFold Singularity image.
48+
singularity_image = Client.load(os.path.join(os.environ['ALPHAFOLD_DIR'], 'alphafold.sif'))
49+
```

0 commit comments

Comments
 (0)