Skip to content

Commit

Permalink
removed --noYacrd, added --removeChimeras instead. Now default is not…
Browse files Browse the repository at this point in the history
… to remove chimeras
  • Loading branch information
iferres committed Mar 28, 2023
1 parent 6fdf6dc commit 87fbf13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ Process specific parameters:
Other control options:
--isDemultiplexed Set this flag to avoid Demultiplex sub-workflow. If set, each fastq file is
--removeChimeras Set this flag to activate the chimera-removing step with Yacrd.
processed as a different barcode.
--noNanoplot Set this flag to avoid QCheck sub-workflow.
--noSpeciesPolishing Avoid the polishing sub-workflow.
Expand Down
6 changes: 3 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ params.nanofilt_headcrop = 0
params.nanofilt_tailcrop = 0
params.yacrd_c = 4
params.yacrd_n = 0.4
params.noYacrd = false
params.removeChimeras = false
params.megan_lcaAlgorithm = "naive"
params.megan_lcaCoveragePercent = 100
params.megan_topPercent = 10
Expand Down Expand Up @@ -63,7 +63,7 @@ def parameters_expected = [
'nanofilt_tailcrop',
'yacrd_c',
'yacrd_n',
'noYacrd', 'no-yacrd',
'removeChimeras', 'remove-chimeras',
'megan_lcaAlgorithm', 'megan_lca-algorithm',
'megan_lcaCoveragePercent', 'megan_lca-coverage-percent',
'megan_topPercent', 'megan_top-percent',
Expand Down Expand Up @@ -309,7 +309,7 @@ def helpMessage() {
Other control options:
--isDemultiplexed Set this flag to avoid Demultiplex sub-workflow. If set, each fastq file is
processed as a different barcode.
--noYacrd Set this flag to avoid chimera-removing step with Yacrd.
--removeChimeras Set this flag to activate the chimera-removing step with Yacrd.
--noNanoplot Set this flag to avoid QCheck sub-workflow.
--noSpeciesPolishing Avoid the polishing sub-workflow.
--lowAbundanceThreshold The threshold of total abundance (counts) to be considered as "low", and
Expand Down
2 changes: 1 addition & 1 deletion workflows/QFiltWorkflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ workflow QFilt {

main:
NanoFilt( barcode_ch )
if (!params.noYacrd){
if (params.removeChimeras){
AutoMap( NanoFilt.out )
Yacrd( AutoMap.out )
Yacrd.out
Expand Down

0 comments on commit 87fbf13

Please sign in to comment.