Skip to content

Commit c6a7496

Browse files
authored
Merge pull request #24 from AltinLab/test-inf-data
Checkpoint
2 parents 0d5ee87 + 7a2f177 commit c6a7496

232 files changed

Lines changed: 38895 additions & 3936 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dvc/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.dvc/config

Lines changed: 0 additions & 4 deletions
This file was deleted.

.dvcignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@ jobs:
3636
- name: Create all conda envs
3737
shell: bash -l {0}
3838
run: |
39-
conda env create -f envs/env_runner.yaml
39+
conda env create -f envs/env.yaml
40+
conda activate tcrtrifold-experiments
41+
pip install -e .
42+
conda deactivate
4043
conda env create -f envs/nf-core.yaml

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,4 @@ tmp
123123

124124
# data
125125
data/*
126-
!data/test
127-
!data/*.dvc
126+
logs
File renamed without changes.

conf/af3.config

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
2+
3+
params {
4+
compress_inf = true
5+
seeds = "1,2,3,4,5"
6+
check_inf_exists = true
7+
force_update_msa = false
8+
save_embeddings = false
9+
}
10+
11+
process {
12+
withLabel: process_local {
13+
executor = 'local'
14+
}
15+
}
16+
17+
profiles {
18+
gemini {
19+
params {
20+
af3_model_dir = "/ref_genomes/alphafold/alphafold3/models"
21+
af3_db_dir = "/ref_genomes/alphafold/alphafold3/"
22+
msa_cache_dir = "/tgen_labs/altin/alphafold3/msa"
23+
}
24+
25+
process {
26+
withLabel: alphafold3_inference {
27+
executor = 'slurm'
28+
queue = 'gpu-a100'
29+
cpus = '8'
30+
memory = '64GB'
31+
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=2:00:00'
32+
container = '/tgen_labs/altin/alphafold3/containers/alphafold_3.0.1.sif'
33+
containerOptions = '--nv -B /scratch,/tgen_labs,/ref_genomes --cleanenv'
34+
beforeScript = 'module load singularity'
35+
}
36+
37+
withLabel: alphafold3_msa {
38+
executor = 'slurm'
39+
queue = 'compute'
40+
cpus = '8'
41+
clusterOptions = '--nodes=1 --ntasks=1 --time=24:00:00'
42+
container = '/tgen_labs/altin/alphafold3/containers/alphafold_3.0.1.sif'
43+
containerOptions = '--nv -B /scratch,/tgen_labs,/ref_genomes --cleanenv'
44+
beforeScript = 'module load singularity && export SINGULARITYENV_TMPDIR=/scratch/$USER/tmp'
45+
}
46+
47+
}
48+
49+
singularity {
50+
enabled = true
51+
}
52+
53+
}
54+
55+
56+
}

conf/boltz.config

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
profiles {
3+
4+
gemini {
5+
params {
6+
boltz_cache = "/tgen_labs/altin/boltz/.boltz"
7+
}
8+
9+
process {
10+
11+
withLabel: boltz_local {
12+
executor = 'local'
13+
conda = "envs/boltz.yaml"
14+
}
15+
16+
withLabel: boltz_gpu {
17+
queue = { task.attempt == 1 ? 'gpu-v100' : 'gpu-a100' }
18+
cpus ='8'
19+
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=3:00:00'
20+
memory = '64GB'
21+
executor = "slurm"
22+
23+
errorStrategy = "retry"
24+
maxRetries = 1
25+
conda = "envs/boltz.yaml"
26+
}
27+
}
28+
}
29+
}
Lines changed: 36 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
manifest.name = "Lawson Woods"
2-
manifest.version = "0.1.0"
3-
manifest.description = "Predicting TCR:pMHC binding status using AF3"
4-
5-
nextflow.enable.moduleBinaries = true
6-
conda.enabled = true
7-
conda.createTimeout = '1 h'
8-
9-
plugins {
10-
id 'nf-parquet'
11-
}
12-
13-
includeConfig "subworkflows/tgen/af3/nextflow.config"
14-
15-
params.data_dir = "${launchDir}/data"
161

172
profiles {
183

19-
standard {
4+
gemini {
5+
6+
workDir = "/scratch/$USER/work"
7+
208
params {
219
imgt_hla_path = "/tgen_labs/altin/alphafold3/IMGTHLA"
22-
msa_dir = "/tgen_labs/altin/alphafold3/msa"
2310
boltz_cache = "/tgen_labs/altin/boltz/.boltz"
2411
}
2512

@@ -28,9 +15,18 @@ profiles {
2815
executor = 'local'
2916
}
3017

18+
withLabel: mmseqs_heavy {
19+
executor = 'slurm'
20+
queue = 'compute'
21+
cpus = '8'
22+
memory = '64GB'
23+
clusterOptions = '--time=1:00:00'
24+
conda = "envs/mmseqs.yaml"
25+
}
26+
3127
withLabel: tcrtrifold_local {
3228
executor = "local"
33-
conda = "envs/env.yaml"
29+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
3430
}
3531

3632
withLabel: tcrtrifold_heavy {
@@ -40,7 +36,16 @@ profiles {
4036
memory = '64GB'
4137
executor = "slurm"
4238
clusterOptions = '--time=8:00:00'
43-
conda = "envs/env.yaml"
39+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
40+
}
41+
42+
withLabel: tcrtrifold_gpu {
43+
queue = 'gpu-a100'
44+
cpus ='8'
45+
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=8:00:00'
46+
memory = '64GB'
47+
executor = "slurm"
48+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
4449
}
4550

4651
withLabel: tcrtrifold_very_heavy {
@@ -50,7 +55,7 @@ profiles {
5055
memory = '64GB'
5156
executor = "slurm"
5257
clusterOptions = '--time=2-00:00:00'
53-
conda = "envs/env.yaml"
58+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
5459
}
5560

5661
withLabel: tcrdock {
@@ -59,33 +64,25 @@ profiles {
5964
cpus = '8'
6065
memory = '64GB'
6166
executor = "slurm"
62-
clusterOptions = '--time=2-00:00:00'
67+
clusterOptions = '--time=12:00:00'
6368
conda = "envs/tcrdock.yaml"
6469
}
6570

66-
withLabel: boltz_local {
67-
executor = 'local'
68-
conda = "envs/boltz.yaml"
69-
}
70-
71-
withLabel: boltz_gpu {
72-
queue = { task.attempt == 1 ? 'gpu-v100' : 'gpu-a100' }
73-
cpus ='8'
74-
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=3:00:00'
75-
memory = '64GB'
76-
executor = "slurm"
71+
// withLabel: extract_feat {
72+
// executor = 'slurm'
73+
// queue = "compute"
74+
// cpus = "8"
75+
// memory = "64 GB"
76+
// clusterOptions = "--time=8:00:00"
77+
// conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
78+
// }
7779

78-
errorStrategy = "retry"
79-
maxRetries = 1
80-
conda = "envs/boltz.yaml"
81-
}
8280
}
8381
}
8482

8583
gh_runner {
8684
params {
8785
imgt_hla_path = null
88-
msa_dir = "${launchDir}/data/test/msa"
8986
}
9087

9188
process {
@@ -95,28 +92,16 @@ profiles {
9592

9693
withLabel: tcrtrifold_local {
9794
executor = "local"
98-
conda = "envs/env_runner.yaml"
95+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
9996
}
10097

10198
withLabel: tcrtrifold_heavy {
10299
executor = "local"
103-
conda = "envs/env_runner.yaml"
100+
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
104101
}
105102
}
106103
}
107104

108105

109106

110107
}
111-
112-
113-
114-
process {
115-
withLabel: extract_feat {
116-
executor = 'slurm'
117-
queue = "compute"
118-
cpus = "8"
119-
memory = "64 GB"
120-
clusterOptions = "--time=8:00:00"
121-
}
122-
}

data/cresta.dvc

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)