diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8d123ab17a..5af6502e95 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -14,4 +14,5 @@ registryUrls: ["docker.io"], }, ], + gitIgnoredAuthors: ["core@nf-co.re"], } diff --git a/.github/workflows/changelog.py b/.github/workflows/changelog.py index eb56499c93..4835b0d0f0 100644 --- a/.github/workflows/changelog.py +++ b/.github/workflows/changelog.py @@ -136,12 +136,14 @@ def _skip_existing_entry_for_this_pr(line: str, same_section: bool = True) -> st # If the line already contains a link to the PR, don't add it again. line = _skip_existing_entry_for_this_pr(line, same_section=False) - if line.startswith("# ") and not line.strip() == "# nf-core/tools: Changelog": # Version header, e.g. "# v2.12dev" + if ( + line.startswith("## ") and not line.strip() == "# nf-core/tools: Changelog" + ): # Version header, e.g. "## v2.12dev" print(f"Found version header: {line.strip()}") updated_lines.append(line) - # Parse version from the line `# v2.12dev` or - # `# [v2.11.1 - Magnesium Dragon Patch](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-20]` ... + # Parse version from the line `## v2.12dev` or + # `## [v2.11.1 - Magnesium Dragon Patch](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-20]` ... if not (m := re.match(r".*(v\d+\.\d+(dev)?).*", line)): print(f"Cannot parse version from line {line.strip()}.", file=sys.stderr) sys.exit(1) diff --git a/.github/workflows/fix-linting.yml b/.github/workflows/fix-linting.yml index 595fff66ae..95a03c70fe 100644 --- a/.github/workflows/fix-linting.yml +++ b/.github/workflows/fix-linting.yml @@ -10,7 +10,7 @@ jobs: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '@nf-core-bot fix linting') && github.repository == 'nf-core/tools' - runs-on: self-hosted + runs-on: ubuntu-latest steps: # Use the @nf-core-bot token to check out so we can push later - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 8a4afe9161..12c8a34000 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -195,7 +195,7 @@ jobs: coverage report coverage xml - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@f30e4959ba63075080d4f7f90cacc18d9f3fafd7 # v4 with: files: coverage.xml env: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d4eb6a721d..1fdda4978a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.14 + rev: v0.1.15 hooks: - id: ruff # linter args: [--fix, --exit-non-zero-on-fix] # sort imports and fix diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ec71a8282..70cf2de07a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ # nf-core/tools: Changelog -# [v2.12 - Aluminium Wolf](https://github.com/nf-core/tools/releases/tag/2.11) - [2024-01-29] +## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01] + +### Linting + +- Handle default values of type number from nextflow schema ([#2703](https://github.com/nf-core/tools/pull/2703)) +- fix ignoring files_unchanged ([#2707](https://github.com/nf-core/tools/pull/2707)) + +### General + +- Update pre-commit hook astral-sh/ruff-pre-commit to v0.1.15 ([#2705](https://github.com/nf-core/tools/pull/2705)) +- use types for default value comparison ([#2712](https://github.com/nf-core/tools/pull/2712)) +- fix changelog titles ([#2708](https://github.com/nf-core/tools/pull/2708)) +- Print relative path not absolute path in logo cmd log output ([#2709](https://github.com/nf-core/tools/pull/2709)) +- Update codecov/codecov-action action to v4 ([#2713](https://github.com/nf-core/tools/pull/2713)) +- Ignore nf-core-bot in renovate PRs ([#2716](https://github.com/nf-core/tools/pull/2716)) + +## [v2.12 - Aluminium Wolf](https://github.com/nf-core/tools/releases/tag/2.12) - [2024-01-29] ### Template @@ -46,7 +62,7 @@ - Update peter-evans/create-or-update-comment action to v4 ([#2683](https://github.com/nf-core/tools/pull/2683)) - Update peter-evans/create-or-update-comment action to v4 ([#2695](https://github.com/nf-core/tools/pull/2695)) -# [v2.11.1 - Magnesium Dragon Patch](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-20] +## [v2.11.1 - Magnesium Dragon Patch](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-20] ### Template @@ -57,7 +73,7 @@ - Only dump `modules.json` when it is modified ([#2609](https://github.com/nf-core/tools/pull/2609)) -# [v2.11 - Magnesium Dragon](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-19] +## [v2.11 - Magnesium Dragon](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-19] ### Template @@ -113,7 +129,7 @@ - Sort the `installed_by` list in `modules.json` ([#2570](https://github.com/nf-core/tools/pull/2570)). - Unset env variable JAVA_TOOL_OPTIONS in gitpod ([#2569](https://github.com/nf-core/tools/pull/2569)) -# [v2.10 - Nickel Ostrich](https://github.com/nf-core/tools/releases/tag/2.10) + [2023-09-25] +## [v2.10 - Nickel Ostrich](https://github.com/nf-core/tools/releases/tag/2.10) + [2023-09-25] ### Template @@ -157,7 +173,7 @@ - Throw warning when custom workflow name contains special characters ([#2401](https://github.com/nf-core/tools/pull/2401)) - Bump version of nf-test snapshot files with `nf-core bump-version` ([#2410](https://github.com/nf-core/tools/pull/2410)) -# [v2.9 - Chromium Falcon](https://github.com/nf-core/tools/releases/tag/2.9) + [2023-06-29] +## [v2.9 - Chromium Falcon](https://github.com/nf-core/tools/releases/tag/2.9) + [2023-06-29] ### Template @@ -225,7 +241,7 @@ _In addition, `-r` / `--revision` has been changed to a parameter that can be pr - Refgenie: Create `nxf_home/nf-core/refgenie_genomes.config` path if it doesn't exist ([#2312](https://github.com/nf-core/tools/pull/2312)) - Add CI tests to test running a pipeline whe it's created from a template skipping different areas -# [v2.8 - Ruthenium Monkey](https://github.com/nf-core/tools/releases/tag/2.8) - [2023-04-27] +## [v2.8 - Ruthenium Monkey](https://github.com/nf-core/tools/releases/tag/2.8) - [2023-04-27] ### Template diff --git a/docs/images/nf-core-bump-version.svg b/docs/images/nf-core-bump-version.svg index 602b18304d..af75211d65 100644 --- a/docs/images/nf-core-bump-version.svg +++ b/docs/images/nf-core-bump-version.svg @@ -19,122 +19,122 @@ font-weight: 700; } - .terminal-760177622-matrix { + .terminal-3212272693-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-760177622-title { + .terminal-3212272693-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-760177622-r1 { fill: #c5c8c6 } -.terminal-760177622-r2 { fill: #98a84b } -.terminal-760177622-r3 { fill: #9a9b99 } -.terminal-760177622-r4 { fill: #608ab1 } -.terminal-760177622-r5 { fill: #d0b344 } -.terminal-760177622-r6 { fill: #cc555a } + .terminal-3212272693-r1 { fill: #c5c8c6 } +.terminal-3212272693-r2 { fill: #98a84b } +.terminal-3212272693-r3 { fill: #9a9b99 } +.terminal-3212272693-r4 { fill: #608ab1 } +.terminal-3212272693-r5 { fill: #d0b344 } +.terminal-3212272693-r6 { fill: #cc555a } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -146,41 +146,41 @@ - + - - $ nf-core bump-version 1.1 - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO     Changing version number from '1.0dev' to '1.1' -INFO     Updated version in 'nextflow.config' - - version         = '1.0dev' - + version         = '1.1' - - -INFO     Updated version in 'assets/multiqc_config.yml' - - This report has been generated by the <a  -href="https://github.com/nf-core/nextbigthing/tree/dev" target="_blank">nf-core/nextbigthing</a> - + This report has been generated by the <a  -href="https://github.com/nf-core/nextbigthing/releases/tag/1.1"  -target="_blank">nf-core/nextbigthing</a> - - -INFO     Updated version in 'assets/multiqc_config.yml' - - <a href="https://nf-co.re/nextbigthing/dev/docs/output"  -target="_blank">documentation</a>. - + <a href="https://nf-co.re/nextbigthing/1.1/docs/output"  -target="_blank">documentation</a>. - - + + $ nf-core bump-version 1.1 + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO     Changing version number from '1.0dev' to '1.1' +INFO     Updated version in 'nextflow.config' + - version         = '1.0dev' + + version         = '1.1' + + +INFO     Updated version in 'assets/multiqc_config.yml' + - This report has been generated by the <a  +href="https://github.com/nf-core/nextbigthing/tree/dev" target="_blank">nf-core/nextbigthing</a> + + This report has been generated by the <a  +href="https://github.com/nf-core/nextbigthing/releases/tag/1.1"  +target="_blank">nf-core/nextbigthing</a> + + +INFO     Updated version in 'assets/multiqc_config.yml' + - <a href="https://nf-co.re/nextbigthing/dev/docs/output"  +target="_blank">documentation</a>. + + <a href="https://nf-co.re/nextbigthing/1.1/docs/output"  +target="_blank">documentation</a>. + + diff --git a/docs/images/nf-core-create-logo.svg b/docs/images/nf-core-create-logo.svg index b4d88480d9..5f8bf56128 100644 --- a/docs/images/nf-core-create-logo.svg +++ b/docs/images/nf-core-create-logo.svg @@ -19,63 +19,62 @@ font-weight: 700; } - .terminal-121252375-matrix { + .terminal-2549025252-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-121252375-title { + .terminal-2549025252-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-121252375-r1 { fill: #c5c8c6 } -.terminal-121252375-r2 { fill: #98a84b } -.terminal-121252375-r3 { fill: #9a9b99 } -.terminal-121252375-r4 { fill: #608ab1 } -.terminal-121252375-r5 { fill: #d0b344 } -.terminal-121252375-r6 { fill: #98729f } -.terminal-121252375-r7 { fill: #ff2c7a } + .terminal-2549025252-r1 { fill: #c5c8c6 } +.terminal-2549025252-r2 { fill: #98a84b } +.terminal-2549025252-r3 { fill: #9a9b99 } +.terminal-2549025252-r4 { fill: #608ab1 } +.terminal-2549025252-r5 { fill: #d0b344 } +.terminal-2549025252-r6 { fill: #98729f } - + - + - + - + - + - + - + - + - + - + - + - + @@ -87,21 +86,21 @@ - + - - $ nf-core create-logo nextbigthing - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO     Created logo: /home/runner/work/tools/tools/tmp/nf-core-nextbigthing_logo_light.png + + $ nf-core create-logo nextbigthing + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO     Created logo: nf-core-nextbigthing_logo_light.png diff --git a/docs/images/nf-core-create.svg b/docs/images/nf-core-create.svg index 79e349f4fc..02d942a7f9 100644 --- a/docs/images/nf-core-create.svg +++ b/docs/images/nf-core-create.svg @@ -19,104 +19,104 @@ font-weight: 700; } - .terminal-1826411096-matrix { + .terminal-4211528375-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1826411096-title { + .terminal-4211528375-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1826411096-r1 { fill: #c5c8c6 } -.terminal-1826411096-r2 { fill: #98a84b } -.terminal-1826411096-r3 { fill: #9a9b99 } -.terminal-1826411096-r4 { fill: #608ab1 } -.terminal-1826411096-r5 { fill: #d0b344 } -.terminal-1826411096-r6 { fill: #98729f } -.terminal-1826411096-r7 { fill: #ff2c7a } -.terminal-1826411096-r8 { fill: #98a84b;font-weight: bold } -.terminal-1826411096-r9 { fill: #1984e9;text-decoration: underline; } + .terminal-4211528375-r1 { fill: #c5c8c6 } +.terminal-4211528375-r2 { fill: #98a84b } +.terminal-4211528375-r3 { fill: #9a9b99 } +.terminal-4211528375-r4 { fill: #608ab1 } +.terminal-4211528375-r5 { fill: #d0b344 } +.terminal-4211528375-r6 { fill: #98729f } +.terminal-4211528375-r7 { fill: #ff2c7a } +.terminal-4211528375-r8 { fill: #98a84b;font-weight: bold } +.terminal-4211528375-r9 { fill: #1984e9;text-decoration: underline; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -128,34 +128,34 @@ - + - - $ nf-core create -n nextbigthing -d "This pipeline analyses data from the next big omics technique"  --a "Big Steve" --plain - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO     Creating new nf-core pipeline: 'nf-core/nextbigthing' -INFO     Initialising pipeline git repository                                                        -INFO     Done. Remember to add a remote and push to GitHub:                                          - cd /home/runner/work/tools/tools/tmp/nf-core-nextbigthing - git remote add origin git@github.com:USERNAME/REPO_NAME.git  - git push --all origin                                        -INFO     This will also push your newly created dev branch and the TEMPLATE branch for syncing.      -INFO    !!!!!! IMPORTANT !!!!!! - -If you are interested in adding your pipeline to the nf-core community, -PLEASE COME AND TALK TO US IN THE NF-CORE SLACK BEFORE WRITING ANY CODE! - -Please read: https://nf-co.re/developers/adding_pipelines#join-the-community + + $ nf-core create -n nextbigthing -d "This pipeline analyses data from the next big omics technique"  +-a "Big Steve" --plain + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO     Creating new nf-core pipeline: 'nf-core/nextbigthing' +INFO     Initialising pipeline git repository                                                        +INFO     Done. Remember to add a remote and push to GitHub:                                          + cd /home/runner/work/tools/tools/tmp/nf-core-nextbigthing + git remote add origin git@github.com:USERNAME/REPO_NAME.git  + git push --all origin                                        +INFO     This will also push your newly created dev branch and the TEMPLATE branch for syncing.      +INFO    !!!!!! IMPORTANT !!!!!! + +If you are interested in adding your pipeline to the nf-core community, +PLEASE COME AND TALK TO US IN THE NF-CORE SLACK BEFORE WRITING ANY CODE! + +Please read: https://nf-co.re/developers/adding_pipelines#join-the-community diff --git a/docs/images/nf-core-download.svg b/docs/images/nf-core-download.svg index 05b7456fbd..3d306efb25 100644 --- a/docs/images/nf-core-download.svg +++ b/docs/images/nf-core-download.svg @@ -19,86 +19,86 @@ font-weight: 700; } - .terminal-1937960304-matrix { + .terminal-2749558223-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1937960304-title { + .terminal-2749558223-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1937960304-r1 { fill: #c5c8c6 } -.terminal-1937960304-r2 { fill: #98a84b } -.terminal-1937960304-r3 { fill: #9a9b99 } -.terminal-1937960304-r4 { fill: #608ab1 } -.terminal-1937960304-r5 { fill: #d0b344 } -.terminal-1937960304-r6 { fill: #cc555a } + .terminal-2749558223-r1 { fill: #c5c8c6 } +.terminal-2749558223-r2 { fill: #98a84b } +.terminal-2749558223-r3 { fill: #9a9b99 } +.terminal-2749558223-r4 { fill: #608ab1 } +.terminal-2749558223-r5 { fill: #d0b344 } +.terminal-2749558223-r6 { fill: #cc555a } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -110,29 +110,29 @@ - + - - $ nf-core download rnaseq -r 3.8 --outdir nf-core-rnaseq -x none -s none -d - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -WARNING  Could not find GitHub authentication token. Some API requests may fail.                     -INFO     Saving 'nf-core/rnaseq' -          Pipeline revision: '3.8' -          Use containers: 'none' -          Container library: 'quay.io' -          Output directory: 'nf-core-rnaseq' -          Include default institutional configuration: 'True' -INFO     Downloading centralised configs from GitHub                                                 -INFO     Downloading workflow files from GitHub                                                      + + $ nf-core download rnaseq -r 3.8 --outdir nf-core-rnaseq -x none -s none -d + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +WARNING  Could not find GitHub authentication token. Some API requests may fail.                     +INFO     Saving 'nf-core/rnaseq' +          Pipeline revision: '3.8' +          Use containers: 'none' +          Container library: 'quay.io' +          Output directory: 'nf-core-rnaseq' +          Include default institutional configuration: 'True' +INFO     Downloading centralised configs from GitHub                                                 +INFO     Downloading workflow files from GitHub                                                      diff --git a/docs/images/nf-core-launch-rnaseq.svg b/docs/images/nf-core-launch-rnaseq.svg index 8956e15703..42ac222ed3 100644 --- a/docs/images/nf-core-launch-rnaseq.svg +++ b/docs/images/nf-core-launch-rnaseq.svg @@ -19,72 +19,72 @@ font-weight: 700; } - .terminal-1862905299-matrix { + .terminal-3783306802-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1862905299-title { + .terminal-3783306802-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1862905299-r1 { fill: #c5c8c6 } -.terminal-1862905299-r2 { fill: #98a84b } -.terminal-1862905299-r3 { fill: #9a9b99 } -.terminal-1862905299-r4 { fill: #608ab1 } -.terminal-1862905299-r5 { fill: #d0b344 } -.terminal-1862905299-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-1862905299-r7 { fill: #68a0b3;font-weight: bold } + .terminal-3783306802-r1 { fill: #c5c8c6 } +.terminal-3783306802-r2 { fill: #98a84b } +.terminal-3783306802-r3 { fill: #9a9b99 } +.terminal-3783306802-r4 { fill: #608ab1 } +.terminal-3783306802-r5 { fill: #d0b344 } +.terminal-3783306802-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-3783306802-r7 { fill: #68a0b3;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -96,24 +96,24 @@ - + - - $ nf-core launch rnaseq -r 3.8.1 - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO     NOTE: This tool ignores any pipeline parameter defaults overwritten by Nextflow config      -         files or profiles                                                                           - -INFO     Downloading workflow: nf-core/rnaseq (3.8.1) + + $ nf-core launch rnaseq -r 3.8.1 + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO     NOTE: This tool ignores any pipeline parameter defaults overwritten by Nextflow config      +         files or profiles                                                                           + +INFO     Downloading workflow: nf-core/rnaseq (3.8.1) diff --git a/docs/images/nf-core-licences.svg b/docs/images/nf-core-licences.svg index 0512d5c954..e7971f9883 100644 --- a/docs/images/nf-core-licences.svg +++ b/docs/images/nf-core-licences.svg @@ -1,4 +1,4 @@ - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - $ nf-core licences deepvariant - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO     Fetching licence information for 8 tools                                                    + + $ nf-core licences deepvariant + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO     Fetching licence information for 8 tools                                                    +INFO     Warning: This tool only prints licence information for the software tools packaged using    +         conda.                                                                                      +INFO     The pipeline may use other software and dependencies not described here.                    +┏━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┓ +Package NameVersionLicence +┡━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━┩ +│ lbzip2       │ 2.5     │ GPL v3  │ +│ deepvariant  │ 0.7.0   │ MIT     │ +│ htslib       │ 1.9     │ MIT     │ +│ picard       │ 2.18.7  │ MIT     │ +│ pip          │ 10.0.1  │ MIT     │ +│ samtools     │ 1.9     │ MIT     │ +│ python       │ 2.7.15  │ PSF     │ +│ bzip2        │ 1.0.6   │ bzip2   │ +└──────────────┴─────────┴─────────┘ diff --git a/docs/images/nf-core-lint.svg b/docs/images/nf-core-lint.svg index 140f02d3f2..8bab8f6e57 100644 --- a/docs/images/nf-core-lint.svg +++ b/docs/images/nf-core-lint.svg @@ -1,4 +1,4 @@ - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - + - - - - $ nf-core lint - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Testing pipeline: . -INFO     Files to ignore: [] - - -╭─[?] 1 Pipeline Test Ignored────────────────────────────────────────────────────────────────────╮ - -pipeline_todos: pipeline_todos                                                                   - -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─[!] 1 Pipeline Test Warning────────────────────────────────────────────────────────────────────╮ - -readme: README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo  -doi (after the first release).                                                                   - -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ - -╭──────────────────────╮ -LINT RESULTS SUMMARY -├──────────────────────┤ -[✔] 199 Tests Passed -[?]   1 Test Ignored -[!]   1 Test Warning -[✗]   0 Tests Failed -╰──────────────────────╯ + + + + $ nf-core lint + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Testing pipeline: . + + +╭─[?] 1 Pipeline Test Ignored────────────────────────────────────────────────────────────────────╮ + +pipeline_todos: pipeline_todos                                                                   + +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─[!] 1 Pipeline Test Warning────────────────────────────────────────────────────────────────────╮ + +readme: README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo  +doi (after the first release).                                                                   + +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + +╭─[!] 1 Module Test Warning──────────────────────────────────────────────────────────────────────╮ +                              ╷                        ╷                                           +Module name                 File path             Test message                             +╶─────────────────────────────┼────────────────────────┼─────────────────────────────────────────╴ +fastqc                      modules/nf-core/fastqcNew version available                    +                              ╵                        ╵                                           +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭───────────────────────╮ +LINT RESULTS SUMMARY  +├───────────────────────┤ +[✔] 198 Tests Passed +[?]   1 Test Ignored +[!]   2 Test Warnings +[✗]   0 Tests Failed +╰───────────────────────╯ diff --git a/docs/images/nf-core-list-rna.svg b/docs/images/nf-core-list-rna.svg index deb9d390e2..d94144af44 100644 --- a/docs/images/nf-core-list-rna.svg +++ b/docs/images/nf-core-list-rna.svg @@ -19,111 +19,111 @@ font-weight: 700; } - .terminal-1343542234-matrix { + .terminal-3256931459-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1343542234-title { + .terminal-3256931459-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1343542234-r1 { fill: #c5c8c6 } -.terminal-1343542234-r2 { fill: #98a84b } -.terminal-1343542234-r3 { fill: #9a9b99 } -.terminal-1343542234-r4 { fill: #608ab1 } -.terminal-1343542234-r5 { fill: #d0b344 } -.terminal-1343542234-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-1343542234-r7 { fill: #868887 } + .terminal-3256931459-r1 { fill: #c5c8c6 } +.terminal-3256931459-r2 { fill: #98a84b } +.terminal-3256931459-r3 { fill: #9a9b99 } +.terminal-3256931459-r4 { fill: #608ab1 } +.terminal-3256931459-r5 { fill: #d0b344 } +.terminal-3256931459-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-3256931459-r7 { fill: #868887 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -135,37 +135,37 @@ - + - - $ nf-core list rna rna-seq - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -Have latest         -Pipeline Name       StarsLatest Release    ReleasedLast Pulledrelease?            -┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ rnafusion            │   125 │          3.0.1 │ 2 months ago │           - │ -                   │ -│ differentialabundan… │    35 │          1.4.0 │ 2 months ago │           - │ -                   │ -│ circrna              │    33 │            dev │   2 days ago │           - │ -                   │ -│ smrnaseq             │    63 │          2.2.4 │ 3 months ago │           - │ -                   │ -│ spatialtranscriptom… │    35 │            dev │   3 days ago │           - │ -                   │ -│ scrnaseq             │   119 │          2.5.1 │   6 days ago │           - │ -                   │ -│ rnaseq               │   722 │         3.14.0 │  3 weeks ago │           - │ -                   │ -│ rnasplice            │    20 │          1.0.2 │  3 weeks ago │           - │ -                   │ -│ dualrnaseq           │    15 │          1.0.0 │  3 years ago │           - │ -                   │ -│ marsseq              │     5 │          1.0.3 │ 6 months ago │           - │ -                   │ -│ lncpipe              │    27 │            dev │  1 years ago │           - │ -                   │ -│ scflow               │    23 │            dev │  2 years ago │           - │ -                   │ -└──────────────────────┴───────┴────────────────┴──────────────┴─────────────┴─────────────────────┘ + + $ nf-core list rna rna-seq + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ +Have latest         +Pipeline Name       StarsLatest Release    ReleasedLast Pulledrelease?            +┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ +│ rnafusion            │   125 │          3.0.1 │ 2 months ago │           - │ -                   │ +│ smrnaseq             │    63 │          2.2.4 │ 3 months ago │           - │ -                   │ +│ circrna              │    33 │            dev │   2 days ago │           - │ -                   │ +│ differentialabundan… │    35 │          1.4.0 │ 2 months ago │           - │ -                   │ +│ spatialtranscriptom… │    36 │            dev │   6 days ago │           - │ -                   │ +│ scrnaseq             │   122 │          2.5.1 │  1 weeks ago │           - │ -                   │ +│ rnaseq               │   724 │         3.14.0 │  3 weeks ago │           - │ -                   │ +│ rnasplice            │    20 │          1.0.2 │  3 weeks ago │           - │ -                   │ +│ dualrnaseq           │    15 │          1.0.0 │  3 years ago │           - │ -                   │ +│ marsseq              │     5 │          1.0.3 │ 7 months ago │           - │ -                   │ +│ lncpipe              │    27 │            dev │  1 years ago │           - │ -                   │ +│ scflow               │    23 │            dev │  2 years ago │           - │ -                   │ +└──────────────────────┴───────┴────────────────┴──────────────┴─────────────┴─────────────────────┘ diff --git a/docs/images/nf-core-list-stars.svg b/docs/images/nf-core-list-stars.svg index f9a9d3d042..8f9f0d1072 100644 --- a/docs/images/nf-core-list-stars.svg +++ b/docs/images/nf-core-list-stars.svg @@ -19,88 +19,88 @@ font-weight: 700; } - .terminal-926284067-matrix { + .terminal-3218995592-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-926284067-title { + .terminal-3218995592-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-926284067-r1 { fill: #c5c8c6 } -.terminal-926284067-r2 { fill: #98a84b } -.terminal-926284067-r3 { fill: #9a9b99 } -.terminal-926284067-r4 { fill: #608ab1 } -.terminal-926284067-r5 { fill: #d0b344 } -.terminal-926284067-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-926284067-r7 { fill: #868887 } -.terminal-926284067-r8 { fill: #868887;font-style: italic; } + .terminal-3218995592-r1 { fill: #c5c8c6 } +.terminal-3218995592-r2 { fill: #98a84b } +.terminal-3218995592-r3 { fill: #9a9b99 } +.terminal-3218995592-r4 { fill: #608ab1 } +.terminal-3218995592-r5 { fill: #d0b344 } +.terminal-3218995592-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-3218995592-r7 { fill: #868887 } +.terminal-3218995592-r8 { fill: #868887;font-style: italic; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -112,29 +112,29 @@ - + - - $ nf-core list -s stars - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -Have latest         -Pipeline Name      StarsLatest Release     ReleasedLast Pulledrelease?            -┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ rnaseq              │   722 │         3.14.0 │   3 weeks ago │           - │ -                   │ -│ sarek               │   303 │          3.4.0 │  2 months ago │           - │ -                   │ -│ mag                 │   167 │          2.5.1 │  2 months ago │           - │ -                   │ -│ chipseq             │   159 │          2.0.0 │   1 years ago │           - │ -                   │ -[..truncated..] + + $ nf-core list -s stars + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ +Have latest         +Pipeline Name      StarsLatest Release     ReleasedLast Pulledrelease?            +┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ +│ rnaseq              │   724 │         3.14.0 │   3 weeks ago │           - │ -                   │ +│ sarek               │   305 │          3.4.0 │  3 months ago │           - │ -                   │ +│ mag                 │   167 │          2.5.1 │  3 months ago │           - │ -                   │ +│ chipseq             │   159 │          2.0.0 │   1 years ago │           - │ -                   │ +[..truncated..] diff --git a/docs/images/nf-core-list.svg b/docs/images/nf-core-list.svg index e42799f98a..bbcd1d7782 100644 --- a/docs/images/nf-core-list.svg +++ b/docs/images/nf-core-list.svg @@ -19,91 +19,91 @@ font-weight: 700; } - .terminal-1472038847-matrix { + .terminal-2091548930-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1472038847-title { + .terminal-2091548930-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1472038847-r1 { fill: #c5c8c6 } -.terminal-1472038847-r2 { fill: #98a84b } -.terminal-1472038847-r3 { fill: #9a9b99 } -.terminal-1472038847-r4 { fill: #608ab1 } -.terminal-1472038847-r5 { fill: #d0b344 } -.terminal-1472038847-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-1472038847-r7 { fill: #868887 } -.terminal-1472038847-r8 { fill: #868887;font-style: italic; } + .terminal-2091548930-r1 { fill: #c5c8c6 } +.terminal-2091548930-r2 { fill: #98a84b } +.terminal-2091548930-r3 { fill: #9a9b99 } +.terminal-2091548930-r4 { fill: #608ab1 } +.terminal-2091548930-r5 { fill: #d0b344 } +.terminal-2091548930-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-2091548930-r7 { fill: #868887 } +.terminal-2091548930-r8 { fill: #868887;font-style: italic; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -115,30 +115,30 @@ - + - - $ nf-core list - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -Have latest         -Pipeline Name      StarsLatest Release     ReleasedLast Pulledrelease?            -┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ rnafusion           │   125 │          3.0.1 │  2 months ago │           - │ -                   │ -│ differentialabunda… │    35 │          1.4.0 │  2 months ago │           - │ -                   │ -│ raredisease         │    64 │          1.1.1 │  6 months ago │           - │ -                   │ -│ circrna             │    33 │            dev │    2 days ago │           - │ -                   │ -│ mag                 │   167 │          2.5.1 │  2 months ago │           - │ -                   │ -[..truncated..] + + $ nf-core list + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ +Have latest         +Pipeline Name      StarsLatest Release     ReleasedLast Pulledrelease?            +┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ +│ raredisease         │    64 │          1.1.1 │  6 months ago │           - │ -                   │ +│ funcscan            │    49 │          1.1.4 │  3 months ago │           - │ -                   │ +│ circdna             │    21 │          1.0.4 │  7 months ago │           - │ -                   │ +│ mhcquant            │    29 │          2.5.0 │  4 months ago │           - │ -                   │ +│ fetchngs            │    97 │         1.11.0 │  4 months ago │           - │ -                   │ +[..truncated..] diff --git a/docs/images/nf-core-modules-bump-version.svg b/docs/images/nf-core-modules-bump-version.svg index 657b1ffbc5..0b8f9dbeae 100644 --- a/docs/images/nf-core-modules-bump-version.svg +++ b/docs/images/nf-core-modules-bump-version.svg @@ -19,90 +19,90 @@ font-weight: 700; } - .terminal-446953444-matrix { + .terminal-1422915651-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-446953444-title { + .terminal-1422915651-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-446953444-r1 { fill: #c5c8c6 } -.terminal-446953444-r2 { fill: #98a84b } -.terminal-446953444-r3 { fill: #9a9b99 } -.terminal-446953444-r4 { fill: #608ab1 } -.terminal-446953444-r5 { fill: #d0b344 } -.terminal-446953444-r6 { fill: #98a84b;font-weight: bold } -.terminal-446953444-r7 { fill: #c5c8c6;font-weight: bold } + .terminal-1422915651-r1 { fill: #c5c8c6 } +.terminal-1422915651-r2 { fill: #98a84b } +.terminal-1422915651-r3 { fill: #9a9b99 } +.terminal-1422915651-r4 { fill: #608ab1 } +.terminal-1422915651-r5 { fill: #d0b344 } +.terminal-1422915651-r6 { fill: #98a84b;font-weight: bold } +.terminal-1422915651-r7 { fill: #c5c8c6;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -114,30 +114,30 @@ - + - - $ nf-core modules bump-versions fastqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - - -╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ -[!] 1 Module version up to date. -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭──────────────────────────────────────────┬───────────────────────────────────────────────────────╮ -Module name                             Update Message                                        -├──────────────────────────────────────────┼───────────────────────────────────────────────────────┤ - fastqc                                    Module version up to date: fastqc                      -╰──────────────────────────────────────────┴───────────────────────────────────────────────────────╯ + + $ nf-core modules bump-versions fastqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + + +╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +[!] 1 Module version up to date. +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭──────────────────────────────────────────┬───────────────────────────────────────────────────────╮ +Module name                             Update Message                                        +├──────────────────────────────────────────┼───────────────────────────────────────────────────────┤ + fastqc                                    Module version up to date: fastqc                      +╰──────────────────────────────────────────┴───────────────────────────────────────────────────────╯ diff --git a/docs/images/nf-core-modules-create.svg b/docs/images/nf-core-modules-create.svg index 17fb2e365e..19855f1cc4 100644 --- a/docs/images/nf-core-modules-create.svg +++ b/docs/images/nf-core-modules-create.svg @@ -19,103 +19,103 @@ font-weight: 700; } - .terminal-500050006-matrix { + .terminal-4078971061-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-500050006-title { + .terminal-4078971061-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-500050006-r1 { fill: #c5c8c6 } -.terminal-500050006-r2 { fill: #98a84b } -.terminal-500050006-r3 { fill: #9a9b99 } -.terminal-500050006-r4 { fill: #608ab1 } -.terminal-500050006-r5 { fill: #d0b344 } -.terminal-500050006-r6 { fill: #68a0b3;font-weight: bold } -.terminal-500050006-r7 { fill: #c5c8c6;font-weight: bold } -.terminal-500050006-r8 { fill: #1984e9;text-decoration: underline; } + .terminal-4078971061-r1 { fill: #c5c8c6 } +.terminal-4078971061-r2 { fill: #98a84b } +.terminal-4078971061-r3 { fill: #9a9b99 } +.terminal-4078971061-r4 { fill: #608ab1 } +.terminal-4078971061-r5 { fill: #d0b344 } +.terminal-4078971061-r6 { fill: #68a0b3;font-weight: bold } +.terminal-4078971061-r7 { fill: #c5c8c6;font-weight: bold } +.terminal-4078971061-r8 { fill: #1984e9;text-decoration: underline; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -127,34 +127,34 @@ - + - - $ nf-core modules create fastqc --author @nf-core-bot  --label process_low --meta --force - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Repository type: modules -INFO    Press enter to use default values (shown in brackets)or type your own responses.  -ctrl+click underlined text to open links. -INFO     Using Bioconda package: 'bioconda::fastqc=0.12.1' -INFO     Could not find a Docker/Singularity container (Unexpected response code `503` for           -https://api.biocontainers.pro/ga4gh/trs/v2/tools/fastqc/versions/fastqc-0.12.1) -INFO     Created component template: 'fastqc' -INFO     Created following files:                                                                    -           modules/nf-core/fastqc/main.nf                                                            -           modules/nf-core/fastqc/meta.yml                                                           -           modules/nf-core/fastqc/environment.yml                                                    -           modules/nf-core/fastqc/tests/tags.yml                                                     -           modules/nf-core/fastqc/tests/main.nf.test                                                 + + $ nf-core modules create fastqc --author @nf-core-bot  --label process_low --meta --force + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Repository type: modules +INFO    Press enter to use default values (shown in brackets)or type your own responses.  +ctrl+click underlined text to open links. +INFO     Using Bioconda package: 'bioconda::fastqc=0.12.1' +INFO     Could not find a Docker/Singularity container (Unexpected response code `503` for           +https://api.biocontainers.pro/ga4gh/trs/v2/tools/fastqc/versions/fastqc-0.12.1) +INFO     Created component template: 'fastqc' +INFO     Created following files:                                                                    +           modules/nf-core/fastqc/main.nf                                                            +           modules/nf-core/fastqc/meta.yml                                                           +           modules/nf-core/fastqc/environment.yml                                                    +           modules/nf-core/fastqc/tests/tags.yml                                                     +           modules/nf-core/fastqc/tests/main.nf.test                                                 diff --git a/docs/images/nf-core-modules-info.svg b/docs/images/nf-core-modules-info.svg index 65b3256542..13794a61df 100644 --- a/docs/images/nf-core-modules-info.svg +++ b/docs/images/nf-core-modules-info.svg @@ -19,163 +19,163 @@ font-weight: 700; } - .terminal-2512974289-matrix { + .terminal-729543216-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2512974289-title { + .terminal-729543216-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2512974289-r1 { fill: #c5c8c6 } -.terminal-2512974289-r2 { fill: #98a84b } -.terminal-2512974289-r3 { fill: #9a9b99 } -.terminal-2512974289-r4 { fill: #608ab1 } -.terminal-2512974289-r5 { fill: #d0b344 } -.terminal-2512974289-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-2512974289-r7 { fill: #98a84b;font-weight: bold } -.terminal-2512974289-r8 { fill: #868887 } -.terminal-2512974289-r9 { fill: #d08442 } -.terminal-2512974289-r10 { fill: #868887;font-style: italic; } -.terminal-2512974289-r11 { fill: #98729f } + .terminal-729543216-r1 { fill: #c5c8c6 } +.terminal-729543216-r2 { fill: #98a84b } +.terminal-729543216-r3 { fill: #9a9b99 } +.terminal-729543216-r4 { fill: #608ab1 } +.terminal-729543216-r5 { fill: #d0b344 } +.terminal-729543216-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-729543216-r7 { fill: #98a84b;font-weight: bold } +.terminal-729543216-r8 { fill: #868887 } +.terminal-729543216-r9 { fill: #d08442 } +.terminal-729543216-r10 { fill: #868887;font-style: italic; } +.terminal-729543216-r11 { fill: #98729f } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -187,53 +187,53 @@ - + - - $ nf-core modules info abacas - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -╭─ Module: abacas  ────────────────────────────────────────────────────────────────────────────────╮ -│ 🌐 Repository: https://github.com/nf-core/modules.git                                            │ -│ 🔧 Tools: abacas                                                                                 │ -│ 📖 Description: contiguate draft genome assembly                                                 │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -                  ╷                                                                   ╷              -📥 Inputs        Description                                                             Pattern -╺━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━╸ - meta  (map)     │Groovy Map containing sample information e.g. [ id:'test',         │ -                  │single_end:false ]                                                 │ -╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ - scaffold  (file)│Fasta file containing scaffold                                     │*.{fasta,fa} -╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ - fasta  (file)   │FASTA reference file                                               │*.{fasta,fa} -                  ╵                                                                   ╵              -                  ╷                                                                   ╷              -📤 Outputs       Description                                                             Pattern -╺━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━╸ - meta  (map)     │Groovy Map containing sample information e.g. [ id:'test',         │ -                  │single_end:false ]                                                 │ -╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ - results  (file) │List containing abacas output files [ 'test.abacas.bin',           │ *.{abacas}* -                  │'test.abacas.fasta', 'test.abacas.gaps', 'test.abacas.gaps.tab',   │ -                  │'test.abacas.nucmer.delta', 'test.abacas.nucmer.filtered.delta',   │ -                  │'test.abacas.nucmer.tiling', 'test.abacas.tab',                    │ -                  │'test.abacas.unused.contigs.out', 'test.abacas.MULTIFASTA.fa' ]    │ -╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ - versions  (file)│File containing software versions                                  │versions.yml -                  ╵                                                                   ╵              - - 💻  Installation command: nf-core modules install abacas - + + $ nf-core modules info abacas + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +╭─ Module: abacas  ────────────────────────────────────────────────────────────────────────────────╮ +│ 🌐 Repository: https://github.com/nf-core/modules.git                                            │ +│ 🔧 Tools: abacas                                                                                 │ +│ 📖 Description: contiguate draft genome assembly                                                 │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +                  ╷                                                                   ╷              +📥 Inputs        Description                                                             Pattern +╺━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━╸ + meta  (map)     │Groovy Map containing sample information e.g. [ id:'test',         │ +                  │single_end:false ]                                                 │ +╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ + scaffold  (file)│Fasta file containing scaffold                                     │*.{fasta,fa} +╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ + fasta  (file)   │FASTA reference file                                               │*.{fasta,fa} +                  ╵                                                                   ╵              +                  ╷                                                                   ╷              +📤 Outputs       Description                                                             Pattern +╺━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━╸ + meta  (map)     │Groovy Map containing sample information e.g. [ id:'test',         │ +                  │single_end:false ]                                                 │ +╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ + results  (file) │List containing abacas output files [ 'test.abacas.bin',           │ *.{abacas}* +                  │'test.abacas.fasta', 'test.abacas.gaps', 'test.abacas.gaps.tab',   │ +                  │'test.abacas.nucmer.delta', 'test.abacas.nucmer.filtered.delta',   │ +                  │'test.abacas.nucmer.tiling', 'test.abacas.tab',                    │ +                  │'test.abacas.unused.contigs.out', 'test.abacas.MULTIFASTA.fa' ]    │ +╶─────────────────┼───────────────────────────────────────────────────────────────────┼────────────╴ + versions  (file)│File containing software versions                                  │versions.yml +                  ╵                                                                   ╵              + + 💻  Installation command: nf-core modules install abacas + diff --git a/docs/images/nf-core-modules-install.svg b/docs/images/nf-core-modules-install.svg index 8e5ba2ee29..0f7d460ad9 100644 --- a/docs/images/nf-core-modules-install.svg +++ b/docs/images/nf-core-modules-install.svg @@ -19,76 +19,76 @@ font-weight: 700; } - .terminal-2712767535-matrix { + .terminal-235834510-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2712767535-title { + .terminal-235834510-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2712767535-r1 { fill: #c5c8c6 } -.terminal-2712767535-r2 { fill: #98a84b } -.terminal-2712767535-r3 { fill: #9a9b99 } -.terminal-2712767535-r4 { fill: #608ab1 } -.terminal-2712767535-r5 { fill: #d0b344 } + .terminal-235834510-r1 { fill: #c5c8c6 } +.terminal-235834510-r2 { fill: #98a84b } +.terminal-235834510-r3 { fill: #9a9b99 } +.terminal-235834510-r4 { fill: #608ab1 } +.terminal-235834510-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -100,26 +100,26 @@ - + - - $ nf-core modules install abacas - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Installing 'abacas' -INFO     Use the following statement to include this module:                                         - - include { ABACAS } from '../modules/nf-core/abacas/main'                                            - + + $ nf-core modules install abacas + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Installing 'abacas' +INFO     Use the following statement to include this module:                                         + + include { ABACAS } from '../modules/nf-core/abacas/main'                                            + diff --git a/docs/images/nf-core-modules-lint.svg b/docs/images/nf-core-modules-lint.svg index 1ef2c54aed..e82458136e 100644 --- a/docs/images/nf-core-modules-lint.svg +++ b/docs/images/nf-core-modules-lint.svg @@ -1,4 +1,4 @@ - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - $ nf-core modules lint multiqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Linting modules repo: '.' -INFO     Linting module: 'multiqc' + + $ nf-core modules lint multiqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Linting modules repo: '.' +INFO     Linting module: 'multiqc' +INFO     Found 4 inputs in modules/nf-core/multiqc/main.nf                                           +INFO     Found 4 outputs in modules/nf-core/multiqc/main.nf                                          + +╭───────────────────────╮ +LINT RESULTS SUMMARY +├───────────────────────┤ +[✔]  57 Tests Passed  +[!]   0 Test Warnings +[✗]   0 Tests Failed  +╰───────────────────────╯ diff --git a/docs/images/nf-core-modules-list-local.svg b/docs/images/nf-core-modules-list-local.svg index a94545663b..2d4759e444 100644 --- a/docs/images/nf-core-modules-list-local.svg +++ b/docs/images/nf-core-modules-list-local.svg @@ -19,108 +19,108 @@ font-weight: 700; } - .terminal-114288408-matrix { + .terminal-2009786231-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-114288408-title { + .terminal-2009786231-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-114288408-r1 { fill: #c5c8c6 } -.terminal-114288408-r2 { fill: #98a84b } -.terminal-114288408-r3 { fill: #9a9b99 } -.terminal-114288408-r4 { fill: #608ab1 } -.terminal-114288408-r5 { fill: #d0b344 } -.terminal-114288408-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-114288408-r7 { fill: #868887;font-style: italic; } + .terminal-2009786231-r1 { fill: #c5c8c6 } +.terminal-2009786231-r2 { fill: #98a84b } +.terminal-2009786231-r3 { fill: #9a9b99 } +.terminal-2009786231-r4 { fill: #608ab1 } +.terminal-2009786231-r5 { fill: #d0b344 } +.terminal-2009786231-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-2009786231-r7 { fill: #868887;font-style: italic; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -132,36 +132,36 @@ - + - - $ nf-core modules list local - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Modules installed in '.':                                                                   - -self.repo_type='pipeline' -┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓ -Module Name        Repository        Version SHA        Message           Date       -┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩ -│ custom/dumpsoftwar… │ https://github.co… │ 8ec825f465b9c17f9d… │ Bump MultiQC       │ 2024-01-10 │ -│                     │                    │                     │ version to 1.19    │            │ -│                     │                    │                     │ (#4705)            │            │ -│ fastqc              │ https://github.co… │ c9488585ce7bd35ccd… │ CHORES: update     │ 2024-01-18 │ -│                     │                    │                     │ fasqc tests with   │            │ -│                     │                    │                     │ new data           │            │ -│                     │                    │                     │ organisation       │            │ -│                     │                    │                     │ (#4760)            │            │ -[..truncated..] + + $ nf-core modules list local + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Modules installed in '.':                                                                   + +self.repo_type='pipeline' +┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓ +Module Name        Repository        Version SHA        Message           Date       +┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩ +│ custom/dumpsoftwar… │ https://github.co… │ 8ec825f465b9c17f9d… │ Bump MultiQC       │ 2024-01-10 │ +│                     │                    │                     │ version to 1.19    │            │ +│                     │                    │                     │ (#4705)            │            │ +│ fastqc              │ https://github.co… │ c9488585ce7bd35ccd… │ CHORES: update     │ 2024-01-18 │ +│                     │                    │                     │ fasqc tests with   │            │ +│                     │                    │                     │ new data           │            │ +│                     │                    │                     │ organisation       │            │ +│                     │                    │                     │ (#4760)            │            │ +[..truncated..] diff --git a/docs/images/nf-core-modules-list-remote.svg b/docs/images/nf-core-modules-list-remote.svg index f8a16874f3..6848284ec6 100644 --- a/docs/images/nf-core-modules-list-remote.svg +++ b/docs/images/nf-core-modules-list-remote.svg @@ -19,109 +19,109 @@ font-weight: 700; } - .terminal-2276415832-matrix { + .terminal-2238208439-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2276415832-title { + .terminal-2238208439-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2276415832-r1 { fill: #c5c8c6 } -.terminal-2276415832-r2 { fill: #98a84b } -.terminal-2276415832-r3 { fill: #9a9b99 } -.terminal-2276415832-r4 { fill: #608ab1 } -.terminal-2276415832-r5 { fill: #d0b344 } -.terminal-2276415832-r6 { fill: #1984e9;text-decoration: underline; } -.terminal-2276415832-r7 { fill: #c5c8c6;font-weight: bold } -.terminal-2276415832-r8 { fill: #868887;font-style: italic; } + .terminal-2238208439-r1 { fill: #c5c8c6 } +.terminal-2238208439-r2 { fill: #98a84b } +.terminal-2238208439-r3 { fill: #9a9b99 } +.terminal-2238208439-r4 { fill: #608ab1 } +.terminal-2238208439-r5 { fill: #d0b344 } +.terminal-2238208439-r6 { fill: #1984e9;text-decoration: underline; } +.terminal-2238208439-r7 { fill: #c5c8c6;font-weight: bold } +.terminal-2238208439-r8 { fill: #868887;font-style: italic; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -133,36 +133,36 @@ - + - - $ nf-core modules list remote - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Modules available from https://github.com/nf-core/modules.git(master):                     - -┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -Module Name                                           -┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ abacas                                                │ -│ abricate/run                                          │ -│ abricate/summary                                      │ -│ abritamr/run                                          │ -│ adapterremoval                                        │ -│ adapterremovalfixprefix                               │ -│ admixture                                             │ -│ affy/justrma                                          │ -│ agat/convertspgff2gtf                                 │ -[..truncated..] + + $ nf-core modules list remote + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Modules available from https://github.com/nf-core/modules.git(master):                     + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Module Name                                           +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ abacas                                                │ +│ abricate/run                                          │ +│ abricate/summary                                      │ +│ abritamr/run                                          │ +│ adapterremoval                                        │ +│ adapterremovalfixprefix                               │ +│ admixture                                             │ +│ affy/justrma                                          │ +│ agat/convertspgff2gtf                                 │ +[..truncated..] diff --git a/docs/images/nf-core-modules-patch.svg b/docs/images/nf-core-modules-patch.svg index 70dc93a8a3..ca6445e5f4 100644 --- a/docs/images/nf-core-modules-patch.svg +++ b/docs/images/nf-core-modules-patch.svg @@ -19,127 +19,127 @@ font-weight: 700; } - .terminal-3232574441-matrix { + .terminal-3644795976-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3232574441-title { + .terminal-3644795976-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3232574441-r1 { fill: #c5c8c6 } -.terminal-3232574441-r2 { fill: #98a84b } -.terminal-3232574441-r3 { fill: #9a9b99 } -.terminal-3232574441-r4 { fill: #608ab1 } -.terminal-3232574441-r5 { fill: #d0b344 } -.terminal-3232574441-r6 { fill: #ff2627 } -.terminal-3232574441-r7 { fill: #00823d } -.terminal-3232574441-r8 { fill: #ff2c7a;font-weight: bold } + .terminal-3644795976-r1 { fill: #c5c8c6 } +.terminal-3644795976-r2 { fill: #98a84b } +.terminal-3644795976-r3 { fill: #9a9b99 } +.terminal-3644795976-r4 { fill: #608ab1 } +.terminal-3644795976-r5 { fill: #d0b344 } +.terminal-3644795976-r6 { fill: #ff2627 } +.terminal-3644795976-r7 { fill: #00823d } +.terminal-3644795976-r8 { fill: #ff2c7a;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -151,42 +151,42 @@ - + - - $ nf-core modules patch fastqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Changes in module 'nf-core/fastqc' -INFO    'modules/nf-core/fastqc/meta.yml' is unchanged                                              -INFO     Changes in 'fastqc/main.nf':                                                                - ---- modules/nf-core/fastqc/main.nf -+++ modules/nf-core/fastqc/main.nf -@@ -1,6 +1,6 @@ -process FASTQC {                                                                                   -    tag "$meta.id"                                                                                 --    label 'process_medium' -+    label 'process_low' - -    conda "${moduleDir}/environment.yml"                                                           -    container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_  - - -INFO    'modules/nf-core/fastqc/environment.yml' is unchanged                                       -INFO    'modules/nf-core/fastqc/tests/main.nf.test.snap' is unchanged                               -INFO    'modules/nf-core/fastqc/tests/tags.yml' is unchanged                                        -INFO    'modules/nf-core/fastqc/tests/main.nf.test' is unchanged                                    -INFO     Patch file of 'modules/nf-core/fastqc' written to 'modules/nf-core/fastqc/fastqc.diff' + + $ nf-core modules patch fastqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Changes in module 'nf-core/fastqc' +INFO    'modules/nf-core/fastqc/meta.yml' is unchanged                                              +INFO    'modules/nf-core/fastqc/environment.yml' is unchanged                                       +INFO     Changes in 'fastqc/main.nf':                                                                + +--- modules/nf-core/fastqc/main.nf ++++ modules/nf-core/fastqc/main.nf +@@ -1,6 +1,6 @@ +process FASTQC {                                                                                   +    tag "$meta.id"                                                                                 +-    label 'process_medium' ++    label 'process_low' + +    conda "${moduleDir}/environment.yml"                                                           +    container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_  + + +INFO    'modules/nf-core/fastqc/tests/main.nf.test' is unchanged                                    +INFO    'modules/nf-core/fastqc/tests/tags.yml' is unchanged                                        +INFO    'modules/nf-core/fastqc/tests/main.nf.test.snap' is unchanged                               +INFO     Patch file of 'modules/nf-core/fastqc' written to 'modules/nf-core/fastqc/fastqc.diff' diff --git a/docs/images/nf-core-modules-remove.svg b/docs/images/nf-core-modules-remove.svg index 910e57fb3c..c8ac631ad5 100644 --- a/docs/images/nf-core-modules-remove.svg +++ b/docs/images/nf-core-modules-remove.svg @@ -19,64 +19,64 @@ font-weight: 700; } - .terminal-3288870273-matrix { + .terminal-2072587744-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3288870273-title { + .terminal-2072587744-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3288870273-r1 { fill: #c5c8c6 } -.terminal-3288870273-r2 { fill: #98a84b } -.terminal-3288870273-r3 { fill: #9a9b99 } -.terminal-3288870273-r4 { fill: #608ab1 } -.terminal-3288870273-r5 { fill: #d0b344 } + .terminal-2072587744-r1 { fill: #c5c8c6 } +.terminal-2072587744-r2 { fill: #98a84b } +.terminal-2072587744-r3 { fill: #9a9b99 } +.terminal-2072587744-r4 { fill: #608ab1 } +.terminal-2072587744-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -88,22 +88,22 @@ - + - - $ nf-core modules remove abacas - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Removed files for 'abacas' and its dependencies 'abacas'.                                   + + $ nf-core modules remove abacas + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Removed files for 'abacas' and its dependencies 'abacas'.                                   diff --git a/docs/images/nf-core-modules-test.svg b/docs/images/nf-core-modules-test.svg index 475a31db2b..9520b174af 100644 --- a/docs/images/nf-core-modules-test.svg +++ b/docs/images/nf-core-modules-test.svg @@ -19,64 +19,64 @@ font-weight: 700; } - .terminal-2219962527-matrix { + .terminal-4272025854-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2219962527-title { + .terminal-4272025854-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2219962527-r1 { fill: #c5c8c6 } -.terminal-2219962527-r2 { fill: #98a84b } -.terminal-2219962527-r3 { fill: #9a9b99 } -.terminal-2219962527-r4 { fill: #608ab1 } -.terminal-2219962527-r5 { fill: #d0b344 } + .terminal-4272025854-r1 { fill: #c5c8c6 } +.terminal-4272025854-r2 { fill: #98a84b } +.terminal-4272025854-r3 { fill: #9a9b99 } +.terminal-4272025854-r4 { fill: #608ab1 } +.terminal-4272025854-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -88,22 +88,22 @@ - + - - $ nf-core modules test fastqc --no-prompts - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Generating nf-test snapshot                                                                 + + $ nf-core modules test fastqc --no-prompts + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Generating nf-test snapshot                                                                 diff --git a/docs/images/nf-core-modules-update.svg b/docs/images/nf-core-modules-update.svg index 400b4470c1..fd13131174 100644 --- a/docs/images/nf-core-modules-update.svg +++ b/docs/images/nf-core-modules-update.svg @@ -19,76 +19,76 @@ font-weight: 700; } - .terminal-1757107026-matrix { + .terminal-1406619329-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1757107026-title { + .terminal-1406619329-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1757107026-r1 { fill: #c5c8c6 } -.terminal-1757107026-r2 { fill: #98a84b } -.terminal-1757107026-r3 { fill: #9a9b99 } -.terminal-1757107026-r4 { fill: #608ab1 } -.terminal-1757107026-r5 { fill: #d0b344 } + .terminal-1406619329-r1 { fill: #c5c8c6 } +.terminal-1406619329-r2 { fill: #98a84b } +.terminal-1406619329-r3 { fill: #9a9b99 } +.terminal-1406619329-r4 { fill: #608ab1 } +.terminal-1406619329-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -100,26 +100,26 @@ - + - - $ nf-core modules update --all --no-preview - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO    'modules/nf-core/abacas' is already up to date                                              -INFO    'modules/nf-core/custom/dumpsoftwareversions' is already up to date                         -INFO    'modules/nf-core/fastqc' is already up to date                                              -INFO    'modules/nf-core/multiqc' is already up to date                                             -INFO     Updates complete ✨                                                                         + + $ nf-core modules update --all --no-preview + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO    'modules/nf-core/abacas' is already up to date                                              +INFO    'modules/nf-core/custom/dumpsoftwareversions' is already up to date                         +INFO     Updating 'nf-core/fastqc' +INFO    'modules/nf-core/multiqc' is already up to date                                             +INFO     Updates complete ✨                                                                         diff --git a/docs/images/nf-core-schema-build.svg b/docs/images/nf-core-schema-build.svg index e3404658f0..6875c1282b 100644 --- a/docs/images/nf-core-schema-build.svg +++ b/docs/images/nf-core-schema-build.svg @@ -19,72 +19,72 @@ font-weight: 700; } - .terminal-2029177533-matrix { + .terminal-848808703-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2029177533-title { + .terminal-848808703-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2029177533-r1 { fill: #c5c8c6 } -.terminal-2029177533-r2 { fill: #98a84b } -.terminal-2029177533-r3 { fill: #9a9b99 } -.terminal-2029177533-r4 { fill: #608ab1 } -.terminal-2029177533-r5 { fill: #d0b344 } -.terminal-2029177533-r6 { fill: #98a84b;font-weight: bold } -.terminal-2029177533-r7 { fill: #868887;font-weight: bold } -.terminal-2029177533-r8 { fill: #868887 } -.terminal-2029177533-r9 { fill: #4e707b;font-weight: bold } -.terminal-2029177533-r10 { fill: #68a0b3;font-weight: bold } + .terminal-848808703-r1 { fill: #c5c8c6 } +.terminal-848808703-r2 { fill: #98a84b } +.terminal-848808703-r3 { fill: #9a9b99 } +.terminal-848808703-r4 { fill: #608ab1 } +.terminal-848808703-r5 { fill: #d0b344 } +.terminal-848808703-r6 { fill: #98a84b;font-weight: bold } +.terminal-848808703-r7 { fill: #868887;font-weight: bold } +.terminal-848808703-r8 { fill: #868887 } +.terminal-848808703-r9 { fill: #4e707b;font-weight: bold } +.terminal-848808703-r10 { fill: #68a0b3;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -96,23 +96,23 @@ - + - - $ nf-core schema build --no-prompts - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO    [] Default parameters match schema validation -INFO    [] Pipeline schema looks valid(found 30 params) -INFO     Writing schema with 31 params: './nextflow_schema.json' + + $ nf-core schema build --no-prompts + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO    [] Default parameters match schema validation +INFO    [] Pipeline schema looks valid(found 30 params) +INFO     Writing schema with 31 params: 'nextflow_schema.json' diff --git a/docs/images/nf-core-schema-lint.svg b/docs/images/nf-core-schema-lint.svg index 34b71e7f47..751f284e59 100644 --- a/docs/images/nf-core-schema-lint.svg +++ b/docs/images/nf-core-schema-lint.svg @@ -19,68 +19,68 @@ font-weight: 700; } - .terminal-3400157991-matrix { + .terminal-3463596934-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3400157991-title { + .terminal-3463596934-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3400157991-r1 { fill: #c5c8c6 } -.terminal-3400157991-r2 { fill: #98a84b } -.terminal-3400157991-r3 { fill: #9a9b99 } -.terminal-3400157991-r4 { fill: #608ab1 } -.terminal-3400157991-r5 { fill: #d0b344 } -.terminal-3400157991-r6 { fill: #98a84b;font-weight: bold } -.terminal-3400157991-r7 { fill: #868887;font-weight: bold } -.terminal-3400157991-r8 { fill: #868887 } -.terminal-3400157991-r9 { fill: #4e707b;font-weight: bold } + .terminal-3463596934-r1 { fill: #c5c8c6 } +.terminal-3463596934-r2 { fill: #98a84b } +.terminal-3463596934-r3 { fill: #9a9b99 } +.terminal-3463596934-r4 { fill: #608ab1 } +.terminal-3463596934-r5 { fill: #d0b344 } +.terminal-3463596934-r6 { fill: #98a84b;font-weight: bold } +.terminal-3463596934-r7 { fill: #868887;font-weight: bold } +.terminal-3463596934-r8 { fill: #868887 } +.terminal-3463596934-r9 { fill: #4e707b;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -92,22 +92,22 @@ - + - - $ nf-core schema lint - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO    [] Default parameters match schema validation -INFO    [] Pipeline schema looks valid(found 31 params) + + $ nf-core schema lint + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO    [] Default parameters match schema validation +INFO    [] Pipeline schema looks valid(found 31 params) diff --git a/docs/images/nf-core-schema-validate.svg b/docs/images/nf-core-schema-validate.svg index 048289f30e..199c1cb0ea 100644 --- a/docs/images/nf-core-schema-validate.svg +++ b/docs/images/nf-core-schema-validate.svg @@ -19,71 +19,71 @@ font-weight: 700; } - .terminal-2717056151-matrix { + .terminal-2317352182-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2717056151-title { + .terminal-2317352182-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2717056151-r1 { fill: #c5c8c6 } -.terminal-2717056151-r2 { fill: #98a84b } -.terminal-2717056151-r3 { fill: #9a9b99 } -.terminal-2717056151-r4 { fill: #608ab1 } -.terminal-2717056151-r5 { fill: #d0b344 } -.terminal-2717056151-r6 { fill: #98a84b;font-weight: bold } -.terminal-2717056151-r7 { fill: #868887;font-weight: bold } -.terminal-2717056151-r8 { fill: #868887 } -.terminal-2717056151-r9 { fill: #4e707b;font-weight: bold } + .terminal-2317352182-r1 { fill: #c5c8c6 } +.terminal-2317352182-r2 { fill: #98a84b } +.terminal-2317352182-r3 { fill: #9a9b99 } +.terminal-2317352182-r4 { fill: #608ab1 } +.terminal-2317352182-r5 { fill: #d0b344 } +.terminal-2317352182-r6 { fill: #98a84b;font-weight: bold } +.terminal-2317352182-r7 { fill: #868887;font-weight: bold } +.terminal-2317352182-r8 { fill: #868887 } +.terminal-2317352182-r9 { fill: #4e707b;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -95,23 +95,23 @@ - + - - $ nf-core schema validate nf-core-rnaseq/3_8 nf-params.json - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -INFO    [] Default parameters match schema validation -INFO    [] Pipeline schema looks valid(found 93 params) -INFO    [] Input parameters look valid + + $ nf-core schema validate nf-core-rnaseq/3_8 nf-params.json + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +INFO    [] Default parameters match schema validation +INFO    [] Pipeline schema looks valid(found 93 params) +INFO    [] Input parameters look valid diff --git a/docs/images/nf-core-subworkflows-create.svg b/docs/images/nf-core-subworkflows-create.svg index d559a8819d..8ce6f0cc8d 100644 --- a/docs/images/nf-core-subworkflows-create.svg +++ b/docs/images/nf-core-subworkflows-create.svg @@ -19,89 +19,89 @@ font-weight: 700; } - .terminal-1494453564-matrix { + .terminal-519671195-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1494453564-title { + .terminal-519671195-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1494453564-r1 { fill: #c5c8c6 } -.terminal-1494453564-r2 { fill: #98a84b } -.terminal-1494453564-r3 { fill: #9a9b99 } -.terminal-1494453564-r4 { fill: #608ab1 } -.terminal-1494453564-r5 { fill: #d0b344 } -.terminal-1494453564-r6 { fill: #68a0b3;font-weight: bold } + .terminal-519671195-r1 { fill: #c5c8c6 } +.terminal-519671195-r2 { fill: #98a84b } +.terminal-519671195-r3 { fill: #9a9b99 } +.terminal-519671195-r4 { fill: #608ab1 } +.terminal-519671195-r5 { fill: #d0b344 } +.terminal-519671195-r6 { fill: #68a0b3;font-weight: bold } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -113,30 +113,30 @@ - + - - $ nf-core subworkflows create bam_stats_samtools --author @nf-core-bot --force - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Repository type: modules -INFO    Press enter to use default values (shown in brackets)or type your own responses.  -ctrl+click underlined text to open links. -INFO     Created component template: 'bam_stats_samtools' -INFO     Created following files:                                                                    -           subworkflows/nf-core/bam_stats_samtools/main.nf                                           -           subworkflows/nf-core/bam_stats_samtools/meta.yml                                          -           subworkflows/nf-core/bam_stats_samtools/tests/tags.yml                                    -           subworkflows/nf-core/bam_stats_samtools/tests/main.nf.test                                + + $ nf-core subworkflows create bam_stats_samtools --author @nf-core-bot --force + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Repository type: modules +INFO    Press enter to use default values (shown in brackets)or type your own responses.  +ctrl+click underlined text to open links. +INFO     Created component template: 'bam_stats_samtools' +INFO     Created following files:                                                                    +           subworkflows/nf-core/bam_stats_samtools/main.nf                                           +           subworkflows/nf-core/bam_stats_samtools/meta.yml                                          +           subworkflows/nf-core/bam_stats_samtools/tests/tags.yml                                    +           subworkflows/nf-core/bam_stats_samtools/tests/main.nf.test                                diff --git a/docs/images/nf-core-subworkflows-info.svg b/docs/images/nf-core-subworkflows-info.svg index 86d8ff7970..85cfb8a2f1 100644 --- a/docs/images/nf-core-subworkflows-info.svg +++ b/docs/images/nf-core-subworkflows-info.svg @@ -19,112 +19,112 @@ font-weight: 700; } - .terminal-139834486-matrix { + .terminal-2433004757-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-139834486-title { + .terminal-2433004757-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-139834486-r1 { fill: #c5c8c6 } -.terminal-139834486-r2 { fill: #98a84b } -.terminal-139834486-r3 { fill: #9a9b99 } -.terminal-139834486-r4 { fill: #608ab1 } -.terminal-139834486-r5 { fill: #d0b344 } -.terminal-139834486-r6 { fill: #c5c8c6;font-weight: bold } -.terminal-139834486-r7 { fill: #98a84b;font-weight: bold } -.terminal-139834486-r8 { fill: #868887 } -.terminal-139834486-r9 { fill: #868887;font-style: italic; } -.terminal-139834486-r10 { fill: #d08442 } -.terminal-139834486-r11 { fill: #98729f } + .terminal-2433004757-r1 { fill: #c5c8c6 } +.terminal-2433004757-r2 { fill: #98a84b } +.terminal-2433004757-r3 { fill: #9a9b99 } +.terminal-2433004757-r4 { fill: #608ab1 } +.terminal-2433004757-r5 { fill: #d0b344 } +.terminal-2433004757-r6 { fill: #c5c8c6;font-weight: bold } +.terminal-2433004757-r7 { fill: #98a84b;font-weight: bold } +.terminal-2433004757-r8 { fill: #868887 } +.terminal-2433004757-r9 { fill: #868887;font-style: italic; } +.terminal-2433004757-r10 { fill: #d08442 } +.terminal-2433004757-r11 { fill: #98729f } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -136,36 +136,36 @@ - + - - $ nf-core subworkflows info bam_rseqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -╭─ Subworkflow: bam_rseqc  ────────────────────────────────────────────────────────────────────────╮ -│ 🌐 Repository: https://github.com/nf-core/modules.git                                            │ -│ 📖 Description: Subworkflow to run multiple commands in the RSeqC package                        │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -[..truncated..] - ch_readduplication_rscript  (file)│script to reproduce the plot        │                      *.R -╶───────────────────────────────────┼────────────────────────────────────┼─────────────────────────╴ - ch_tin  (file)                    │TXT file containing tin.py results  │                    *.txt -                                    │summary                             │ -╶───────────────────────────────────┼────────────────────────────────────┼─────────────────────────╴ - versions  (file)                  │File containing software versions   │             versions.yml -                                    ╵                                    ╵                           - - 💻  Installation command: nf-core subworkflows install bam_rseqc - + + $ nf-core subworkflows info bam_rseqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +╭─ Subworkflow: bam_rseqc  ────────────────────────────────────────────────────────────────────────╮ +│ 🌐 Repository: https://github.com/nf-core/modules.git                                            │ +│ 📖 Description: Subworkflow to run multiple commands in the RSeqC package                        │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +[..truncated..] + ch_readduplication_rscript  (file)│script to reproduce the plot        │                      *.R +╶───────────────────────────────────┼────────────────────────────────────┼─────────────────────────╴ + ch_tin  (file)                    │TXT file containing tin.py results  │                    *.txt +                                    │summary                             │ +╶───────────────────────────────────┼────────────────────────────────────┼─────────────────────────╴ + versions  (file)                  │File containing software versions   │             versions.yml +                                    ╵                                    ╵                           + + 💻  Installation command: nf-core subworkflows install bam_rseqc + diff --git a/docs/images/nf-core-subworkflows-install.svg b/docs/images/nf-core-subworkflows-install.svg index 344150cbf2..d282df2f7f 100644 --- a/docs/images/nf-core-subworkflows-install.svg +++ b/docs/images/nf-core-subworkflows-install.svg @@ -1,4 +1,4 @@ - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - + - + - - $ nf-core subworkflows install bam_rseqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Installing 'bam_rseqc' -INFO     Use the following statement to include this subworkflow:                                    - - include { BAM_RSEQC } from '../subworkflows/nf-core/bam_rseqc/main'                                 - + + $ nf-core subworkflows install bam_rseqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Installing 'bam_rseqc' diff --git a/docs/images/nf-core-subworkflows-lint.svg b/docs/images/nf-core-subworkflows-lint.svg index 3b84645270..aa67f0ca26 100644 --- a/docs/images/nf-core-subworkflows-lint.svg +++ b/docs/images/nf-core-subworkflows-lint.svg @@ -19,239 +19,239 @@ font-weight: 700; } - .terminal-1652488611-matrix { + .terminal-84539906-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1652488611-title { + .terminal-84539906-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1652488611-r1 { fill: #c5c8c6 } -.terminal-1652488611-r2 { fill: #98a84b } -.terminal-1652488611-r3 { fill: #9a9b99 } -.terminal-1652488611-r4 { fill: #608ab1 } -.terminal-1652488611-r5 { fill: #d0b344 } -.terminal-1652488611-r6 { fill: #d0b344;font-weight: bold } -.terminal-1652488611-r7 { fill: #8d7b39 } -.terminal-1652488611-r8 { fill: #68a0b3;font-weight: bold } -.terminal-1652488611-r9 { fill: #d0b344;font-style: italic; } -.terminal-1652488611-r10 { fill: #c5c8c6;font-weight: bold } -.terminal-1652488611-r11 { fill: #98a84b;font-weight: bold } -.terminal-1652488611-r12 { fill: #cc555a } + .terminal-84539906-r1 { fill: #c5c8c6 } +.terminal-84539906-r2 { fill: #98a84b } +.terminal-84539906-r3 { fill: #9a9b99 } +.terminal-84539906-r4 { fill: #608ab1 } +.terminal-84539906-r5 { fill: #d0b344 } +.terminal-84539906-r6 { fill: #d0b344;font-weight: bold } +.terminal-84539906-r7 { fill: #8d7b39 } +.terminal-84539906-r8 { fill: #68a0b3;font-weight: bold } +.terminal-84539906-r9 { fill: #d0b344;font-style: italic; } +.terminal-84539906-r10 { fill: #c5c8c6;font-weight: bold } +.terminal-84539906-r11 { fill: #98a84b;font-weight: bold } +.terminal-84539906-r12 { fill: #cc555a } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -263,78 +263,78 @@ - + - - $ nf-core subworkflows lint bam_stats_samtools - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Linting modules repo: '.' -INFO     Linting subworkflow: 'bam_stats_samtools' - -╭─[!] 14 Subworkflow Test Warnings───────────────────────────────────────────────────────────────╮ -                     ╷                                     ╷                                       -Subworkflow name   File path                          Test message                         -╶────────────────────┼─────────────────────────────────────┼─────────────────────────────────────╴ -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.test//Add  -all required assertions to verify  -the test output. -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testAdd  -tags for all modules used within  -this subworkflow. Example: -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testChange  -the test name preferably indicating  -the test-data and file-format used -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testOnce  -you have added the required tests,  -please run the following command to  -build this file: -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testdefine  -inputs of the workflow here.  -Example: -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf -subworkflow SHOULD import at least  -two modules -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfIf in doubt  -look at other nf-core/subworkflows  -to see how we are doing things! :) -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfedit emitted -channels -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfedit input  -(take) channels -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfsubstitute  -modules here for the modules of your -subworkflow -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#Add a  -description of the subworkflow and  -list keywords -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#Add a list -of the modules and/or subworkflows  -used in the subworkflow -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#List all  -of the channels used as input with a -description and their structure -bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#List all  -of the channels used as output with  -a descriptions and their structure -                     ╵                                     ╵                                       -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭───────────────────────╮ -LINT RESULTS SUMMARY -├───────────────────────┤ -[✔]  42 Tests Passed  -[!]  14 Test Warnings -[✗]   0 Tests Failed  -╰───────────────────────╯ + + $ nf-core subworkflows lint bam_stats_samtools + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Linting modules repo: '.' +INFO     Linting subworkflow: 'bam_stats_samtools' + +╭─[!] 14 Subworkflow Test Warnings───────────────────────────────────────────────────────────────╮ +                     ╷                                     ╷                                       +Subworkflow name   File path                          Test message                         +╶────────────────────┼─────────────────────────────────────┼─────────────────────────────────────╴ +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.test//Add  +all required assertions to verify  +the test output. +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testAdd  +tags for all modules used within  +this subworkflow. Example: +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testChange  +the test name preferably indicating  +the test-data and file-format used +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testOnce  +you have added the required tests,  +please run the following command to  +build this file: +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf.testdefine  +inputs of the workflow here.  +Example: +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nf +subworkflow SHOULD import at least  +two modules +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfIf in doubt  +look at other nf-core/subworkflows  +to see how we are doing things! :) +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfedit emitted +channels +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfedit input  +(take) channels +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in main.nfsubstitute  +modules here for the modules of your +subworkflow +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#Add a  +description of the subworkflow and  +list keywords +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#Add a list +of the modules and/or subworkflows  +used in the subworkflow +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#List all  +of the channels used as input with a +description and their structure +bam_stats_samtools subworkflows/nf-core/bam_stats_sam…TODO string in meta.yml#List all  +of the channels used as output with  +a descriptions and their structure +                     ╵                                     ╵                                       +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭───────────────────────╮ +LINT RESULTS SUMMARY +├───────────────────────┤ +[✔]  42 Tests Passed  +[!]  14 Test Warnings +[✗]   0 Tests Failed  +╰───────────────────────╯ diff --git a/docs/images/nf-core-subworkflows-list-local.svg b/docs/images/nf-core-subworkflows-list-local.svg index b73f19d7e6..2b72e839d0 100644 --- a/docs/images/nf-core-subworkflows-list-local.svg +++ b/docs/images/nf-core-subworkflows-list-local.svg @@ -19,70 +19,70 @@ font-weight: 700; } - .terminal-3638437206-matrix { + .terminal-2334991797-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3638437206-title { + .terminal-2334991797-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3638437206-r1 { fill: #c5c8c6 } -.terminal-3638437206-r2 { fill: #98a84b } -.terminal-3638437206-r3 { fill: #9a9b99 } -.terminal-3638437206-r4 { fill: #608ab1 } -.terminal-3638437206-r5 { fill: #d0b344 } + .terminal-2334991797-r1 { fill: #c5c8c6 } +.terminal-2334991797-r2 { fill: #98a84b } +.terminal-2334991797-r3 { fill: #9a9b99 } +.terminal-2334991797-r4 { fill: #608ab1 } +.terminal-2334991797-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -94,24 +94,24 @@ - + - - $ nf-core subworkflows list local - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     No nf-core subworkflows found in '.' -self.repo_type='pipeline' - + + $ nf-core subworkflows list local + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     No nf-core subworkflows found in '.' +self.repo_type='pipeline' + diff --git a/docs/images/nf-core-subworkflows-list-remote.svg b/docs/images/nf-core-subworkflows-list-remote.svg index 6df1eb00d9..5158fb8c88 100644 --- a/docs/images/nf-core-subworkflows-list-remote.svg +++ b/docs/images/nf-core-subworkflows-list-remote.svg @@ -19,109 +19,109 @@ font-weight: 700; } - .terminal-2916043436-matrix { + .terminal-2156284683-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2916043436-title { + .terminal-2156284683-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2916043436-r1 { fill: #c5c8c6 } -.terminal-2916043436-r2 { fill: #98a84b } -.terminal-2916043436-r3 { fill: #9a9b99 } -.terminal-2916043436-r4 { fill: #608ab1 } -.terminal-2916043436-r5 { fill: #d0b344 } -.terminal-2916043436-r6 { fill: #1984e9;text-decoration: underline; } -.terminal-2916043436-r7 { fill: #c5c8c6;font-weight: bold } -.terminal-2916043436-r8 { fill: #868887;font-style: italic; } + .terminal-2156284683-r1 { fill: #c5c8c6 } +.terminal-2156284683-r2 { fill: #98a84b } +.terminal-2156284683-r3 { fill: #9a9b99 } +.terminal-2156284683-r4 { fill: #608ab1 } +.terminal-2156284683-r5 { fill: #d0b344 } +.terminal-2156284683-r6 { fill: #1984e9;text-decoration: underline; } +.terminal-2156284683-r7 { fill: #c5c8c6;font-weight: bold } +.terminal-2156284683-r8 { fill: #868887;font-style: italic; } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -133,36 +133,36 @@ - + - - $ nf-core subworkflows list remote - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Subworkflows available from https://github.com/nf-core/modules.git(master):                - -┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -Subworkflow Name                              -┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ bam_cnv_wisecondorx                           │ -│ bam_create_som_pon_gatk                       │ -│ bam_dedup_stats_samtools_umitools             │ -│ bam_docounts_contamination_angsd              │ -│ bam_markduplicates_picard                     │ -│ bam_markduplicates_samtools                   │ -│ bam_ngscheckmate                              │ -│ bam_qc_picard                                 │ -│ bam_rseqc                                     │ -[..truncated..] + + $ nf-core subworkflows list remote + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Subworkflows available from https://github.com/nf-core/modules.git(master):                + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Subworkflow Name                              +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ bam_cnv_wisecondorx                           │ +│ bam_create_som_pon_gatk                       │ +│ bam_dedup_stats_samtools_umitools             │ +│ bam_docounts_contamination_angsd              │ +│ bam_markduplicates_picard                     │ +│ bam_markduplicates_samtools                   │ +│ bam_ngscheckmate                              │ +│ bam_qc_picard                                 │ +│ bam_rseqc                                     │ +[..truncated..] diff --git a/docs/images/nf-core-subworkflows-remove.svg b/docs/images/nf-core-subworkflows-remove.svg index 5bf8048c3b..fd9841a27a 100644 --- a/docs/images/nf-core-subworkflows-remove.svg +++ b/docs/images/nf-core-subworkflows-remove.svg @@ -19,100 +19,100 @@ font-weight: 700; } - .terminal-4184599304-matrix { + .terminal-1318775655-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-4184599304-title { + .terminal-1318775655-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-4184599304-r1 { fill: #c5c8c6 } -.terminal-4184599304-r2 { fill: #98a84b } -.terminal-4184599304-r3 { fill: #9a9b99 } -.terminal-4184599304-r4 { fill: #608ab1 } -.terminal-4184599304-r5 { fill: #d0b344 } + .terminal-1318775655-r1 { fill: #c5c8c6 } +.terminal-1318775655-r2 { fill: #98a84b } +.terminal-1318775655-r3 { fill: #9a9b99 } +.terminal-1318775655-r4 { fill: #608ab1 } +.terminal-1318775655-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -124,34 +124,34 @@ - + - - $ nf-core subworkflows remove bam_rseqc - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Removed files for 'rseqc/bamstat' and its dependencies 'rseqc/bamstat'.                     -INFO     Removed files for 'rseqc/inferexperiment' and its dependencies 'rseqc/inferexperiment'.     -INFO     Removed files for 'rseqc/innerdistance' and its dependencies 'rseqc/innerdistance'.         -INFO     Removed files for 'rseqc/junctionannotation' and its dependencies                           -'rseqc/junctionannotation'.                                                                 -INFO     Removed files for 'rseqc/junctionsaturation' and its dependencies                           -'rseqc/junctionsaturation'.                                                                 -INFO     Removed files for 'rseqc/readdistribution' and its dependencies 'rseqc/readdistribution'.   -INFO     Removed files for 'rseqc/readduplication' and its dependencies 'rseqc/readduplication'.     -INFO     Removed files for 'rseqc/tin' and its dependencies 'rseqc/tin'.                             -INFO     Removed files for 'bam_rseqc' and its dependencies 'bam_rseqc, rseqc_bamstat,  -rseqc_inferexperiment, rseqc_innerdistance, rseqc_junctionannotation,  -rseqc_junctionsaturation, rseqc_readdistribution, rseqc_readduplication, rseqc_tin'.        + + $ nf-core subworkflows remove bam_rseqc + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Removed files for 'rseqc/bamstat' and its dependencies 'rseqc/bamstat'.                     +INFO     Removed files for 'rseqc/inferexperiment' and its dependencies 'rseqc/inferexperiment'.     +INFO     Removed files for 'rseqc/innerdistance' and its dependencies 'rseqc/innerdistance'.         +INFO     Removed files for 'rseqc/junctionannotation' and its dependencies                           +'rseqc/junctionannotation'.                                                                 +INFO     Removed files for 'rseqc/junctionsaturation' and its dependencies                           +'rseqc/junctionsaturation'.                                                                 +INFO     Removed files for 'rseqc/readdistribution' and its dependencies 'rseqc/readdistribution'.   +INFO     Removed files for 'rseqc/readduplication' and its dependencies 'rseqc/readduplication'.     +INFO     Removed files for 'rseqc/tin' and its dependencies 'rseqc/tin'.                             +INFO     Removed files for 'bam_rseqc' and its dependencies 'bam_rseqc, rseqc_bamstat,  +rseqc_inferexperiment, rseqc_innerdistance, rseqc_junctionannotation,  +rseqc_junctionsaturation, rseqc_readdistribution, rseqc_readduplication, rseqc_tin'.        diff --git a/docs/images/nf-core-subworkflows-test.svg b/docs/images/nf-core-subworkflows-test.svg index 8bcab4bda0..1c719d84c3 100644 --- a/docs/images/nf-core-subworkflows-test.svg +++ b/docs/images/nf-core-subworkflows-test.svg @@ -19,64 +19,64 @@ font-weight: 700; } - .terminal-3863409673-matrix { + .terminal-1736045672-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-3863409673-title { + .terminal-1736045672-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-3863409673-r1 { fill: #c5c8c6 } -.terminal-3863409673-r2 { fill: #98a84b } -.terminal-3863409673-r3 { fill: #9a9b99 } -.terminal-3863409673-r4 { fill: #608ab1 } -.terminal-3863409673-r5 { fill: #d0b344 } + .terminal-1736045672-r1 { fill: #c5c8c6 } +.terminal-1736045672-r2 { fill: #98a84b } +.terminal-1736045672-r3 { fill: #9a9b99 } +.terminal-1736045672-r4 { fill: #608ab1 } +.terminal-1736045672-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -88,22 +88,22 @@ - + - - $ nf-core subworkflows test bam_rseqc --no-prompts - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO     Generating nf-test snapshot                                                                 + + $ nf-core subworkflows test bam_rseqc --no-prompts + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO     Generating nf-test snapshot                                                                 diff --git a/docs/images/nf-core-subworkflows-update.svg b/docs/images/nf-core-subworkflows-update.svg index 285e5e569f..db8d96c904 100644 --- a/docs/images/nf-core-subworkflows-update.svg +++ b/docs/images/nf-core-subworkflows-update.svg @@ -19,67 +19,67 @@ font-weight: 700; } - .terminal-2735557511-matrix { + .terminal-2428521446-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-2735557511-title { + .terminal-2428521446-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-2735557511-r1 { fill: #c5c8c6 } -.terminal-2735557511-r2 { fill: #98a84b } -.terminal-2735557511-r3 { fill: #9a9b99 } -.terminal-2735557511-r4 { fill: #608ab1 } -.terminal-2735557511-r5 { fill: #d0b344 } + .terminal-2428521446-r1 { fill: #c5c8c6 } +.terminal-2428521446-r2 { fill: #98a84b } +.terminal-2428521446-r3 { fill: #9a9b99 } +.terminal-2428521446-r4 { fill: #608ab1 } +.terminal-2428521446-r5 { fill: #d0b344 } - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -91,23 +91,23 @@ - + - - $ nf-core subworkflows update --all --no-preview - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - - -INFO    'subworkflows/nf-core/bam_rseqc' is already up to date                                      -INFO     Updates complete ✨                                                                         + + $ nf-core subworkflows update --all --no-preview + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + + +INFO    'subworkflows/nf-core/bam_rseqc' is already up to date                                      +INFO     Updates complete ✨                                                                         diff --git a/docs/images/nf-core-sync.svg b/docs/images/nf-core-sync.svg index 3d231e45f1..344a9b04ba 100644 --- a/docs/images/nf-core-sync.svg +++ b/docs/images/nf-core-sync.svg @@ -19,91 +19,91 @@ font-weight: 700; } - .terminal-1007002120-matrix { + .terminal-372548199-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1007002120-title { + .terminal-372548199-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1007002120-r1 { fill: #c5c8c6 } -.terminal-1007002120-r2 { fill: #98a84b } -.terminal-1007002120-r3 { fill: #9a9b99 } -.terminal-1007002120-r4 { fill: #608ab1 } -.terminal-1007002120-r5 { fill: #d0b344 } -.terminal-1007002120-r6 { fill: #cc555a } -.terminal-1007002120-r7 { fill: #98729f } -.terminal-1007002120-r8 { fill: #ff2c7a } + .terminal-372548199-r1 { fill: #c5c8c6 } +.terminal-372548199-r2 { fill: #98a84b } +.terminal-372548199-r3 { fill: #9a9b99 } +.terminal-372548199-r4 { fill: #608ab1 } +.terminal-372548199-r5 { fill: #d0b344 } +.terminal-372548199-r6 { fill: #cc555a } +.terminal-372548199-r7 { fill: #98729f } +.terminal-372548199-r8 { fill: #ff2c7a } - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -115,30 +115,30 @@ - + - - $ nf-core sync - -                                          ,--./,-. -          ___     __   __   __   ___     /,-._.--~\ -    |\ | |__  __ /  ` /  \ |__) |__         }  { -    | \| |       \__, \__/ |  \ |___     \`-._,-`-, -                                          `._,._,' - -    nf-core/tools version 2.12 - https://nf-co.re - - -WARNING  Could not find GitHub authentication token. Some API requests may fail.                     -INFO     Pipeline directory: /home/runner/work/tools/tools/tmp/nf-core-nextbigthing -INFO     Original pipeline repository branch is 'master' -INFO     Deleting all files in 'TEMPLATE' branch                                                     -INFO     Making a new template pipeline using pipeline variables                                     -INFO     Committed changes to 'TEMPLATE' branch                                                      -INFO     Checking out original branch: 'master' -INFO     Now try to merge the updates in to your pipeline:                                           -           cd /home/runner/work/tools/tools/tmp/nf-core-nextbigthing -           git merge TEMPLATE                                                                        + + $ nf-core sync + +                                          ,--./,-. +          ___     __   __   __   ___     /,-._.--~\ +    |\ | |__  __ /  ` /  \ |__) |__         }  { +    | \| |       \__, \__/ |  \ |___     \`-._,-`-, +                                          `._,._,' + +    nf-core/tools version 2.12.1 - https://nf-co.re + + +WARNING  Could not find GitHub authentication token. Some API requests may fail.                     +INFO     Pipeline directory: /home/runner/work/tools/tools/tmp/nf-core-nextbigthing +INFO     Original pipeline repository branch is 'master' +INFO     Deleting all files in 'TEMPLATE' branch                                                     +INFO     Making a new template pipeline using pipeline variables                                     +INFO     Committed changes to 'TEMPLATE' branch                                                      +INFO     Checking out original branch: 'master' +INFO     Now try to merge the updates in to your pipeline:                                           +           cd /home/runner/work/tools/tools/tmp/nf-core-nextbigthing +           git merge TEMPLATE                                                                        diff --git a/nf_core/__main__.py b/nf_core/__main__.py index 7970c34081..a39c3cf732 100644 --- a/nf_core/__main__.py +++ b/nf_core/__main__.py @@ -174,6 +174,10 @@ def nf_core_cli(ctx, verbose, hide_progress, log_file): ) ) + # don't show rich debug logging in verbose mode + rich_logger = logging.getLogger("rich") + rich_logger.setLevel(logging.INFO) + # Set up logs to a file if we asked for one if log_file: log_fh = logging.FileHandler(log_file, encoding="utf-8") @@ -2068,6 +2072,11 @@ def logo(logo_text, dir, name, theme, width, format, force): if dir == ".": dir = Path.cwd() logo_path = create_logo(logo_text, dir, name, theme, width, format, force) + # Print path to logo relative to current working directory + try: + logo_path = Path(logo_path).relative_to(Path.cwd()) + except ValueError: + logo_path = Path(logo_path) log.info(f"Created logo: [magenta]{logo_path}[/]") except UserWarning as e: log.error(e) diff --git a/nf_core/create_logo.py b/nf_core/create_logo.py index 4dfebd3712..1e96b7032c 100644 --- a/nf_core/create_logo.py +++ b/nf_core/create_logo.py @@ -104,7 +104,7 @@ def create_logo( # Save img.save(logo_path, "PNG") - log.debug(f"Saved logo to: {logo_path}") + log.debug(f"Saved logo to: '{logo_path}'") # Return the logo return logo_path diff --git a/nf_core/lint/__init__.py b/nf_core/lint/__init__.py index 4f7657aec5..d39ce5d7e9 100644 --- a/nf_core/lint/__init__.py +++ b/nf_core/lint/__init__.py @@ -8,6 +8,8 @@ import json import logging import os +from pathlib import Path +from typing import List, Union import git import rich @@ -621,7 +623,7 @@ def _save_json_results(self, json_fn): with open(json_fn, "w") as fh: json.dump(results, fh, indent=4) - def _wrap_quotes(self, files): + def _wrap_quotes(self, files: Union[List[str], List[Path], Path]) -> str: """Helper function to take a list of filenames and format with markdown. Args: @@ -636,5 +638,5 @@ def _wrap_quotes(self, files): """ if not isinstance(files, list): files = [files] - bfiles = [f"`{f}`" for f in files] + bfiles = [f"`{str(f)}`" for f in files] return " or ".join(bfiles) diff --git a/nf_core/lint/files_exist.py b/nf_core/lint/files_exist.py index 78a744a4d7..1bd6dba74c 100644 --- a/nf_core/lint/files_exist.py +++ b/nf_core/lint/files_exist.py @@ -1,11 +1,11 @@ import logging from pathlib import Path -from typing import Union +from typing import Dict, List, Tuple, Union log = logging.getLogger(__name__) -def files_exist(self): +def files_exist(self) -> Dict[str, Union[List[str], bool]]: """Checks a given pipeline directory for required files. Iterates through the pipeline's directory content and checks that specified @@ -129,19 +129,19 @@ def files_exist(self): short_name = self.nf_config["manifest.name"].strip("\"'").split("/") files_fail = [ - [".gitattributes"], - [".gitignore"], - [".nf-core.yml"], - [".editorconfig"], - [".prettierignore"], - [".prettierrc.yml"], - ["CHANGELOG.md"], - ["CITATIONS.md"], - ["CODE_OF_CONDUCT.md"], - ["LICENSE", "LICENSE.md", "LICENCE", "LICENCE.md"], # NB: British / American spelling - ["nextflow_schema.json"], - ["nextflow.config"], - ["README.md"], + [Path(".gitattributes")], + [Path(".gitignore")], + [Path(".nf-core.yml")], + [Path(".editorconfig")], + [Path(".prettierignore")], + [Path(".prettierrc.yml")], + [Path("CHANGELOG.md")], + [Path("CITATIONS.md")], + [Path("CODE_OF_CONDUCT.md")], + [Path("LICENSE"), Path("LICENSE.md"), Path("LICENCE"), Path("LICENCE.md")], # NB: British / American spelling + [Path("nextflow_schema.json")], + [Path("nextflow.config")], + [Path("README.md")], [Path(".github", ".dockstore.yml")], [Path(".github", "CONTRIBUTING.md")], [Path(".github", "ISSUE_TEMPLATE", "bug_report.yml")], @@ -171,41 +171,42 @@ def files_exist(self): ] files_warn = [ - ["main.nf"], + [Path("main.nf")], [Path("assets", "multiqc_config.yml")], [Path("conf", "base.config")], [Path("conf", "igenomes.config")], [Path(".github", "workflows", "awstest.yml")], [Path(".github", "workflows", "awsfulltest.yml")], [Path("lib", f"Workflow{short_name[0].upper()}{short_name[1:]}.groovy")], - ["modules.json"], - ["pyproject.toml"], + [Path("modules.json")], + [Path("pyproject.toml")], ] # List of strings. Fails / warns if any of the strings exist. files_fail_ifexists = [ - "Singularity", - "parameters.settings.json", - "pipeline_template.yml", # saving information in .nf-core.yml - ".nf-core.yaml", # yml not yaml + Path("Singularity"), + Path("parameters.settings.json"), + Path("pipeline_template.yml"), # saving information in .nf-core.yml + Path(".nf-core.yaml"), # yml not yaml Path("bin", "markdown_to_html.r"), Path("conf", "aws.config"), Path(".github", "workflows", "push_dockerhub.yml"), Path(".github", "ISSUE_TEMPLATE", "bug_report.md"), Path(".github", "ISSUE_TEMPLATE", "feature_request.md"), Path("docs", "images", f"nf-core-{short_name}_logo.png"), - ".markdownlint.yml", - ".yamllint.yml", + Path(".markdownlint.yml"), + Path(".yamllint.yml"), Path("lib", "Checks.groovy"), Path("lib", "Completion.groovy"), Path("lib", "Workflow.groovy"), ] - files_warn_ifexists = [".travis.yml"] - files_fail_ifinconfig = [[Path("lib", "nfcore_external_java_deps.jar"), "nf-validation"]] + files_warn_ifexists = [Path(".travis.yml")] + files_fail_ifinconfig: List[Tuple[Path, Dict[str, str]]] = [ + (Path("lib", "nfcore_external_java_deps.jar"), {"plugins": "nf-validation"}), + ] # Remove files that should be ignored according to the linting config ignore_files = self.lint_config.get("files_exist", []) - log.info(f"Files to ignore: {ignore_files}") def pf(file_path: Union[str, Path]) -> Path: return Path(self.wf_path, file_path) @@ -242,32 +243,32 @@ def pf(file_path: Union[str, Path]) -> Path: else: passed.append(f"File not found check: {self._wrap_quotes(file)}") # Files that cause an error if they exists together with a certain entry in nextflow.config - for file in files_fail_ifinconfig: - if str(file[0]) in ignore_files: + for file_cond in files_fail_ifinconfig: + if str(file_cond[0]) in ignore_files: continue - nextflow_config = pf("nextflow.config") in_config = False - with open(nextflow_config) as f: - if file[1] in f.read(): - in_config = True - if pf(file[0]).is_file() and in_config: - failed.append(f"File must be removed: {self._wrap_quotes(file[0])}") - elif pf(file[0]).is_file() and not in_config: - passed.append(f"File found check: {self._wrap_quotes(file[0])}") - elif not pf(file[0]).is_file() and not in_config: - failed.append(f"File not found check: {self._wrap_quotes(file[0])}") - elif not pf(file[0]).is_file() and in_config: - passed.append(f"File not found check: {self._wrap_quotes(file[0])}") + config_key, config_value = list(file_cond[1].items())[0] + if config_key in self.nf_config and config_value in self.nf_config[config_key]: + log.debug(f"Found {config_key} in nextflow.config with value {config_value}") + in_config = True + if pf(file_cond[0]).is_file() and in_config: + failed.append(f"File must be removed: {self._wrap_quotes(file_cond[0])}") + elif pf(file_cond[0]).is_file() and not in_config: + passed.append(f"File found check: {self._wrap_quotes(file_cond[0])}") + elif not pf(file_cond[0]).is_file() and not in_config: + failed.append(f"File not found check: {self._wrap_quotes(file_cond[0])}") + elif not pf(file_cond[0]).is_file() and in_config: + passed.append(f"File not found check: {self._wrap_quotes(file_cond[0])}") # Files that cause a warning if they exist for file in files_warn_ifexists: - if file in ignore_files: + if str(file) in ignore_files: continue if pf(file).is_file(): warned.append(f"File should be removed: {self._wrap_quotes(file)}") else: passed.append(f"File not found check: {self._wrap_quotes(file)}") - # Files that are ignoed + # Files that are ignored for file in ignore_files: ignored.append(f"File is ignored: {self._wrap_quotes(file)}") diff --git a/nf_core/lint/files_unchanged.py b/nf_core/lint/files_unchanged.py index 176b0e9e65..399830faae 100644 --- a/nf_core/lint/files_unchanged.py +++ b/nf_core/lint/files_unchanged.py @@ -3,7 +3,7 @@ import shutil import tempfile from pathlib import Path -from typing import Union +from typing import Dict, List, Union import yaml @@ -12,7 +12,7 @@ log = logging.getLogger(__name__) -def files_unchanged(self): +def files_unchanged(self) -> Dict[str, Union[List[str], bool]]: """Checks that certain pipeline files are not modified from template output. Iterates through the pipeline's directory content and compares specified files @@ -49,9 +49,6 @@ def files_unchanged(self): .prettierignore pyproject.toml - Files that need to be there or not based on a entry in nextflow config:: - - lib/nfcore_external_java_deps.jar # if config doesn't mention nf-validation .. tip:: You can configure the ``nf-core lint`` tests to ignore any of these checks by setting the ``files_unchanged`` key as follows in your ``.nf-core.yml`` config file. For example: @@ -64,11 +61,11 @@ def files_unchanged(self): """ - passed = [] - failed = [] - ignored = [] - fixed = [] - could_fix = False + passed: List[str] = [] + failed: List[str] = [] + ignored: List[str] = [] + fixed: List[str] = [] + could_fix: bool = False # Check that we have the minimum required config required_pipeline_config = {"manifest.name", "manifest.description", "manifest.author"} @@ -87,10 +84,10 @@ def files_unchanged(self): # NB: Should all be files, not directories # List of lists. Passes if any of the files in the sublist are found. files_exact = [ - [".gitattributes"], - [".prettierrc.yml"], - ["CODE_OF_CONDUCT.md"], - ["LICENSE", "LICENSE.md", "LICENCE", "LICENCE.md"], # NB: British / American spelling + [Path(".gitattributes")], + [Path(".prettierrc.yml")], + [Path("CODE_OF_CONDUCT.md")], + [Path("LICENSE"), Path("LICENSE.md"), Path("LICENCE"), Path("LICENCE.md")], # NB: British / American spelling [Path(".github", ".dockstore.yml")], [Path(".github", "CONTRIBUTING.md")], [Path(".github", "ISSUE_TEMPLATE", "bug_report.yml")], @@ -110,10 +107,7 @@ def files_unchanged(self): [Path("lib", "NfcoreTemplate.groovy")], ] files_partial = [ - [".gitignore", ".prettierignore", "pyproject.toml"], - ] - files_conditional = [ - [Path("lib", "nfcore_external_java_deps.jar"), {"plugins": "nf_validation"}], + [Path(".gitignore"), Path(".prettierignore"), Path("pyproject.toml")], ] # Only show error messages from pipeline creation @@ -149,11 +143,12 @@ def _tf(file_path: Union[str, Path]) -> Path: """Helper function - get file path for template file""" return Path(test_pipeline_dir, file_path) + ignore_files = self.lint_config.get("files_unchanged", []) + # Files that must be completely unchanged from template for files in files_exact: # Ignore if file specified in linting config - ignore_files = self.lint_config.get("files_unchanged", []) - if any([f in ignore_files for f in files]): + if any([str(f) in ignore_files for f in files]): ignored.append(f"File ignored due to lint config: {self._wrap_quotes(files)}") # Ignore if we can't find the file @@ -181,7 +176,6 @@ def _tf(file_path: Union[str, Path]) -> Path: # Files that can be added to, but that must contain the template contents for files in files_partial: # Ignore if file specified in linting config - ignore_files = self.lint_config.get("files_unchanged", []) if any([f in ignore_files for f in files]): ignored.append(f"File ignored due to lint config: {self._wrap_quotes(files)}") @@ -214,39 +208,6 @@ def _tf(file_path: Union[str, Path]) -> Path: except FileNotFoundError: pass - # Files that should be there only if an entry in nextflow config is not set - for files in files_conditional: - # Ignore if file specified in linting config - ignore_files = self.lint_config.get("files_unchanged", []) - if files[0] in ignore_files: - ignored.append(f"File ignored due to lint config: {self._wrap_quotes(files)}") - - # Ignore if we can't find the file - elif _pf(files[0]).is_file(): - ignored.append(f"File does not exist: {self._wrap_quotes(files[0])}") - - # Check that the file has an identical match - else: - config_key, config_value = list(files[1].items())[0] - if config_key in self.nf_config and self.nf_config[config_key] == config_value: - # Ignore if the config key is set to the expected value - ignored.append(f"File ignored due to config: {self._wrap_quotes(files)}") - else: - try: - if filecmp.cmp(_pf(files[0]), _tf(files[0]), shallow=True): - passed.append(f"`{files[0]}` matches the template") - else: - if "files_unchanged" in self.fix: - # Try to fix the problem by overwriting the pipeline file - shutil.copy(_tf(files[0]), _pf(files[0])) - passed.append(f"`{files[0]}` matches the template") - fixed.append(f"`{files[0]}` overwritten with template file") - else: - failed.append(f"`{files[0]}` does not match the template") - could_fix = True - except FileNotFoundError: - pass - # cleaning up temporary dir shutil.rmtree(tmp_dir) diff --git a/nf_core/lint/nextflow_config.py b/nf_core/lint/nextflow_config.py index 1e0a6c4995..68750cd859 100644 --- a/nf_core/lint/nextflow_config.py +++ b/nf_core/lint/nextflow_config.py @@ -373,29 +373,46 @@ def nextflow_config(self): schema.no_prompts = True schema.load_schema() schema.get_schema_defaults() # Get default values from schema + schema.get_schema_types() # Get types from schema self.nf_config.keys() # Params in nextflow.config for param_name in schema.schema_defaults.keys(): param = "params." + param_name - # Convert booleans to strings if needed - schema_default = ( - "true" - if str(schema.schema_defaults[param_name]) == "True" - else "false" - if str(schema.schema_defaults[param_name]) == "False" - else str(schema.schema_defaults[param_name]) - ) if param in ignore_defaults: ignored.append(f"Config default ignored: {param}") elif param in self.nf_config.keys(): - if str(self.nf_config[param]) == schema_default: - passed.append(f"Config default value correct: {param}") + config_default = None + schema_default = None + if schema.schema_types[param_name] == "boolean": + schema_default = str(schema.schema_defaults[param_name]).lower() + config_default = str(self.nf_config[param]).lower() + elif schema.schema_types[param_name] == "number": + try: + schema_default = float(schema.schema_defaults[param_name]) + config_default = float(self.nf_config[param]) + except ValueError: + failed.append( + f"Config default value incorrect: `{param}` is set as type `number` in nextflow_schema.json, but is not a number in `nextflow.config`." + ) + elif schema.schema_types[param_name] == "integer": + try: + schema_default = int(schema.schema_defaults[param_name]) + config_default = int(self.nf_config[param]) + except ValueError: + failed.append( + f"Config default value incorrect: `{param}` is set as type `integer` in nextflow_schema.json, but is not an integer in `nextflow.config`." + ) + else: + schema_default = str(schema.schema_defaults[param_name]) + config_default = str(self.nf_config[param]) + if config_default is not None and config_default == schema_default: + passed.append(f"Config default value correct: {param}= {schema_default}") else: failed.append( f"Config default value incorrect: `{param}` is set as {self._wrap_quotes(schema_default)} in `nextflow_schema.json` but is {self._wrap_quotes(self.nf_config[param])} in `nextflow.config`." ) else: failed.append( - f"Default value from the Nextflow schema '{param} = {self._wrap_quotes(schema_default)}' not found in `nextflow.config`." + f"Default value from the Nextflow schema `{param} = {self._wrap_quotes(schema_default)}` not found in `nextflow.config`." ) return {"passed": passed, "warned": warned, "failed": failed, "ignored": ignored} diff --git a/nf_core/list.py b/nf_core/list.py index d0b59319a3..67d1a76878 100644 --- a/nf_core/list.py +++ b/nf_core/list.py @@ -6,6 +6,8 @@ import os import re from datetime import datetime +from pathlib import Path +from typing import Union import git import requests @@ -39,12 +41,12 @@ def list_workflows(filter_by=None, sort_by="release", as_json=False, show_archiv return wfs.print_summary() -def get_local_wf(workflow, revision=None): +def get_local_wf(workflow: Union[str, Path], revision=None) -> Union[str, None]: """ Check if this workflow has a local copy and use nextflow to pull it if not """ # Assume nf-core if no org given - if workflow.count("/") == 0: + if str(workflow).count("/") == 0: workflow = f"nf-core/{workflow}" wfs = Workflows() diff --git a/nf_core/schema.py b/nf_core/schema.py index b0c5dc04b6..df04dc5a1e 100644 --- a/nf_core/schema.py +++ b/nf_core/schema.py @@ -4,9 +4,9 @@ import copy import json import logging -import os import tempfile import webbrowser +from pathlib import Path import jinja2 import jsonschema @@ -30,10 +30,11 @@ class PipelineSchema: def __init__(self): """Initialise the object""" - self.schema = None - self.pipeline_dir = None - self.schema_filename = None + self.schema = {} + self.pipeline_dir = "" + self.schema_filename = "" self.schema_defaults = {} + self.schema_types = {} self.schema_params = {} self.input_params = {} self.pipeline_params = {} @@ -48,29 +49,29 @@ def __init__(self): def get_schema_path(self, path, local_only=False, revision=None): """Given a pipeline name, directory, or path, set self.schema_filename""" - + path = Path(path) # Supplied path exists - assume a local pipeline directory or schema - if os.path.exists(path): + if path.exists(): if revision is not None: log.warning(f"Local workflow supplied, ignoring revision '{revision}'") - if os.path.isdir(path): + if path.is_dir(): self.pipeline_dir = path - self.schema_filename = os.path.join(path, "nextflow_schema.json") + self.schema_filename = path / "nextflow_schema.json" else: - self.pipeline_dir = os.path.dirname(path) + self.pipeline_dir = path.parent self.schema_filename = path # Path does not exist - assume a name of a remote workflow elif not local_only: self.pipeline_dir = nf_core.list.get_local_wf(path, revision=revision) - self.schema_filename = os.path.join(self.pipeline_dir, "nextflow_schema.json") + self.schema_filename = Path(self.pipeline_dir, "nextflow_schema.json") # Only looking for local paths, overwrite with None to be safe else: self.schema_filename = None # Check that the schema file exists - if self.schema_filename is None or not os.path.exists(self.schema_filename): + if self.schema_filename is None or not Path(self.schema_filename).exists(): error = f"Could not find pipeline schema for '{path}': {self.schema_filename}" log.error(error) raise AssertionError(error) @@ -106,6 +107,9 @@ def load_lint_schema(self): def load_schema(self): """Load a pipeline schema from a file""" + if self.schema_filename is None: + raise AssertionError("Pipeline schema filename could not be found.") + with open(self.schema_filename) as fh: self.schema = json.load(fh) self.schema_defaults = {} @@ -147,7 +151,7 @@ def sanitise_param_default(self, param): param["default"] = str(param["default"]) return param - def get_schema_defaults(self): + def get_schema_defaults(self) -> None: """ Generate set of default input parameters from schema. @@ -171,6 +175,16 @@ def get_schema_defaults(self): if param["default"] is not None: self.schema_defaults[p_key] = param["default"] + def get_schema_types(self) -> None: + """Get a list of all parameter types in the schema""" + for name, param in self.schema.get("properties", {}).items(): + if "type" in param: + self.schema_types[name] = param["type"] + for _, definition in self.schema.get("definitions", {}).items(): + for name, param in definition.get("properties", {}).items(): + if "type" in param: + self.schema_types[name] = param["type"] + def save_schema(self, suppress_logging=False): """Save a pipeline schema to a file""" # Write results to a JSON file @@ -486,7 +500,7 @@ def print_documentation( console = rich.console.Console() console.print("\n", Syntax(prettified_docs, format), "\n") else: - if os.path.exists(output_fn) and not force: + if Path(output_fn).exists() and not force: log.error(f"File '{output_fn}' exists! Please delete first, or use '--force'") return with open(output_fn, "w") as fh: @@ -572,7 +586,7 @@ def make_skeleton_schema(self): ) schema_template = env.get_template("nextflow_schema.json") template_vars = { - "name": self.pipeline_manifest.get("name", os.path.dirname(self.schema_filename)).strip("'"), + "name": self.pipeline_manifest.get("name", Path(self.schema_filename).parent).strip("'"), "description": self.pipeline_manifest.get("description", "").strip("'"), } self.schema = json.loads(schema_template.render(template_vars)) @@ -656,9 +670,11 @@ def get_wf_params(self): if len(self.pipeline_params) > 0 and len(self.pipeline_manifest) > 0: log.debug("Skipping get_wf_params as we already have them") return - + if self.schema_filename is None: + log.error("Cannot get workflow params without a schema file") + return log.debug("Collecting pipeline parameter defaults\n") - config = nf_core.utils.fetch_wf_config(os.path.dirname(self.schema_filename)) + config = nf_core.utils.fetch_wf_config(Path(self.schema_filename).parent) skipped_params = [] # Pull out just the params. values for ckey, cval in config.items(): diff --git a/setup.py b/setup.py index 5fd855c798..87677b45c1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup -version = "2.12" +version = "2.12.1" with open("README.md") as f: readme = f.read() diff --git a/tests/lint/files_exist.py b/tests/lint/files_exist.py index 5ba26d77a0..d3a6a25e82 100644 --- a/tests/lint/files_exist.py +++ b/tests/lint/files_exist.py @@ -54,3 +54,24 @@ def test_files_exist_pass(self): results = lint_obj.files_exist() assert results["failed"] == [] + + +def test_files_exist_pass_conditional(self): + new_pipeline = self._make_pipeline_copy() + lint_obj = nf_core.lint.PipelineLint(new_pipeline) + lint_obj._load() + lint_obj.nf_config["plugins"] = [] + Path(new_pipeline, "lib/nfcore_external_java_deps.jar").touch() + results = lint_obj.files_exist() + assert results["failed"] == [] + assert results["ignored"] == [] + + +def test_files_exist_fail_conditional(self): + new_pipeline = self._make_pipeline_copy() + lint_obj = nf_core.lint.PipelineLint(new_pipeline) + lint_obj._load() + Path(new_pipeline, "lib/nfcore_external_java_deps.jar").touch() + results = lint_obj.files_exist() + assert results["failed"] == ["File must be removed: `lib/nfcore_external_java_deps.jar`"] + assert results["ignored"] == [] diff --git a/tests/lint/files_unchanged.py b/tests/lint/files_unchanged.py index 84aec50c26..601f09b9df 100644 --- a/tests/lint/files_unchanged.py +++ b/tests/lint/files_unchanged.py @@ -1,4 +1,4 @@ -import os +from pathlib import Path import nf_core.lint @@ -13,14 +13,14 @@ def test_files_unchanged_pass(self): def test_files_unchanged_fail(self): - failing_file = os.path.join(".github", "CONTRIBUTING.md") + failing_file = Path(".github", "CONTRIBUTING.md") new_pipeline = self._make_pipeline_copy() - with open(os.path.join(new_pipeline, failing_file), "a") as fh: + with open(Path(new_pipeline, failing_file), "a") as fh: fh.write("THIS SHOULD NOT BE HERE") lint_obj = nf_core.lint.PipelineLint(new_pipeline) lint_obj._load() results = lint_obj.files_unchanged() assert len(results["failed"]) > 0 - assert failing_file in results["failed"][0] + assert str(failing_file) in results["failed"][0] assert results["could_fix"] diff --git a/tests/lint/nextflow_config.py b/tests/lint/nextflow_config.py index 60aaee5243..fa85568f14 100644 --- a/tests/lint/nextflow_config.py +++ b/tests/lint/nextflow_config.py @@ -64,8 +64,8 @@ def test_default_values_match(self): result = lint_obj.nextflow_config() assert len(result["failed"]) == 0 assert len(result["warned"]) == 0 - assert "Config default value correct: params.max_cpus" in result["passed"] - assert "Config default value correct: params.validate_params" in result["passed"] + assert "Config default value correct: params.max_cpus" in str(result["passed"]) + assert "Config default value correct: params.validate_params" in str(result["passed"]) def test_default_values_fail(self): @@ -75,7 +75,7 @@ def test_default_values_fail(self): nf_conf_file = Path(new_pipeline) / "nextflow.config" with open(nf_conf_file) as f: content = f.read() - fail_content = re.sub(r"\bmax_cpus = 16\b", "max_cpus = 0", content) + fail_content = re.sub(r"\bmax_cpus\s*=\s*16\b", "max_cpus = 0", content) with open(nf_conf_file, "w") as f: f.write(fail_content) # Change the default value of max_memory in nextflow_schema.json @@ -115,5 +115,68 @@ def test_default_values_ignored(self): result = lint_obj.nextflow_config() assert len(result["failed"]) == 0 assert len(result["ignored"]) == 1 - assert "Config default value correct: params.max_cpus" not in result["passed"] - assert "Config default ignored: params.max_cpus" in result["ignored"] + assert "Config default value correct: params.max_cpu" not in str(result["passed"]) + assert "Config default ignored: params.max_cpus" in str(result["ignored"]) + + +def test_default_values_float(self): + """Test comparing two float values.""" + new_pipeline = self._make_pipeline_copy() + # Add a float value `dummy=0.0001` to the nextflow.config below `validate_params` + nf_conf_file = Path(new_pipeline) / "nextflow.config" + with open(nf_conf_file) as f: + content = f.read() + fail_content = re.sub( + r"validate_params\s*=\s*true", "params.validate_params = true\ndummy = 0.000000001", content + ) + with open(nf_conf_file, "w") as f: + f.write(fail_content) + # Add a float value `dummy` to the nextflow_schema.json + nf_schema_file = Path(new_pipeline) / "nextflow_schema.json" + with open(nf_schema_file) as f: + content = f.read() + fail_content = re.sub( + r'"validate_params": {', + ' "dummy": {"type": "number","default":0.000000001},\n"validate_params": {', + content, + ) + with open(nf_schema_file, "w") as f: + f.write(fail_content) + + lint_obj = nf_core.lint.PipelineLint(new_pipeline) + lint_obj._load_pipeline_config() + result = lint_obj.nextflow_config() + assert len(result["failed"]) == 0 + assert len(result["warned"]) == 0 + assert "Config default value correct: params.dummy" in str(result["passed"]) + + +def test_default_values_float_fail(self): + """Test comparing two float values.""" + new_pipeline = self._make_pipeline_copy() + # Add a float value `dummy=0.0001` to the nextflow.config below `validate_params` + nf_conf_file = Path(new_pipeline) / "nextflow.config" + with open(nf_conf_file) as f: + content = f.read() + fail_content = re.sub( + r"validate_params\s*=\s*true", "params.validate_params = true\ndummy = 0.000000001", content + ) + with open(nf_conf_file, "w") as f: + f.write(fail_content) + # Add a float value `dummy` to the nextflow_schema.json + nf_schema_file = Path(new_pipeline) / "nextflow_schema.json" + with open(nf_schema_file) as f: + content = f.read() + fail_content = re.sub( + r'"validate_params": {', ' "dummy": {"type": "float","default":0.000001},\n"validate_params": {', content + ) + with open(nf_schema_file, "w") as f: + f.write(fail_content) + + lint_obj = nf_core.lint.PipelineLint(new_pipeline) + lint_obj._load_pipeline_config() + result = lint_obj.nextflow_config() + + assert len(result["failed"]) == 1 + assert len(result["warned"]) == 0 + assert "Config default value incorrect: `params.dummy" in str(result["failed"]) diff --git a/tests/test_lint.py b/tests/test_lint.py index c8d7135654..9839265892 100644 --- a/tests/test_lint.py +++ b/tests/test_lint.py @@ -200,9 +200,11 @@ def test_sphinx_md_files(self): ) from .lint.files_exist import ( # type: ignore[misc] test_files_exist_depreciated_file, + test_files_exist_fail_conditional, test_files_exist_missing_config, test_files_exist_missing_main, test_files_exist_pass, + test_files_exist_pass_conditional, ) from .lint.files_unchanged import ( # type: ignore[misc] test_files_unchanged_fail, @@ -220,6 +222,8 @@ def test_sphinx_md_files(self): ) from .lint.nextflow_config import ( # type: ignore[misc] test_default_values_fail, + test_default_values_float, + test_default_values_float_fail, test_default_values_ignored, test_default_values_match, test_nextflow_config_bad_name_fail,