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
+7-31
Original file line number
Diff line number
Diff line change
@@ -68,16 +68,13 @@ If you wish to contribute a new step, please use the following coding standards:
68
68
1. Define the corresponding input channel into your new process from the expected previous process channel
69
69
2. Write the process block (see below).
70
70
3. Define the output channel if needed (see below).
71
-
4. Add any new flags/options to `nextflow.config` with a default (see below).
72
-
5. Add any new flags/options to `nextflow_schema.json` with help text (with `nf-core schema build`).
73
-
6. Add any new flags/options to the help message (for integer/text parameters, print to help the corresponding `nextflow.config` parameter).
74
-
7. Add sanity checks for all relevant parameters.
75
-
8. Add any new software to the `scrape_software_versions.py` script in `bin/` and the version command to the `scrape_software_versions` process in `main.nf`.
76
-
9. Do local tests that the new code works properly and as expected.
77
-
10. Add a new test command in `.github/workflow/ci.yml`.
78
-
11. If applicable add a [MultiQC](https://https://multiqc.info/) module.
79
-
12. Update MultiQC config `assets/multiqc_config.yaml` so relevant suffixes, name clean up, General Statistics Table column order, and module figures are in the right order.
80
-
13. Optional: Add any descriptions of MultiQC report sections and output files to `docs/output.md`.
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`.
81
78
82
79
### Default values
83
80
@@ -102,27 +99,6 @@ Please use the following naming schemes, to make it easy to understand what is g
102
99
103
100
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]`
104
101
105
-
### Software version reporting
106
-
107
-
If you add a new tool to the pipeline, please ensure you add the information of the tool to the `get_software_version` process.
108
-
109
-
Add to the script block of the process, something like the following:
<YOUR_TOOL> --help | head -n 1 &> v_<YOUR_TOOL>.txt 2>&1||true
119
-
```
120
-
121
-
You then need to edit the script `bin/scrape_software_versions.py` to:
122
-
123
-
1. Add a Python regex for your tool's `--version` output (as in stored in the `v_<YOUR_TOOL>.txt` file), to ensure the version is reported as a `v` and the version number e.g. `v2.1.1`
124
-
2. Add a HTML entry to the `OrderedDict` for formatting in MultiQC.
125
-
126
102
### Images and figures
127
103
128
104
For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).
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 drag and drop the relevant files here. Create a `.zip` archive 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.
description: Suggest an idea for the nf-core/rnavar 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.
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
0 commit comments