Skip to content

Commit c318ae1

Browse files
authored
Merge pull request #59 from nf-core/dev
Dev -> Master for 1.5 release
2 parents 0c43cc7 + 187c116 commit c318ae1

39 files changed

+337
-277
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.config linguist-language=nextflow
2+
modules/nf-core/** linguist-generated
3+
subworkflows/nf-core/** linguist-generated

.github/CONTRIBUTING.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,20 @@ For further information/help, please consult the [nf-core/fetchngs documentation
6161

6262
To make the nf-core/fetchngs code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.
6363

64-
### Adding a new step or module
64+
### Adding a new step
6565

66-
If you wish to contribute a new step or module please see the [official guidelines](https://nf-co.re/developers/adding_modules#new-module-guidelines-and-pr-review-checklist) and use the following coding standards:
66+
If you wish to contribute a new step, please use the following coding standards:
6767

68-
1. Add any new flags/options to `nextflow.config` with a default (see section below).
69-
2. Add any new flags/options to `nextflow_schema.json` with help text via `nf-core schema build`.
70-
3. Add sanity checks for all relevant parameters.
71-
4. Perform local tests to validate that the new code works as expected.
72-
5. If applicable, add a new test command in `.github/workflow/ci.yml`.
73-
6. Add any descriptions of output files to `docs/output.md`.
68+
1. Define the corresponding input channel into your new process from the expected previous process channel
69+
2. Write the process block (see below).
70+
3. Define the output channel if needed (see below).
71+
4. Add any new parameters to `nextflow.config` with a default (see below).
72+
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
73+
6. Add sanity checks and validation for all relevant parameters.
74+
7. Perform local tests to validate that the new code works as expected.
75+
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
76+
9. Update MultiQC config `assets/multiqc_config.yaml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
77+
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.
7478

7579
### Default values
7680

@@ -82,12 +86,14 @@ Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
8286

8387
Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.
8488

85-
### Channel naming convention
89+
The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.
90+
91+
### Naming schemes
8692

8793
Please use the following naming schemes, to make it easy to understand what is going where.
8894

89-
* Initial process channel: `ch_output_from_<process>`
90-
* Intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`
95+
* initial process channel: `ch_output_from_<process>`
96+
* intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`
9197

9298
### Nextflow version bumping
9399

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
name: Bug report
3+
description: Report something that is broken or incorrect
4+
labels: bug
5+
body:
6+
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Before you post this issue, please check the documentation:
11+
12+
- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
13+
- [nf-core/fetchngs pipeline documentation](https://nf-co.re/fetchngs/usage)
14+
15+
- type: textarea
16+
id: description
17+
attributes:
18+
label: Description of the bug
19+
description: A clear and concise description of what the bug is.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: command_used
25+
attributes:
26+
label: Command used and terminal output
27+
description: Steps to reproduce the behaviour. Please paste the command you used to launch the pipeline and the output from your terminal.
28+
render: console
29+
placeholder: |
30+
$ nextflow run ...
31+
32+
Some output where something broke
33+
34+
- type: textarea
35+
id: files
36+
attributes:
37+
label: Relevant files
38+
description: |
39+
Please upload (drag and drop) and relevant files. Make into a `.zip` file if the extension is not allowed.
40+
Your verbose log file `.nextflow.log` is often useful _(this is a hidden file in the directory where you launched the pipeline)_ as well as custom Nextflow configuration files.
41+
42+
- type: textarea
43+
id: system
44+
attributes:
45+
label: System information
46+
description: |
47+
* Nextflow version _(eg. 21.10.3)_
48+
* Hardware _(eg. HPC, Desktop, Cloud)_
49+
* Executor _(eg. slurm, local, awsbatch)_
50+
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
51+
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
52+
* Version of nf-core/fetchngs _(eg. 1.1, 1.5, 1.8.2)_

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
blank_issues_enabled: false
21
contact_links:
32
- name: Join nf-core
43
url: https://nf-co.re/join

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Feature request
2+
description: Suggest an idea for the nf-core/fetchngs pipeline
3+
labels: enhancement
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Description of feature
9+
description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
10+
validations:
11+
required: true

.github/workflows/awsfulltest.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Launch workflow via tower
17-
uses: nf-core/tower-action@master
17+
uses: nf-core/tower-action@v2
18+
1819
with:
1920
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
20-
bearer_token: ${{ secrets.TOWER_BEARER_TOKEN }}
21+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
2122
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
2223
pipeline: ${{ github.repository }}
2324
revision: ${{ github.sha }}
@@ -26,4 +27,6 @@ jobs:
2627
{
2728
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/fetchngs/results-${{ github.sha }}"
2829
}
29-
profiles: '[ "test_full", "aws_tower" ]'
30+
profiles: test_full,aws_tower
31+
pre_run_script: 'export NXF_VER=21.10.3'
32+

.github/workflows/awstest.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Launch workflow via tower
14-
uses: nf-core/tower-action@master
14+
uses: nf-core/tower-action@v2
1515

1616
with:
1717
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
18-
bearer_token: ${{ secrets.TOWER_BEARER_TOKEN }}
18+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
1919
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
2020
pipeline: ${{ github.repository }}
2121
revision: ${{ github.sha }}
@@ -24,4 +24,6 @@ jobs:
2424
{
2525
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/fetchngs/results-${{ github.sha }}"
2626
}
27-
profiles: '[ "test", "aws_tower" ]'
27+
profiles: test,aws_tower
28+
pre_run_script: 'export NXF_VER=21.10.3'
29+

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
release:
99
types: [published]
1010

11-
# Uncomment if we need an edge release of Nextflow again
12-
# env: NXF_EDGE: 1
13-
1411
jobs:
1512
test:
1613
name: Run workflow tests
@@ -22,7 +19,9 @@ jobs:
2219
strategy:
2320
matrix:
2421
# Nextflow versions: check pipeline minimum and latest edge version
25-
nxf_ver: ["NXF_VER=21.04.0", "NXF_EDGE=1"]
22+
nxf_ver:
23+
- 'NXF_VER=21.10.3'
24+
# - 'NXF_EDGE=1'
2625
steps:
2726
- name: Check out pipeline code
2827
uses: actions/checkout@v2

0 commit comments

Comments
 (0)