diff --git a/Dockerfile b/Dockerfile index a8ba35e..ea55adb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ ARG BASEIMAGE=ontresearch/base-workflow-image:v0.1.0 FROM $BASEIMAGE +ARG ENVFILE=environment.yaml -# Minimal install for example purposes -COPY environment.yaml $HOME/environment.yaml +COPY $ENVFILE $HOME/environment.yaml RUN \ . $CONDA_DIR/etc/profile.d/mamba.sh \ && micromamba activate \ diff --git a/data/OPTIONAL_FILE b/data/OPTIONAL_FILE new file mode 100644 index 0000000..65aa70a --- /dev/null +++ b/data/OPTIONAL_FILE @@ -0,0 +1,11 @@ +# Nothing to see here. A sentinel file to replace real data. +# e.g.: +# +# input: +# file some_data +# file extra_data +# script: +# def extra = extra_data.name != 'OPTIONAL_FILE' ? "--extra-data $opt" : '' +# """ +# command ${some_data} ${extra} +# """ diff --git a/nextflow.config b/nextflow.config index b24e3d6..bf538e7 100644 --- a/nextflow.config +++ b/nextflow.config @@ -65,7 +65,6 @@ profiles { awsbatch { process { executor = 'awsbatch' - //queue = "${params.aws_queue}" queue = "${params.aws_queue}" memory = '8G' withLabel:pysam {