Skip to content

Commit

Permalink
feat(katana): Added katana config
Browse files Browse the repository at this point in the history
  • Loading branch information
nbtm-sh committed Sep 5, 2024
1 parent 0795469 commit 5fe8e1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions modules/local/run_alphafold2_pred.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ process RUN_ALPHAFOLD2_PRED {
'docker://nfcore/proteinfold_alphafold2_split:1.0.0' :
'nfcore/proteinfold_alphafold2_split:1.0.0' }"
echo 'true'

input:
tuple val(meta), path(fasta)
val db_preset
Expand Down Expand Up @@ -38,9 +37,10 @@ process RUN_ALPHAFOLD2_PRED {
def args = task.ext.args ?: ''
"""
echo \$PWD
if [ -d ${params.alphafold2_db}/${params.alphafold2_params_path} ];
then ln -r -s params/alphafold_params_*/* params/
fi
#if [ -d ${params.alphafold2_params_path} ];
#then
ln -r -f -s ${params.alphafold2_params_path}* params/
#fi
python3 /app/alphafold/run_predict.py \
--fasta_paths=${fasta} \
--model_preset=${alphafold2_model_preset} \
Expand Down
4 changes: 3 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ params {

}

spack.enabled = true

// Load base.config by default for all pipelines
includeConfig 'conf/base.config'
includeConfig 'conf/katana.config'

// Load nf-core custom profiles from different Institutions
try {
Expand Down
2 changes: 1 addition & 1 deletion pf_files/proteinfold_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module load nextflow/23.04.4 java/11
module load nextflow/23.04.4 java/11 cuda/11.8.0

export SINGULARITY_CACHE_DIR=/srv/scratch/$USER/Singularity/cache
export NXF_SINGULARITY_CACHEDIR=/srv/scratch/$USER/Singularity/cache
Expand Down

0 comments on commit 5fe8e1d

Please sign in to comment.