File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,11 @@ process ASPERA_CLI {
1818
1919 script:
2020 def args = task. ext. args ?: ' '
21+ def conda_prefix = [' singularity' , ' apptainer' ]. contains(workflow. containerEngine) ? " export CONDA_PREFIX=/usr/local" : " "
2122 if (meta. single_end) {
2223 """
24+ $conda_prefix
25+
2326 ascp \\
2427 $args \\
2528 -i \$ CONDA_PREFIX/etc/aspera/aspera_bypass_dsa.pem \\
@@ -36,6 +39,8 @@ process ASPERA_CLI {
3639 """
3740 } else {
3841 """
42+ $conda_prefix
43+
3944 ascp \\
4045 $args \\
4146 -i \$ CONDA_PREFIX/etc/aspera/aspera_bypass_dsa.pem \\
Original file line number Diff line number Diff line change 7070// Workflow specific configs
7171includeConfig ' ./workflows/sra/nextflow.config'
7272
73- // Load nf-core/fetchngs custom profiles from different institutions.
74- // Warning: Uncomment only if a pipeline-specific institutional config already exists on nf-core/configs!
75- // try {
76- // includeConfig "${params.custom_config_base}/pipeline/fetchngs.config"
77- // } catch (Exception e) {
78- // System.err.println("WARNING: Could not load nf-core/config/fetchngs profiles: ${params.custom_config_base}/pipeline/fetchngs.config")
79- // }
80-
8173profiles {
8274 debug {
8375 dumpHashes = true
You can’t perform that action at this time.
0 commit comments