Skip to content

Commit

Permalink
Fix new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Darcy220606 committed Aug 23, 2023
1 parent eaf4387 commit 628111b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [###]() Added new parameter `annotation_prokka_renamecontigs` to allow prokka to retain the original contig headers/locus tag by default (fix by @darcy220606)
- [###]() Added new parameter `annotation_prokka_retaincontigheaders` to allow prokka to retain the original contig headers/locus tag. (by @darcy220606)

### `Dependencies`

Expand Down
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ process {
"--mincontiglen ${params.annotation_prokka_mincontiglen}",
"--evalue ${params.annotation_prokka_evalue}",
"--coverage ${params.annotation_prokka_coverage}",
params.annotation_prokka_renamecontigs ? "--locustag PROKKA --centre CENTER" : "--force" ,
params.annotation_prokka_retaincontigheaders ? "--force" : "--locustag PROKKA --centre CENTER" ,
params.annotation_prokka_singlemode ? '' : '--metagenome' ,
params.annotation_prokka_cdsrnaolap ? '--cdsrnaolap' : '',
params.annotation_prokka_rawproduct ? '--rawproduct' : '',
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ params {
annotation_prokka_mincontiglen = 1
annotation_prokka_evalue = 1E-06
annotation_prokka_coverage = 80
annotation_prokka_compliant = false
annotation_prokka_compliant = true
annotation_prokka_addgenes = false
annotation_prokka_renamecontigs = false
annotation_prokka_retaincontigheaders = false

// Database downloading options
save_databases = false
Expand Down
6 changes: 3 additions & 3 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@
"description": "Add the gene features for each CDS hit.",
"help_text": "For every CDS annotated, this flag adds the gene that encodes for that CDS region. For more information please check Prokka [documentation](https://github.com/tseemann/prokka). \n\n> Modifies tool parameter(s):\n> - Prokka: `--addgenes`"
},
"annotation_prokka_renamecontigs": {
"annotation_prokka_retaincontigheaders": {
"type": "boolean",
"help_text": "This parameter retains the original contig names by activating `PROKKA`'s `--force` flag. If this parameter is set to `true` it activates `PROKKA`'s flags `--locus-tag PROKKA --centre CENTER` so the locus tags (contig names) will be PROKKA_# and the center tag will be CENTER. \n\n> Modifies tool parameter(s):\n> - Prokka: `--locus-tag PROKKA --centre CENTER`\n> - Prokka: `--force`",
"description": "Renames contig names."
"help_text": "This parameter allows prokka to retain the original contig names by activating `PROKKA`'s `--force` flag. If this parameter is set to `false` it activates `PROKKA`'s flags `--locus-tag PROKKA --centre CENTER` so the locus tags (contig names) will be PROKKA_# and the center tag will be CENTER. By default `PROKKA` changes contig headers to avoid errors that might rise due to long contig headers, so this must be turned on if the user has short contig names that should be retained by `PROKKA`. \n\n> Modifies tool parameter(s):\n> - Prokka: `--locus-tag PROKKA --centre CENTER`\n> - Prokka: `--force`",
"description": "Retains contig names."
}
},
"fa_icon": "fas fa-tools",
Expand Down

0 comments on commit 628111b

Please sign in to comment.