You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/CONTRIBUTING.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ If you'd like to write some code for nf-core/ampliseq, the standard workflow is
19
19
1. Check that there isn't already an issue about your idea in the [nf-core/ampliseq issues](https://github.com/nf-core/ampliseq/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
20
20
2.[Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/ampliseq repository](https://github.com/nf-core/ampliseq) to your GitHub account
21
21
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
22
-
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
22
+
4. Use `nf-core pipelines schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
23
23
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged
24
24
25
25
If you're not used to this workflow with git, you can start with some [docs from GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests) or even their [excellent `git` resources](https://try.github.io/).
@@ -40,7 +40,7 @@ There are typically two types of tests that run:
40
40
### Lint tests
41
41
42
42
`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
43
-
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.
43
+
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core pipelines lint <pipeline-directory>` command.
44
44
45
45
If any failures or warnings are encountered, please follow the listed URL for more documentation.
46
46
@@ -75,7 +75,7 @@ If you wish to contribute a new step, please use the following coding standards:
75
75
2. Write the process block (see below).
76
76
3. Define the output channel if needed (see below).
77
77
4. Add any new parameters to `nextflow.config` with a default (see below).
78
-
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
78
+
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
79
79
6. Add sanity checks and validation for all relevant parameters.
80
80
7. Perform local tests to validate that the new code works as expected.
81
81
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
@@ -86,11 +86,11 @@ If you wish to contribute a new step, please use the following coding standards:
86
86
87
87
Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
88
88
89
-
Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
89
+
Once there, use `nf-core pipelines schema build` to add to `nextflow_schema.json`.
90
90
91
91
### Default processes resource requirements
92
92
93
-
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.
93
+
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/main/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.
94
94
95
95
The process resources can be passed on to the tool dynamically within the process with the `${task.cpus}` and `${task.memory}` variables in the `script:` block.
96
96
@@ -103,7 +103,7 @@ Please use the following naming schemes, to make it easy to understand what is g
103
103
104
104
### Nextflow version bumping
105
105
106
-
If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core bump-version --nextflow . [min-nf-version]`
106
+
If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core pipelines bump-version --nextflow . [min-nf-version]`
Copy file name to clipboardexpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/ampl
17
17
-[ ] If you've fixed a bug or added code that should be tested, add tests!
18
18
-[ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/ampliseq/tree/master/.github/CONTRIBUTING.md)
19
19
-[ ] If necessary, also make a PR on the nf-core/ampliseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
20
-
-[ ] Make sure your code lints (`nf-core lint`).
20
+
-[ ] Make sure your code lints (`nf-core pipelines lint`).
21
21
-[ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
22
22
-[ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
23
23
-[ ] Usage Documentation in `docs/usage.md` is updated.
0 commit comments