Skip to content

Commit 5daf5a8

Browse files
authored
Merge pull request #370 from drpatelh/fixes
Fix #368
2 parents 6b23e8c + e5d5293 commit 5daf5a8

17 files changed

+85
-58
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Special thanks to the following for their code contributions to the release:
1111

1212
- [Friederike Hanssen](https://github.com/FriederikeHanssen)
1313
- [Hugo Tavares](https://github.com/tavareshugo)
14+
- [James Fellows Yates](https://github.com/jfy133)
15+
- [Jessica Wu](https://github.com/wutron)
1416
- [Matthew Wells](https://github.com/mattheww95)
1517
- [Maxime Garcia](https://github.com/maxulysse)
1618
- [Phil Ewels](https://github.com/ewels)
@@ -30,6 +32,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
3032
- [[#348](https://github.com/nf-core/viralrecon/issues/348)] - Document full parameters of iVar consensus
3133
- [[#349](https://github.com/nf-core/viralrecon/issues/349)] - ERROR in Script plasmidID
3234
- [[#356](https://github.com/nf-core/viralrecon/issues/356)] - Add NEB SARS-CoV-2 primers
35+
- [[#368](https://github.com/nf-core/viralrecon/issues/368)] - Incorrect depth from ivar variants reported in variants long table
3336
- Updated pipeline template to [nf-core/tools 2.7.2](https://github.com/nf-core/tools/releases/tag/2.7.2)
3437
- Add `tower.yml` for Report rendering in Nextflow Tower
3538
- Use `--skip_plasmidid` by default

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ A number of improvements were made to the pipeline recently, mainly with regard
102102
103103
4. Start running your own analysis!
104104

105+
> - Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those provided by the `-c` Nextflow option can be used to provide any configuration except for parameters; see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).
106+
105107
- Typical command for Illumina shotgun analysis:
106108

107109
```bash

bin/ivar_variants_to_vcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def parse_ivar_line(line):
126126
QUAL = "."
127127

128128
## Determine FILTER field
129-
INFO = f"DP={line[11]}"
129+
INFO = f"DP={int(float(line[11]))}"
130130
pass_test = line[13]
131131

132132
return (

conf/modules_illumina.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Config file for defining DSL2 per module options and publishing paths
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Available keys to override module options:
66
ext.args = Additional arguments appended to command in module.
77
ext.args2 = Second set of arguments appended to command in module (multi-tool modules).

conf/modules_nanopore.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Config file for defining DSL2 per module options and publishing paths
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Available keys to override module options:
66
ext.args = Additional arguments appended to command in module.
77
ext.args2 = Second set of arguments appended to command in module (multi-tool modules).

conf/test_full_nanopore.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Nextflow config file for running full-size tests
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Defines input files and everything required to run a full size pipeline test.
66

77
Use as follows:

conf/test_full_sispa.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Nextflow config file for running full-size tests
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Defines input files and everything required to run a full size pipeline test.
66

77
Use as follows:

conf/test_nanopore.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Nextflow config file for running minimal tests
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Defines input files and everything required to run a fast and simple pipeline test.
66

77
Use as follows:

conf/test_sispa.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
========================================================================================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
Nextflow config file for running minimal tests
4-
========================================================================================
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
Defines input files and everything required to run a fast and simple pipeline test.
66

77
Use as follows:

docs/usage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
> _Documentation of pipeline parameters is generated automatically from the pipeline schema and can no longer be found in markdown files._
66
7+
## Pipeline parameters
8+
9+
Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those provided by the `-c` Nextflow option can be used to provide any configuration except for parameters; see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).
10+
711
## Samplesheet format
812

913
### Illumina

0 commit comments

Comments
 (0)