Skip to content

Commit 97bebf8

Browse files
authored
Merge pull request #279 from nf-core/dev
Dev -> Master for 2.3.1 release
2 parents fc9fece + ee7c22b commit 97bebf8

File tree

142 files changed

+1719
-1435
lines changed

Some content is hidden

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

142 files changed

+1719
-1435
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Bug report
32
description: Report something that is broken or incorrect
43
labels: bug

.github/workflows/awsfulltest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ jobs:
3232
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/viralrecon/results-${{ github.sha }}/platform_${{ matrix.platform }}"
3333
}
3434
profiles: test_full_${{ matrix.platform }},aws_tower
35+
nextflow_config: |
36+
process.errorStrategy = 'retry'
37+
process.maxRetries = 3

.github/workflows/awstest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ jobs:
2525
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/viralrecon/results-test-${{ github.sha }}"
2626
}
2727
profiles: test,aws_tower
28+
nextflow_config: |
29+
process.errorStrategy = 'retry'
30+
process.maxRetries = 3

.github/workflows/branch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ jobs:
4343
Thanks again for your contribution!
4444
repo-token: ${{ secrets.GITHUB_TOKEN }}
4545
allow-repeats: false
46-

.github/workflows/linting.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
16-
with:
17-
node-version: '10'
15+
- uses: actions/setup-node@v2
1816
- name: Install markdownlint
1917
run: npm install -g markdownlint-cli
2018
- name: Run Markdownlint
@@ -51,9 +49,7 @@ jobs:
5149
steps:
5250
- uses: actions/checkout@v2
5351

54-
- uses: actions/setup-node@v1
55-
with:
56-
node-version: '10'
52+
- uses: actions/setup-node@v2
5753

5854
- name: Install editorconfig-checker
5955
run: npm install -g editorconfig-checker
@@ -65,13 +61,11 @@ jobs:
6561
runs-on: ubuntu-latest
6662
steps:
6763
- uses: actions/checkout@v1
68-
- uses: actions/setup-node@v1
69-
with:
70-
node-version: '10'
64+
- uses: actions/setup-node@v2
7165
- name: Install yaml-lint
7266
run: npm install -g yaml-lint
7367
- name: Run yaml-lint
74-
run: yamllint $(find ${GITHUB_WORKSPACE} -type f -name "*.yml" -o -name "*.yaml")
68+
run: yamllint $(find ${GITHUB_WORKSPACE} -type f -name "*.yml" -o -name "*.yaml") -c ${GITHUB_WORKSPACE}/.yamllint.yml
7569

