Skip to content

Commit d5aa817

Browse files
authored
Update README.md
1 parent 41af865 commit d5aa817

File tree

1 file changed

+76
-4
lines changed

1 file changed

+76
-4
lines changed

README.md

Lines changed: 76 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,85 @@ python3 --version
5555
snakedeploy deploy-workflow \
5656
https://github.com/KosinskiLab/AlphaPulldownSnakemake \
5757
AlphaPulldownSnakemake \
58-
--tag 1.3.0
58+
--tag 2.2.0
5959
cd AlphaPulldownSnakemake
6060
```
6161

6262
## Configuration
6363

64-
Adjust `config/config.yaml` for your particular use case.
64+
Adjust `config/config.yaml` for your particular use case:
65+
```yaml
66+
# List of input sample sheets
67+
input_files:
68+
- config/sample_sheet.csv
69+
70+
# Delimiter used in protein names
71+
protein_delimiter: "_"
72+
73+
# Directory where all output files will be stored
74+
output_directory: /path/to/output/directory
75+
76+
# Path to AlphaFold database containing required weights and files
77+
alphafold_data_directory: /scratch/AlphaFold_DBs/2.3.2
78+
79+
# Directories containing precomputed features
80+
feature_directory:
81+
- "/path/to/directory/with/features1"
82+
- "/path/to/directory/with/features2"
83+
84+
# If True, only generate features without running structure prediction
85+
only_generate_features: False
86+
87+
# Whether to enable job clustering
88+
cluster_jobs: False
89+
90+
# Bin size for clustering
91+
clustering_bin_size: 150
92+
93+
# Arguments for feature generation
94+
create_feature_arguments:
95+
--save_msa_files: False # Save multiple sequence alignment (MSA) files
96+
--use_precomputed_msas: True # Use precomputed MSA files if available
97+
--max_template_date: 2050-01-01 # Set maximum template date to include all templates
98+
--compress_features: False # Do not compress generated features
99+
100+
# Arguments for structure inference
101+
structure_inference_arguments:
102+
--num_predictions_per_model: 5 # Number of predictions per model
103+
--num_cycle: 24 # Number of recycles during structure prediction
104+
105+
# Arguments for structure analysis
106+
analyze_structure_arguments:
107+
--cutoff: 100.0 # Cutoff for structure analysis
108+
109+
# Arguments for report generation
110+
generate_report_arguments:
111+
--cutoff: 100.0 # Cutoff for structure report generation
112+
113+
# Memory allocation settings for feature creation and structure inference
114+
feature_create_ram_bytes: 64000
115+
feature_create_ram_scaling: 1.1
116+
structure_inference_ram_bytes: 32000
117+
118+
# Number of threads for AlphaFold inference
119+
alphafold_inference_threads: 8
120+
121+
# SLURM parameters for inference execution
122+
alphafold_inference: >
123+
gres=gpu:1 partition=gpu-el8
124+
qos=high constraint=gpu=3090
125+
126+
# Specify the backend by changing the prediction container
127+
# (you can also use local singularity .sif files)
128+
# - "docker://kosinskilab/fold" for AlphaFold 2
129+
# - "docker://kosinskilab/alphafold3" for AlphaFold 3
130+
# - "docker://kosinskilab/alphalink" for AlphaLink
131+
# - "/path/to/my/container.sif"
132+
prediction_container: "docker://kosinskilab/fold:latest"
133+
134+
# Container for structure analysis
135+
analysis_container: "docker://kosinskilab/fold_analysis:latest"
136+
```
65137

66138
### input_files
67139
This variable holds the path to your sample sheet, where each line corresponds to a folding job. For this pipeline we use the following format specification:
@@ -134,7 +206,7 @@ After following the Installation and Configuration steps, you are now ready to r
134206
snakemake \
135207
--use-singularity \
136208
--singularity-args "-B /scratch:/scratch \
137-
-B /g/kosinski:/g/kosinski \
209+
--bind /my/disk:/my/disk \
138210
--nv " \
139211
--jobs 200 \
140212
--restart-times 5 \
@@ -151,7 +223,7 @@ Here's a breakdown of what each argument does:
151223
- `--use-singularity`: Enables the use of Singularity containers. This allows for reproducibility and isolation of the pipeline environment.
152224

153225
- `--singularity-args`: Specifies arguments passed directly to Singularity. In the provided example:
154-
- `-B /scratch:/scratch` and `-B /g/kosinski:/g/kosinski`: These are bind mount points. They make directories from your host system accessible within the Singularity container. `--nv` ensures the container can make use of the hosts GPUs.
226+
- `--bind /scratch:/scratch` and `--bind /my/disk:/my/disk`: These are bind mount points. They make directories from your host system accessible within the Singularity container. `--nv` ensures the container can make use of the hosts GPUs.
155227

156228
- `--profile name_of_your_profile`: Specifies the Snakemake profile to use (e.g., the SLURM profile you set up for cluster execution).
157229

0 commit comments

Comments
 (0)