Skip to content

Commit

Permalink
Merge pull request nf-core#393 from BU-ISCIII/artic_primers
Browse files Browse the repository at this point in the history
Changed primer set to params
  • Loading branch information
svarona authored Jan 16, 2024
2 parents be0473b + d6ff06c commit ce72f48
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
- [[#299](https://github.com/nf-core/viralrecon/issues/299)] - Add the freyja pipeline as a subworkflow
- [[PR #387](https://github.com/nf-core/viralrecon/pull/387)] - Software closes gracefully when encountering an error
- [[PR #395](https://github.com/nf-core/viralrecon/pull/395)] - Remove minia from default assemblers because it is unreliable
- [[PR #393](https://github.com/nf-core/viralrecon/pull/393)] - Changed primer set to params

### Parameters

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ nextflow run nf-core/viralrecon \
--outdir <OUTDIR> \
--platform nanopore \
--genome 'MN908947.3' \
--primer_set 'artic' \
--primer_set_version 3 \
--fastq_dir fastq_pass/ \
--fast5_dir fast5_pass/ \
Expand Down
1 change: 1 addition & 0 deletions conf/test_full_nanopore.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ params {

// Genome references
genome = 'MN908947.3'
primer_set = 'artic'
primer_set_version = 3

// variant calling options
Expand Down
1 change: 1 addition & 0 deletions conf/test_nanopore.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ params {

// Genome references
genome = 'MN908947.3'
primer_set = 'artic'
primer_set_version = 3

// variant calling options
Expand Down
2 changes: 2 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ nextflow run nf-core/viralrecon \
--outdir <OUTDIR> \
--platform nanopore \
--genome 'MN908947.3' \
--primer_set 'artic' \
--primer_set_version 3 \
--fastq_dir fastq_pass/ \
--fast5_dir fast5_pass/ \
Expand All @@ -123,6 +124,7 @@ nextflow run nf-core/viralrecon \
--outdir <OUTDIR> \
--platform nanopore \
--genome 'MN908947.3' \
--primer_set 'artic' \
--primer_set_version 3 \
--fastq_dir fastq_pass/ \
--artic_minion_caller medaka \
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (params.platform == 'illumina' && params.protocol == 'amplicon') {
primer_set = params.primer_set
primer_set_version = params.primer_set_version
} else if (params.platform == 'nanopore') {
primer_set = 'artic'
primer_set = params.primer_set
primer_set_version = params.primer_set_version
params.artic_scheme = WorkflowMain.getGenomeAttribute(params, 'scheme', log, primer_set, primer_set_version)
}
Expand Down

0 comments on commit ce72f48

Please sign in to comment.