Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct parameter to use lca for multiple matches in ganon classify #523

Merged
merged 4 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -808,12 +808,12 @@ process {

withName: GANON_CLASSIFY {
tag = {"${meta.db_name}|${meta.id}"}
ext.args = params.ganon_save_readclassifications ? { "${meta.db_params} --output-all --output-lca --output-unclassified" } : { "${meta.db_params}" }
ext.args = params.ganon_save_readclassifications ? { "${meta.db_params} --output-all --output-unclassified" } : { "${meta.db_params}" }
ext.prefix = params.perform_runmerging ? { "${meta.id}_${meta.db_name}.ganon" } : { "${meta.id}_${meta.run_accession}_${meta.db_name}.ganon" }
publishDir = [
path: { "${params.outdir}/ganon/${meta.db_name}/" },
mode: params.publish_dir_mode,
pattern: '*.{tre,rep,lca,all,unc,log}'
pattern: '*.{tre,rep,one,all,unc,log}'
]
}

Expand Down
6 changes: 3 additions & 3 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,9 @@ The main taxonomic classification file from KMCP is the `*kmcp.profile` which is
- `<sample_id>_report.tre`: output of `ganon report` containing taxonomic classifications with possible formatting and/or filtering depending on options specified.
- `<sample_id>`.tre: output of `ganon classify` containing raw taxonomic classifications and abundance estimations with no additional formatting or filtering.
- `<sample_id>`.rep: 'raw' report of counts against each taxon.
- `<sample_id>`.all: per-read summary of all hits of each reads.
- `<sample_id>`.lca: per-read summary of the best single hit after LCA for each read.
- `<sample_id>`.unc: list of read IDs with no hits.
- `<sample_id>`.all: per-read summary of all hits of each read. Only generated if `--ganon_save_readclassifications` specified.
- `<sample_id>`.one: per-read summary of the best single hit after the selection by the user specified multiple match method for each read. Only generated if `--ganon_save_readclassifications` specified.
- `<sample_id>`.unc: list of read IDs with no hits. Only generated if `--ganon_save_readclassifications` specified.
- `<sample_id>`.log: the stdout console messages printed by `ganon classify`, containing some classification summary information

- `ganon_<db_name>_combined_reports.txt`: A combined profile of all samples aligned to a given database (as generated by `ganon table`)
Expand Down
2 changes: 1 addition & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
"type": "boolean",
"description": "Turn on saving of ganon per-read taxonomic assignment file(s).",
"fa_icon": "fas fa-save",
"help_text": "Saves `.lca`, `.all`, and `.unc` text files that contains a list of each read that had a taxonomic assignment, with information on specific taxonomic assignment that the read received.\n\n> Modifies tool parameter(s):\n- ganon classify: `--output-all --output-lca --output-unclassified`"
"help_text": "Saves `.one`, `.all`, and `.unc` text files that contains a list of each read that had a taxonomic assignment, with information on specific taxonomic assignment that the read received.\n\n> Modifies tool parameter(s):\n- ganon classify: `--output-all --output-unclassified`"
},
"ganon_report_type": {
"type": "string",
Expand Down
Loading