Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .dvc/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .dvc/config

This file was deleted.

4 changes: 0 additions & 4 deletions .dvcignore

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ jobs:
- name: Create all conda envs
shell: bash -l {0}
run: |
conda env create -f envs/env_runner.yaml
conda env create -f envs/env.yaml
conda activate tcrtrifold-experiments
pip install -e .
conda deactivate
conda env create -f envs/nf-core.yaml
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,4 @@ tmp

# data
data/*
!data/test
!data/*.dvc
logs
File renamed without changes.
56 changes: 56 additions & 0 deletions conf/af3.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@


params {
compress_inf = true
seeds = "1,2,3,4,5"
check_inf_exists = true
force_update_msa = false
save_embeddings = false
}

process {
withLabel: process_local {
executor = 'local'
}
}

profiles {
gemini {
params {
af3_model_dir = "/ref_genomes/alphafold/alphafold3/models"
af3_db_dir = "/ref_genomes/alphafold/alphafold3/"
msa_cache_dir = "/tgen_labs/altin/alphafold3/msa"
}

process {
withLabel: alphafold3_inference {
executor = 'slurm'
queue = 'gpu-a100'
cpus = '8'
memory = '64GB'
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=2:00:00'
container = '/tgen_labs/altin/alphafold3/containers/alphafold_3.0.1.sif'
containerOptions = '--nv -B /scratch,/tgen_labs,/ref_genomes --cleanenv'
beforeScript = 'module load singularity'
}

withLabel: alphafold3_msa {
executor = 'slurm'
queue = 'compute'
cpus = '8'
clusterOptions = '--nodes=1 --ntasks=1 --time=24:00:00'
container = '/tgen_labs/altin/alphafold3/containers/alphafold_3.0.1.sif'
containerOptions = '--nv -B /scratch,/tgen_labs,/ref_genomes --cleanenv'
beforeScript = 'module load singularity && export SINGULARITYENV_TMPDIR=/scratch/$USER/tmp'
}

}

singularity {
enabled = true
}

}


}
29 changes: 29 additions & 0 deletions conf/boltz.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

profiles {

gemini {
params {
boltz_cache = "/tgen_labs/altin/boltz/.boltz"
}

process {

withLabel: boltz_local {
executor = 'local'
conda = "envs/boltz.yaml"
}

withLabel: boltz_gpu {
queue = { task.attempt == 1 ? 'gpu-v100' : 'gpu-a100' }
cpus ='8'
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=3:00:00'
memory = '64GB'
executor = "slurm"

errorStrategy = "retry"
maxRetries = 1
conda = "envs/boltz.yaml"
}
}
}
}
87 changes: 36 additions & 51 deletions workflows/nextflow.config → conf/local.config
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
manifest.name = "Lawson Woods"
manifest.version = "0.1.0"
manifest.description = "Predicting TCR:pMHC binding status using AF3"

nextflow.enable.moduleBinaries = true
conda.enabled = true
conda.createTimeout = '1 h'

plugins {
id 'nf-parquet'
}

includeConfig "subworkflows/tgen/af3/nextflow.config"

params.data_dir = "${launchDir}/data"

profiles {

standard {
gemini {

workDir = "/scratch/$USER/work"

params {
imgt_hla_path = "/tgen_labs/altin/alphafold3/IMGTHLA"
msa_dir = "/tgen_labs/altin/alphafold3/msa"
boltz_cache = "/tgen_labs/altin/boltz/.boltz"
}

Expand All @@ -28,9 +15,18 @@ profiles {
executor = 'local'
}

withLabel: mmseqs_heavy {
executor = 'slurm'
queue = 'compute'
cpus = '8'
memory = '64GB'
clusterOptions = '--time=1:00:00'
conda = "envs/mmseqs.yaml"
}

withLabel: tcrtrifold_local {
executor = "local"
conda = "envs/env.yaml"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}

withLabel: tcrtrifold_heavy {
Expand All @@ -40,7 +36,16 @@ profiles {
memory = '64GB'
executor = "slurm"
clusterOptions = '--time=8:00:00'
conda = "envs/env.yaml"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}

withLabel: tcrtrifold_gpu {
queue = 'gpu-a100'
cpus ='8'
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=8:00:00'
memory = '64GB'
executor = "slurm"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}

withLabel: tcrtrifold_very_heavy {
Expand All @@ -50,7 +55,7 @@ profiles {
memory = '64GB'
executor = "slurm"
clusterOptions = '--time=2-00:00:00'
conda = "envs/env.yaml"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}

withLabel: tcrdock {
Expand All @@ -59,33 +64,25 @@ profiles {
cpus = '8'
memory = '64GB'
executor = "slurm"
clusterOptions = '--time=2-00:00:00'
clusterOptions = '--time=12:00:00'
conda = "envs/tcrdock.yaml"
}

withLabel: boltz_local {
executor = 'local'
conda = "envs/boltz.yaml"
}

withLabel: boltz_gpu {
queue = { task.attempt == 1 ? 'gpu-v100' : 'gpu-a100' }
cpus ='8'
clusterOptions = '--nodes=1 --ntasks=1 --gres=gpu:1 --time=3:00:00'
memory = '64GB'
executor = "slurm"
// withLabel: extract_feat {
// executor = 'slurm'
// queue = "compute"
// cpus = "8"
// memory = "64 GB"
// clusterOptions = "--time=8:00:00"
// conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
// }

errorStrategy = "retry"
maxRetries = 1
conda = "envs/boltz.yaml"
}
}
}

gh_runner {
params {
imgt_hla_path = null
msa_dir = "${launchDir}/data/test/msa"
}

process {
Expand All @@ -95,28 +92,16 @@ profiles {

withLabel: tcrtrifold_local {
executor = "local"
conda = "envs/env_runner.yaml"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}

withLabel: tcrtrifold_heavy {
executor = "local"
conda = "envs/env_runner.yaml"
conda = "$HOME/miniconda3/envs/tcrtrifold-experiments"
}
}
}



}



process {
withLabel: extract_feat {
executor = 'slurm'
queue = "compute"
cpus = "8"
memory = "64 GB"
clusterOptions = "--time=8:00:00"
}
}
6 changes: 0 additions & 6 deletions data/cresta.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/cresta_new.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/iedb_II_10x_neg.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/iedb_II_1x_neg.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/iedb_I_10x_neg.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/iedb_I_1x_neg.dvc

This file was deleted.

6 changes: 0 additions & 6 deletions data/pdb.dvc

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed data/test/triad/triad/staged/test_triad.conf.parquet
Binary file not shown.
6 changes: 3 additions & 3 deletions envs/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- pip
- python
- ipykernel

# to enable pip install of anarci
- hmmer=3.3.2
# for pandas interop
Expand All @@ -14,7 +15,6 @@ dependencies:

- matplotlib
- umap-learn
- pytorch

- anarci
- editdistance
Expand All @@ -30,6 +30,6 @@ dependencies:

- pip:
- git+https://github.com/ljwoods2/mdaf3.git@main
- -e /tgen_labs/altin/alphafold3/workspace/tcrtrifold-experiments
- tcrdist3
- torch_geometric
- torch_geometric
- torch
33 changes: 0 additions & 33 deletions envs/env_runner.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion envs/tcrdock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ channels:
dependencies:
- pip
- python
- blast
- blast<2.17
- anarci


- pip:
Expand Down
1 change: 1 addition & 0 deletions main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// dummy file- needed for nextlow
Loading
Loading