Skip to content

Commit

Permalink
Added shared conda env location
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmero committed Feb 26, 2024
1 parent dbadb08 commit 00d29d1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ params {
//if false, the database is queried to create one
//if true, config.txt should be in the input directory
is_config_file_provided = true

// if specified, use this location to load prebuilt conda environments
conda_env_location = ""
}

//SQL DB Plugin
Expand Down
28 changes: 21 additions & 7 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,24 @@
"default": false,
"description": "Optional ready-made config file for splitcode. Use this to skip the databse index lookup. Must be called config.txt and put in input directory."
}
},
"required": [
"fwd_primer",
"rev_primer",
"primer_mismatches",
"barcode_length"
]
}
},
"generic_options": {
"title": "Generic options",
"type": "object",
"fa_icon": "fas fa-file-import",
"description": "Less common options for the pipeline, typically set in a config file.",
"help_text": "These options are common to all nf-core pipelines and allow you to customise some of the core preferences for how the pipeline runs.\n\nTypically these options would be set in a Nextflow config file loaded for all pipeline runs, such as `~/.nextflow/config`.",
"properties": {
"conda_env_location": {
"type": "string",
"format": "directory-path",
"description": "Use this location for pre-build conda environments (if blank, new conda environments will be created).",
"fa_icon": "fas fa-cog",
"default": "",
"hidden": true
}
}
}
},
"allOf": [
Expand All @@ -128,6 +139,9 @@
},
{
"$ref": "#/definitions/demultiplex_options"
},
{
"$ref": "#/definitions/generic_options"
}
]
}

0 comments on commit 00d29d1

Please sign in to comment.