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
@@ -16,7 +16,7 @@ If you'd like to write some code for plant-food-research-open/genepal, the stand
16
16
1. Check that there isn't already an issue about your idea in the [plant-food-research-open/genepal issues](https://github.com/plant-food-research-open/genepal/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
17
17
2.[Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [plant-food-research-open/genepal repository](https://github.com/plant-food-research-open/genepal) to your GitHub account
18
18
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
19
-
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).
19
+
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).
20
20
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged
21
21
22
22
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/).
@@ -37,7 +37,7 @@ There are typically two types of tests that run:
37
37
### Lint tests
38
38
39
39
`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
40
-
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.
40
+
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.
41
41
42
42
If any failures or warnings are encountered, please follow the listed URL for more documentation.
43
43
@@ -68,7 +68,7 @@ If you wish to contribute a new step, please use the following coding standards:
68
68
2. Write the process block (see below).
69
69
3. Define the output channel if needed (see below).
70
70
4. Add any new parameters to `nextflow.config` with a default (see below).
71
-
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
71
+
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
72
72
6. Add sanity checks and validation for all relevant parameters.
73
73
7. Perform local tests to validate that the new code works as expected.
74
74
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
@@ -79,11 +79,11 @@ If you wish to contribute a new step, please use the following coding standards:
79
79
80
80
Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
81
81
82
-
Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
82
+
Once there, use `nf-core pipelines schema build` to add to `nextflow_schema.json`.
83
83
84
84
### Default processes resource requirements
85
85
86
-
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.
86
+
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.
87
87
88
88
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.
89
89
@@ -96,7 +96,7 @@ Please use the following naming schemes, to make it easy to understand what is g
96
96
97
97
### Nextflow version bumping
98
98
99
-
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]`
99
+
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/ISSUE_TEMPLATE/bug_report.yml
+10-22
Original file line number
Diff line number
Diff line change
@@ -9,46 +9,34 @@ body:
9
9
description: A clear and concise description of what the bug is.
10
10
validations:
11
11
required: true
12
+
12
13
- type: textarea
13
14
id: command_used
14
15
attributes:
15
16
label: Command used and terminal output
16
-
description: Steps to reproduce the behaviour. Please paste the command you used
17
-
to launch the pipeline and the output from your terminal.
17
+
description: Steps to reproduce the behaviour. Please paste the command you used to launch the pipeline and the output from your terminal.
18
18
render: console
19
-
placeholder: "$ nextflow run ...
20
-
19
+
placeholder: |
20
+
$ nextflow run ...
21
21
22
22
Some output where something broke
23
23
24
-
"
25
24
- type: textarea
26
25
id: files
27
26
attributes:
28
27
label: Relevant files
29
-
description: "Please drag and drop the relevant files here. Create a `.zip` archive
30
-
if the extension is not allowed.
31
-
32
-
Your verbose log file `.nextflow.log` is often useful _(this is a hidden file
33
-
in the directory where you launched the pipeline)_ as well as custom Nextflow
34
-
configuration files.
28
+
description: |
29
+
Please drag and drop the relevant files here. Create a `.zip` archive if the extension is not allowed.
30
+
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.
Copy file name to clipboardexpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/plant-food-r
16
16
-[ ] This comment contains a description of changes (with reason).
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/plant-food-research-open/genepal/tree/master/.github/CONTRIBUTING.md)
19
-
-[ ] Make sure your code lints (`nf-core lint`).
19
+
-[ ] Make sure your code lints (`nf-core pipelines lint`).
20
20
-[ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
21
21
-[ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
22
22
-[ ] Usage Documentation in `docs/usage.md` is updated.
0 commit comments