|
1 | 1 | # nf-core/tools: Changelog
|
2 | 2 |
|
| 3 | +## [v1.13 - Copper Crocodile](https://github.com/nf-core/tools/releases/tag/1.13) - [2021-03-18] |
| 4 | + |
| 5 | +### Template |
| 6 | + |
| 7 | +* **Major new feature** - Validation of pipeline parameters [[#426]](https://github.com/nf-core/tools/issues/426) |
| 8 | + * The addition runs as soon as the pipeline launches and checks the pipeline input parameters two main things: |
| 9 | + * No parameters are supplied that share a name with core Nextflow options (eg. `--resume` instead of `-resume`) |
| 10 | + * Supplied parameters validate against the pipeline JSON schema (eg. correct variable types, required values) |
| 11 | + * If either parameter validation fails or the pipeline has errors, a warning is given about any unexpected parameters found which are not described in the pipeline schema. |
| 12 | + * This behaviour can be disabled by using `--validate_params false` |
| 13 | +* Added profiles to support the [Charliecloud](https://hpc.github.io/charliecloud/) and [Shifter](https://nersc.gitlab.io/development/shifter/how-to-use/) container engines [[#824](https://github.com/nf-core/tools/issues/824)] |
| 14 | + * Note that Charliecloud requires Nextflow version `v21.03.0-edge` or later. |
| 15 | +* Profiles for container engines now explicitly _disable_ all other engines [[#867](https://github.com/nf-core/tools/issues/867)] |
| 16 | +* Fixed typo in nf-core-lint CI that prevented the markdown summary from being automatically posted on PRs as a comment. |
| 17 | +* Changed default for `--input` from `data/*{1,2}.fastq.gz` to `null`, as this is now validated by the schema as a required value. |
| 18 | +* Removed support for `--name` parameter for custom run names. |
| 19 | + * The same functionality for MultiQC still exists with the core Nextflow `-name` option. |
| 20 | +* Added to template docs about how to identify process name for resource customisation |
| 21 | +* The parameters `--max_memory` and `--max_time` are now validated against a regular expression [[#793](https://github.com/nf-core/tools/issues/793)] |
| 22 | + * Must be written in the format `123.GB` / `456.h` with any of the prefixes listed in the [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#memory) |
| 23 | + * Bare numbers no longer allowed, avoiding people from trying to specify GB and actually specifying bytes. |
| 24 | +* Switched from cookiecutter to Jinja2 [[#880]](https://github.com/nf-core/tools/pull/880) |
| 25 | +* Finally dropped the wonderful [cookiecutter](https://github.com/cookiecutter/cookiecutter) library that was behind the first pipeline template that led to nf-core [[#880](https://github.com/nf-core/tools/pull/880)] |
| 26 | + * Now rendering templates directly using [Jinja](https://jinja.palletsprojects.com/), which is what cookiecutter was doing anyway |
| 27 | + |
| 28 | +### Modules |
| 29 | + |
| 30 | +Initial addition of a number of new helper commands for working with DSL2 modules: |
| 31 | + |
| 32 | +* `modules list` - List available modules |
| 33 | +* `modules install` - Install a module from nf-core/modules |
| 34 | +* `modules remove` - Remove a module from a pipeline |
| 35 | +* `modules create` - Create a module from the template |
| 36 | +* `modules create-test-yml` - Create the `test.yml` file for a module with md5 sums, tags, commands and names added |
| 37 | +* `modules lint` - Check a module against nf-core guidelines |
| 38 | + |
| 39 | +You can read more about each of these commands in the main tools documentation (see `README.md` or <https://nf-co.re/tools>) |
| 40 | + |
| 41 | +### Tools helper code |
| 42 | + |
| 43 | +* Fixed some bugs in the command line interface for `nf-core launch` and improved formatting [[#829](https://github.com/nf-core/tools/pull/829)] |
| 44 | +* New functionality for `nf-core download` to make it compatible with DSL2 pipelines [[#832](https://github.com/nf-core/tools/pull/832)] |
| 45 | + * Singularity images in module files are now discovered and fetched |
| 46 | + * Direct downloads of Singularity images in python allowed (much faster than running `singularity pull`) |
| 47 | + * Downloads now work with `$NXF_SINGULARITY_CACHEDIR` so that pipelines sharing containers have efficient downloads |
| 48 | +* Changed behaviour of `nf-core sync` command [[#787](https://github.com/nf-core/tools/issues/787)] |
| 49 | + * Instead of opening or updating a PR from `TEMPLATE` directly to `dev`, a new branch is now created from `TEMPLATE` and a PR opened from this to `dev`. |
| 50 | + * This is to make it easier to fix merge conflicts without accidentally bringing the entire pipeline history back into the `TEMPLATE` branch (which makes subsequent sync merges much more difficult) |
| 51 | + |
| 52 | +### Linting |
| 53 | + |
| 54 | +* Major refactor and rewrite of pipieline linting code |
| 55 | + * Much better code organisation and maintainability |
| 56 | + * New automatically generated documentation using Sphinx |
| 57 | + * Numerous new tests and functions, removal of some unnecessary tests |
| 58 | +* Added lint check for merge markers [[#321]](https://github.com/nf-core/tools/issues/321) |
| 59 | +* Added new option `--fix` to automatically correct some problems detected by linting |
| 60 | +* Added validation of default params to `nf-core schema lint` [[#823](https://github.com/nf-core/tools/issues/823)] |
| 61 | +* Added schema validation of GitHub action workflows to lint function [[#795](https://github.com/nf-core/tools/issues/795)] |
| 62 | +* Fixed bug in schema title and description validation |
| 63 | +* Added second progress bar for conda dependencies lint check, as it can be slow [[#299](https://github.com/nf-core/tools/issues/299)] |
| 64 | +* Added new lint test to check files that should be unchanged from the pipeline. |
| 65 | +* Added the possibility to ignore lint tests using a `nf-core-lint.yml` config file [[#809](https://github.com/nf-core/tools/pull/809)] |
| 66 | + |
3 | 67 | ## [v1.12.1 - Silver Dolphin](https://github.com/nf-core/tools/releases/tag/1.12.1) - [2020-12-03]
|
4 | 68 |
|
5 | 69 | ### Template
|
|
0 commit comments