7670
# If the above check failed, post a comment on the PR explaining the failure
7771
- name: Post PR comment
@@ -87,7 +81,7 @@ jobs:
8781
* Install `yaml-lint`
8882
* [Install `npm`](https://www.npmjs.com/get-npm) then [install `yaml-lint`](https://www.npmjs.com/package/yaml-lint) (`npm install -g yaml-lint`)
8983
* Fix the markdown errors
90-
* Run the test locally: `yamllint $(find . -type f -name "*.yml" -o -name "*.yaml")`
84+
* Run the test locally: `yamllint $(find . -type f -name "*.yml" -o -name "*.yaml") -c ./.yamllint.yml`
9185
* Fix any reported errors in your YAML files
9286
9387
Once you push these changes the test should pass, and you can hide this comment :+1:
@@ -142,4 +136,3 @@ jobs:
142136
lint_log.txt
143137
lint_results.md
144138
PR_number.txt
145-

.github/workflows/linting_comment.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: nf-core linting comment
32
# This workflow is triggered after the linting action is complete
43
# It posts an automated comment to the PR, even if the PR is coming from a fork
@@ -27,4 +26,3 @@ jobs:
2726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2827
number: ${{ steps.pr_number.outputs.pr_number }}
2928
path: linting-logs/lint_results.md
30-

.gitpod.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
image: nfcore/gitpod:latest
2+
3+
vscode:
4+
extensions: # based on nf-core.nf-core-extensionpack
5+
- codezombiech.gitignore # Language support for .gitignore files
6+
# - cssho.vscode-svgviewer # SVG viewer
7+
- davidanson.vscode-markdownlint # Markdown/CommonMark linting and style checking for Visual Studio Code
8+
- eamodio.gitlens # Quickly glimpse into whom, why, and when a line or code block was changed
9+
- EditorConfig.EditorConfig # override user/workspace settings with settings found in .editorconfig files
10+
- Gruntfuggly.todo-tree # Display TODO and FIXME in a tree view in the activity bar
11+
- mechatroner.rainbow-csv # Highlight columns in csv files in different colors
12+
# - nextflow.nextflow # Nextflow syntax highlighting
13+
- oderwat.indent-rainbow # Highlight indentation level
14+
- streetsidesoftware.code-spell-checker # Spelling checker for source code

.nf-core.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ lint:
44
- assets/email_template.html
55
- assets/email_template.txt
66
- lib/NfcoreTemplate.groovy
7+
- .github/ISSUE_TEMPLATE/bug_report.yml
8+
- .github/workflows/branch.yml
9+
- .github/workflows/linting_comment.yml
10+
- .github/workflows/linting.yml
11+
- lib/NfcoreSchema.groovy

.yamllint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: default
2+
3+
rules:
4+
document-start: disable
5+
line-length: disable

CHANGELOG.md

Lines changed: 55 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [[2.3.1](https://github.com/nf-core/viralrecon/releases/tag/2.3.1)] - 2022-02-15
7+
8+
### Enhancements & fixes
9+
10+
* [[#277](https://github.com/nf-core/viralrecon/issues/277)] - Misuse of rstrip in make_variants_long_table.py script
11+
12+
### Software dependencies
13+
14+
| Dependency | Old version | New version |
15+
|-------------------------------|-------------|-------------|
16+
| `mosdepth` | 0.3.2 | 0.3.3 |
17+
| `pangolin` | 3.1.19 | 3.1.20 |
18+
619
## [[2.3](https://github.com/nf-core/viralrecon/releases/tag/2.3)] - 2022-02-04
720

821
### :warning: Major enhancements
@@ -38,9 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3851
| | `--consensus_caller` |
3952
| `--callers` | `--variant_caller` |
4053

41-
> **NB:** Parameter has been __updated__ if both old and new parameter information is present.
42-
> **NB:** Parameter has been __added__ if just the new parameter information is present.
43-
> **NB:** Parameter has been __removed__ if new parameter information isn't present.
54+
> **NB:** Parameter has been **updated** if both old and new parameter information is present.
55+
>
56+
> **NB:** Parameter has been **added** if just the new parameter information is present.
57+
>
58+
> **NB:** Parameter has been **removed** if new parameter information isn't present.
4459
4560
### Software dependencies
4661

@@ -66,9 +81,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
6681
| `tabix` | 0.2.6 | 1.11 |
6782
| `vcflib` | | 1.0.2 |
6883

69-
> **NB:** Dependency has been __updated__ if both old and new version information is present.
70-
> **NB:** Dependency has been __added__ if just the new version information is present.
71-
> **NB:** Dependency has been __removed__ if new version information isn't present.
84+
> **NB:** Dependency has been **updated** if both old and new version information is present.
85+
>
86+
> **NB:** Dependency has been **added** if just the new version information is present.
87+
>
88+
> **NB:** Dependency has been **removed** if new version information isn't present.
7289
7390
## [[2.2](https://github.com/nf-core/viralrecon/releases/tag/2.2)] - 2021-07-29
7491

@@ -89,9 +106,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
89106
| `pangolin` | 3.0.5 | 3.1.7 |
90107
| `samtools` | 1.10 | 1.12 |
91108

92-
> **NB:** Dependency has been __updated__ if both old and new version information is present.
93-
> **NB:** Dependency has been __added__ if just the new version information is present.
94-
> **NB:** Dependency has been __removed__ if new version information isn't present.
109+
> **NB:** Dependency has been **updated** if both old and new version information is present.
110+
>
111+
> **NB:** Dependency has been **added** if just the new version information is present.
112+
>
113+
> **NB:** Dependency has been **removed** if new version information isn't present.
95114
96115
## [[2.1](https://github.com/nf-core/viralrecon/releases/tag/2.1)] - 2021-06-15
97116

@@ -117,9 +136,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
117136
| `--public_data_ids` | |
118137
| `--skip_sra_fastq_download` | |
119138

120-
> **NB:** Parameter has been __updated__ if both old and new parameter information is present.
121-
> **NB:** Parameter has been __added__ if just the new parameter information is present.
122-
> **NB:** Parameter has been __removed__ if new parameter information isn't present.
139+
> **NB:** Parameter has been **updated** if both old and new parameter information is present.
140+
>
141+
> **NB:** Parameter has been **added** if just the new parameter information is present.
142+
>
143+
> **NB:** Parameter has been **removed** if new parameter information isn't present.
123144
124145
### Software dependencies
125146

@@ -130,9 +151,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
130151
| `nextclade_js` | 0.14.2 | 0.14.4 |
131152
| `pangolin` | 2.4.2 | 3.0.5 |
132153

133-
> **NB:** Dependency has been __updated__ if both old and new version information is present.
134-
> **NB:** Dependency has been __added__ if just the new version information is present.
135-
> **NB:** Dependency has been __removed__ if new version information isn't present.
154+
> **NB:** Dependency has been **updated** if both old and new version information is present.
155+
>
156+
> **NB:** Dependency has been **added** if just the new version information is present.
157+
>
158+
> **NB:** Dependency has been **removed** if new version information isn't present.
136159
137160
## [[2.0](https://github.com/nf-core/viralrecon/releases/tag/2.0)] - 2021-05-13
138161

@@ -232,9 +255,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
232255
| `--unqualified_percent_limit` | |
233256
| `--varscan2_strand_filter` | |
234257

235-
> **NB:** Parameter has been __updated__ if both old and new parameter information is present.
236-
> **NB:** Parameter has been __added__ if just the new parameter information is present.
237-
> **NB:** Parameter has been __removed__ if new parameter information isn't present.
258+
> **NB:** Parameter has been **updated** if both old and new parameter information is present.
259+
>
260+
> **NB:** Parameter has been **added** if just the new parameter information is present.
261+
>
262+
> **NB:** Parameter has been **removed** if new parameter information isn't present.
238263
239264
### Software dependencies
240265

@@ -283,9 +308,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
283308
| `varscan` | 2.4.4 | |
284309
| `vg` | 1.24.0 | |
285310

286-
> **NB:** Dependency has been __updated__ if both old and new version information is present.
287-
> **NB:** Dependency has been __added__ if just the new version information is present.
288-
> **NB:** Dependency has been __removed__ if new version information isn't present.
311+
> **NB:** Dependency has been **updated** if both old and new version information is present.
312+
>
313+
> **NB:** Dependency has been **added** if just the new version information is present.
314+
>
315+
> **NB:** Dependency has been **removed** if new version information isn't present.
289316
290317
## [[1.1.0](https://github.com/nf-core/viralrecon/releases/tag/1.1.0)] - 2020-06-23
291318

@@ -338,23 +365,23 @@ This pipeline is a re-implementation of the [SARS_Cov2_consensus-nf](https://git
338365

339366
### Pipeline summary
340367

341-
1. Download samples via SRA, ENA or GEO ids ([`ENA FTP`](https://ena-docs.readthedocs.io/en/latest/retrieval/file-download.html), [`parallel-fastq-dump`](https://github.com/rvalieris/parallel-fastq-dump); *if required*)
342-
2. Merge re-sequenced FastQ files ([`cat`](http://www.linfo.org/cat.html); *if required*)
368+
1. Download samples via SRA, ENA or GEO ids ([`ENA FTP`](https://ena-docs.readthedocs.io/en/latest/retrieval/file-download.html), [`parallel-fastq-dump`](https://github.com/rvalieris/parallel-fastq-dump); _if required_)
369+
2. Merge re-sequenced FastQ files ([`cat`](http://www.linfo.org/cat.html); _if required_)
343370
3. Read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
344371
4. Adapter trimming ([`fastp`](https://github.com/OpenGene/fastp))
345372
5. Variant calling
346373
1. Read alignment ([`Bowtie 2`](http://bowtie-bio.sourceforge.net/bowtie2/index.shtml))
347374
2. Sort and index alignments ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
348-
3. Primer sequence removal ([`iVar`](https://github.com/andersen-lab/ivar); *amplicon data only*)
349-
4. Duplicate read marking ([`picard`](https://broadinstitute.github.io/picard/); *removal optional*)
375+
3. Primer sequence removal ([`iVar`](https://github.com/andersen-lab/ivar); _amplicon data only_)
376+
4. Duplicate read marking ([`picard`](https://broadinstitute.github.io/picard/); _removal optional_)
350377
5. Alignment-level QC ([`picard`](https://broadinstitute.github.io/picard/), [`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/))
351-
6. Choice of multiple variant calling and consensus sequence generation routes ([`VarScan 2`](http://dkoboldt.github.io/varscan/), [`BCFTools`](http://samtools.github.io/bcftools/bcftools.html), [`BEDTools`](https://github.com/arq5x/bedtools2/) *||* [`iVar variants and consensus`](https://github.com/andersen-lab/ivar) *||* [`BCFTools`](http://samtools.github.io/bcftools/bcftools.html), [`BEDTools`](https://github.com/arq5x/bedtools2/))
378+
6. Choice of multiple variant calling and consensus sequence generation routes ([`VarScan 2`](http://dkoboldt.github.io/varscan/), [`BCFTools`](http://samtools.github.io/bcftools/bcftools.html), [`BEDTools`](https://github.com/arq5x/bedtools2/) _||_ [`iVar variants and consensus`](https://github.com/andersen-lab/ivar) _||_ [`BCFTools`](http://samtools.github.io/bcftools/bcftools.html), [`BEDTools`](https://github.com/arq5x/bedtools2/))
352379
* Variant annotation ([`SnpEff`](http://snpeff.sourceforge.net/SnpEff.html), [`SnpSift`](http://snpeff.sourceforge.net/SnpSift.html))
353380
* Consensus assessment report ([`QUAST`](http://quast.sourceforge.net/quast))
354381
6. _De novo_ assembly
355-
1. Primer trimming ([`Cutadapt`](https://cutadapt.readthedocs.io/en/stable/guide.html); *amplicon data only*)
382+
1. Primer trimming ([`Cutadapt`](https://cutadapt.readthedocs.io/en/stable/guide.html); _amplicon data only_)
356383
2. Removal of host reads ([`Kraken 2`](http://ccb.jhu.edu/software/kraken2/))
357-
3. Choice of multiple assembly tools ([`SPAdes`](http://cab.spbu.ru/software/spades/) *||* [`metaSPAdes`](http://cab.spbu.ru/software/meta-spades/) *||* [`Unicycler`](https://github.com/rrwick/Unicycler) *||* [`minia`](https://github.com/GATB/minia))
384+
3. Choice of multiple assembly tools ([`SPAdes`](http://cab.spbu.ru/software/spades/) _||_ [`metaSPAdes`](http://cab.spbu.ru/software/meta-spades/) _||_ [`Unicycler`](https://github.com/rrwick/Unicycler) _||_ [`minia`](https://github.com/GATB/minia))
358385
* Blast to reference genome ([`blastn`](https://blast.ncbi.nlm.nih.gov/Blast.cgi?PAGE_TYPE=BlastSearch))
359386
* Contiguate assembly ([`ABACAS`](https://www.sanger.ac.uk/science/tools/pagit))
360387
* Assembly report ([`PlasmidID`](https://github.com/BU-ISCIII/plasmidID))

0 commit comments

Comments
 (0)