Skip to content

Commit 8447c4d

Browse files
Merge pull request #183 from nf-core/dev
Prepare for version 2.2 "Silver Titanium Ostrich"
2 parents 80fd998 + 7714e55 commit 8447c4d

File tree

87 files changed

+1516
-1831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1516
-1831
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: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,13 @@ If you wish to contribute a new step, please use the following coding standards:
6868
1. Define the corresponding input channel into your new process from the expected previous process channel
6969
2. Write the process block (see below).
7070
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`.
8178

8279
### Default values
8380

@@ -102,27 +99,6 @@ Please use the following naming schemes, to make it easy to understand what is g
10299

103100
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]`
104101

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:
110-
111-
```bash
112-
<YOUR_TOOL> --version &> v_<YOUR_TOOL>.txt 2>&1 || true
113-
```
114-
115-
or
116-
117-
```bash
118-
<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-
126102
### Images and figures
127103

128104
For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

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/mhcquant pipeline documentation](https://nf-co.re/mhcquant/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 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.
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/mhcquant _(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/mhcquant 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
2121
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
2222
pipeline: ${{ github.repository }}
23-
revision: ${{ github.sha } }
23+
revision: ${{ github.sha }}
2424
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/mhcquant/work-${{ github.sha }}
2525
parameters: |
2626
{
2727
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/mhcquant/results-${{ github.sha }}"
2828
}
29-
profiles: test,aws_tower
29+
profiles: test_full,aws_tower
3030
pre_run_script: 'export NXF_VER=21.10.3'

.github/workflows/awstest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Launch workflow via tower
1414
uses: nf-core/tower-action@v2
15-
15+
1616
with:
1717
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
1818
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
@@ -22,7 +22,7 @@ jobs:
2222
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/mhcquant/work-${{ github.sha }}
2323
parameters: |
2424
{
25-
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/mhcquant/results-${{ github.sha }}"
25+
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/mhcquant/results-test-${{ github.sha }}"
2626
}
2727
profiles: test,aws_tower
2828
pre_run_script: 'export NXF_VER=21.10.3'

.github/workflows/ci.yml

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,36 @@ on:
88
release:
99
types: [published]
1010

11-
# Uncomment if we need an edge release of Nextflow again
12-
# env: NXF_EDGE: 1
11+
env:
12+
NXF_ANSI_LOG: false
13+
CAPSULE_LOG: none
1314

1415
jobs:
1516
test:
1617
name: Run workflow tests
1718
# Only run on push if this is the nf-core dev branch (merged PRs)
1819
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}
1920
runs-on: ubuntu-latest
20-
env:
21-
NXF_VER: ${{ matrix.nxf_ver }}
22-
NXF_ANSI_LOG: false
2321
strategy:
2422
matrix:
25-
# Nextflow versions: check pipeline minimum and current latest
26-
nxf_ver: ['21.10.3', '']
23+
# Nextflow versions
24+
include:
25+
# Test pipeline minimum Nextflow version
26+
- NXF_VER: '21.10.3'
27+
NXF_EDGE: ''
28+
# Test latest edge release of Nextflow
29+
- NXF_VER: ''
30+
NXF_EDGE: '1'
2731
steps:
2832
- name: Check out pipeline code
2933
uses: actions/checkout@v2
3034

3135
- name: Install Nextflow
3236
env:
33-
CAPSULE_LOG: none
37+
NXF_VER: ${{ matrix.NXF_VER }}
38+
# Uncomment only if the edge release is more recent than the latest stable release
39+
# See https://github.com/nextflow-io/nextflow/issues/2467
40+
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
3441
run: |
3542
wget -qO- get.nextflow.io | bash
3643
sudo mv nextflow /usr/local/bin/
@@ -44,17 +51,30 @@ jobs:
4451
# Only run on push if this is the nf-core dev branch (merged PRs)
4552
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}
4653
runs-on: ubuntu-latest
47-
env:
48-
NXF_VER: ${{ matrix.nxf_ver }}
49-
NXF_ANSI_LOG: false
54+
strategy:
55+
matrix:
56+
# Nextflow versions
57+
include:
58+
# Test pipeline minimum Nextflow version
59+
- NXF_VER: '21.10.3'
60+
NXF_EDGE: ''
61+
# Test latest edge release of Nextflow
62+
- NXF_VER: ''
63+
NXF_EDGE: '1'
5064
steps:
5165
- name: Check out pipeline code
5266
uses: actions/checkout@v2
5367

5468
- name: Install Nextflow
69+
env:
70+
NXF_VER: ${{ matrix.NXF_VER }}
71+
# Uncomment only if the edge release is more recent than the latest stable release
72+
# See https://github.com/nextflow-io/nextflow/issues/2467
73+
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
5574
run: |
5675
wget -qO- get.nextflow.io | bash
5776
sudo mv nextflow /usr/local/bin/
77+
5878
- name: Run pipeline with additional params
5979
run: |
6080
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --predict_class_1 --predict_class_2 --predict_RT

.github/workflows/linting_comment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: dawidd6/action-download-artifact@v2
1616
with:
1717
workflow: linting.yml
18+
workflow_conclusion: completed
1819

1920
- name: Get PR number
2021
id: pr_number

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# nf-core/mhcquant: Changelog
22

3+
## v2.2.0 nfcore/mhcquant "Silver Titanium Ostrich" - 2021/01/14
4+
5+
### `Added`
6+
7+
- Included the newest nf-core template (version 2.2)
8+
- Adjustment of the README, including all contributors
9+
- Inclusion of the PSMs files (tsv format) per replicates in `results/PSMs`
10+
- Include check in WorkflowMhcquant, to determine if the allele and vcf sheet has been provided under specific circumstances
11+
12+
### `Fixed`
13+
14+
- Changed parameters in the nextflow_schema.json to be in coherence with the nextflow.config
15+
- Error that was raised in generate_proteins_from_vcf
16+
- Problems that were detected in predict_possible_class1_neoepitopes and predict_possible_class2_neoepitopes
17+
- Error that occurred in mhcnuggets_predictneoepitopesclass2 (faulty container set up)
18+
19+
### `Dependencies`
20+
21+
| Dependency | Old version | New version |
22+
| --------------------- | ----------- | ----------- |
23+
| `fred2` | 2.0.6 | 2.0.7 |
24+
25+
### `Deprecated`
26+
327
## v2.1.0 nf-core/mhcquant "Olive Tin Hamster" - 2021/12/09
428

529
### `Added`

CITATIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* [OpenMS](https://pubmed.ncbi.nlm.nih.gov/27575624/)
2323
> Röst H, Sachsenberg T, Aiche S, Bielow C, Weisser H, Aicheler F, Andreotti S, Ehrlich HC, Gutenbrunner P, Kenar E, Liang X, Nahnsen S, Nilse L, Pfeuffer J, Rosenberger G, Rurik M, Schmitt U, Veit J, Walzer M, Wojnar D, Wolski WE, Schilling O, Choudhary JS, Malmström L, Aebersold R, Reinert K, Kohlbacher O. OpenMS: a flexible open-source software platform for mass spectrometry data analysis. Nat Methods 13, 741–748 (2016). doi: 10.1038/nmeth.3959. PubMed PMID: 27575624
2424
25-
* [MultiQC](https://www.ncbi.nlm.nih.gov/pubmed/27312411/)
25+
* [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)
2626
> 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.
2727
2828
## Software packaging/containerisation tools

0 commit comments

Comments
 (0)