mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Bump Pangolin to 3.1.7 (#593)
* Bump Pangolin to 3.1.7 * Update md5sum * Update README * Re-word * Re-word again * Use channels
This commit is contained in:
parent
5dd049047d
commit
e7e30b6da6
3 changed files with 7 additions and 5 deletions
|
@ -395,6 +395,8 @@ The key words "MUST", "MUST NOT", "SHOULD", etc. are to be interpreted as descri
|
|||
|
||||
#### General
|
||||
|
||||
- All non-mandatory command-line tool options MUST be provided as a string i.e. `options.args` where `options` is a Groovy Map that MUST be provided via the Nextflow `addParams` option when including the module via `include` in the parent workflow.
|
||||
|
||||
- Software that can be piped together SHOULD be added to separate module files
|
||||
unless there is a run-time, storage advantage in implementing in this way. For example,
|
||||
using a combination of `bwa` and `samtools` to output a BAM file instead of a SAM file:
|
||||
|
@ -431,7 +433,7 @@ using a combination of `bwa` and `samtools` to output a BAM file instead of a SA
|
|||
|
||||
- A module file SHOULD only define input and output files as command-line parameters to be executed within the process.
|
||||
|
||||
- All other parameters MUST be provided as a string i.e. `options.args` where `options` is a Groovy Map that MUST be provided via the Nextflow `addParams` option when including the module via `include` in the parent workflow.
|
||||
- All `params` within the module MUST be initialised and used in the local context of the module. In other words, named `params` defined in the parent workflow MUST NOT be assumed to be passed to the module to allow developers to call their parameters whatever they want. In general, it may be more suitable to use additional `input` value channels to cater for such scenarios.
|
||||
|
||||
- If the tool supports multi-threading then you MUST provide the appropriate parameter using the Nextflow `task` variable e.g. `--threads $task.cpus`.
|
||||
|
||||
|
|
|
@ -11,11 +11,11 @@ process PANGOLIN {
|
|||
mode: params.publish_dir_mode,
|
||||
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), meta:meta, publish_by_meta:['id']) }
|
||||
|
||||
conda (params.enable_conda ? 'bioconda::pangolin=3.0.5' : null)
|
||||
conda (params.enable_conda ? 'bioconda::pangolin=3.1.7' : null)
|
||||
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
|
||||
container 'https://depot.galaxyproject.org/singularity/pangolin:3.0.5--pyhdfd78af_0'
|
||||
container 'https://depot.galaxyproject.org/singularity/pangolin:3.1.7--pyhdfd78af_0'
|
||||
} else {
|
||||
container 'quay.io/biocontainers/pangolin:3.0.5--pyhdfd78af_0'
|
||||
container 'quay.io/biocontainers/pangolin:3.1.7--pyhdfd78af_0'
|
||||
}
|
||||
|
||||
input:
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
- pangolin
|
||||
files:
|
||||
- path: ./output/pangolin/test.pangolin.csv
|
||||
md5sum: 02d916f18095694a7641ebc29fecaeae
|
||||
md5sum: 8daea6ca9fee7b747080d4d2b28a83d7
|
||||
|
|
Loading…
Reference in a new issue