Fix HOME env for colabfold weight download, increase resources, use v3 tag

This commit is contained in:
2026-03-26 17:46:41 +01:00
parent 844d34c04a
commit 4cd23d549b
3 changed files with 11 additions and 6 deletions

View File

@@ -14,6 +14,10 @@ RUN python3 -m pip install --upgrade pip && \
# Add user entry for UID 1000 (k8s default) to avoid getpwuid errors
RUN useradd -u 1000 -m -s /bin/bash nextflow || true
# Set HOME for UID 1000 so colabfold weights download to writable location
ENV HOME=/home/nextflow
RUN mkdir -p /home/nextflow/.cache && chmod -R 777 /home/nextflow
RUN mkdir -p /opt/bioemu/scripts/ /data /results && chmod -R 777 /data /results
COPY calculate_gibbs.py /opt/bioemu/scripts/

View File

@@ -13,7 +13,7 @@ params.temperature = 300
params.n_clusters = 5
process GENERATE_STRUCTURE_1 {
container 'harbor.cluster.omic.ai/omic/bioemu:v2'
container 'harbor.cluster.omic.ai/omic/bioemu:v3'
publishDir "${params.outdir}/${params.complex_name}/protein1", mode: 'copy'
input:
@@ -41,7 +41,7 @@ process GENERATE_STRUCTURE_1 {
}
process GENERATE_STRUCTURE_2 {
container 'harbor.cluster.omic.ai/omic/bioemu:v2'
container 'harbor.cluster.omic.ai/omic/bioemu:v3'
publishDir "${params.outdir}/${params.complex_name}/protein2", mode: 'copy'
input:
@@ -69,7 +69,7 @@ process GENERATE_STRUCTURE_2 {
}
process CALCULATE_BINDING {
container 'harbor.cluster.omic.ai/omic/bioemu:v2'
container 'harbor.cluster.omic.ai/omic/bioemu:v3'
publishDir "${params.outdir}/${params.complex_name}/analysis", mode: 'copy'
input:

View File

@@ -11,9 +11,10 @@ docker {
}
process {
container = 'harbor.cluster.omic.ai/omic/bioemu:v2'
cpus = 2
memory = '8 GB'
container = 'harbor.cluster.omic.ai/omic/bioemu:v3'
cpus = 4
memory = '16 GB'
time = '2h'
}
profiles {