File tree Expand file tree Collapse file tree
modules/nf-core/gcta/addgrms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ process GCTA_ADDGRMS {
22 tag " ${ meta.id} "
33 label ' process_medium'
44 conda " ${ moduleDir} /environment.yml"
5- container " ${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
5+ container " ${ workflow.containerEngine in [ 'singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container
66 ? 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/46/46b0d05f0daa47561d87d2a9cac5e51edc2c78e26f1bbab439c688386241a274/data'
77 : 'community.wave.seqera.io/library/gcta:1.94.1--9bc35dc424fcf6e9'} "
88
@@ -17,17 +17,15 @@ process GCTA_ADDGRMS {
1717 task. ext. when == null || task. ext. when
1818
1919 script:
20- def extra_args = task. ext. args ?: ' '
20+ def args = task. ext. args ?: ' '
2121 def prefix = task. ext. prefix ?: " ${ meta.id} "
22-
2322 """
24-
2523 gcta \\
2624 --mgrm ${ mgrm_file} \\
2725 --make-grm \\
2826 --out ${ prefix} \\
2927 --thread-num ${ task.cpus} \\
30- ${ extra_args }
28+ ${ args }
3129 """
3230
3331 stub:
You can’t perform that action at this time.
0 commit comments