11#! /usr/bin/env nextflow
2- // hash:sha256:9b16fd2671702fcc56078aa8b25ef1fb8c069f03988557476eb9af8fad550618
2+ // hash:sha256:fd6acbeeb5285b14a52855521f09dd66b08f397d1e42c2bd7b7c2835107c03aa
33
44// capsule - MOSuite-create
55process capsule_mosuite_create_2 {
66 tag ' capsule-6541445'
7- container " $REGISTRY_HOST /published/5ce5f88d-980d-4e61-b3a4-ef4a0ce48030:v3 "
7+ container " $REGISTRY_HOST /published/5ce5f88d-980d-4e61-b3a4-ef4a0ce48030:v4 "
88
99 cpus 1
1010 memory ' 7.5 GB'
@@ -26,11 +26,13 @@ process capsule_mosuite_create_2 {
2626 mkdir -p capsule/results && ln -s \$ PWD/capsule/results /results
2727 mkdir -p capsule/scratch && ln -s \$ PWD/capsule/scratch /scratch
2828
29+ ln -s "/tmp/data/nidap-1.0" "capsule/data/nidap-1.0" # id: bd9a7518-66cb-4d50-9992-df3271aeb807
30+
2931 echo "[${ task.tag} ] cloning git repo..."
3032 if [[ "\$ (printf '%s\n ' "2.20.0" "\$ (git version | awk '{print \$ 3}')" | sort -V | head -n1)" = "2.20.0" ]]; then
31- git clone --filter=tree:0 --branch v3 .0 "https://\$ GIT_ACCESS_TOKEN@\$ GIT_HOST/capsule-6541445.git" capsule-repo
33+ git clone --filter=tree:0 --branch v4 .0 "https://\$ GIT_ACCESS_TOKEN@\$ GIT_HOST/capsule-6541445.git" capsule-repo
3234 else
33- git clone --branch v3 .0 "https://\$ GIT_ACCESS_TOKEN@\$ GIT_HOST/capsule-6541445.git" capsule-repo
35+ git clone --branch v4 .0 "https://\$ GIT_ACCESS_TOKEN@\$ GIT_HOST/capsule-6541445.git" capsule-repo
3436 fi
3537 mv capsule-repo/code capsule/code && ln -s \$ PWD/capsule/code /code
3638 rm -rf capsule-repo
@@ -50,7 +52,7 @@ process capsule_mosuite_clean_1 {
5052 container " $REGISTRY_HOST /published/ab07963e-d9e0-489e-b776-70f6ef2ef73b:v2"
5153
5254 cpus 1
53- memory ' 7.5 GB'
55+ memory ' 3.75 GB'
5456
5557 publishDir " $RESULTS_PATH " , saveAs: { filename -> new File (filename). getName() }
5658
@@ -67,7 +69,7 @@ process capsule_mosuite_clean_1 {
6769
6870 export CO_CAPSULE_ID=ab07963e-d9e0-489e-b776-70f6ef2ef73b
6971 export CO_CPUS=1
70- export CO_MEMORY=8053063680
72+ export CO_MEMORY=4026531840
7173
7274 mkdir -p capsule
7375 mkdir -p capsule/data && ln -s \$ PWD/capsule/data /data
0 commit comments