tax_classification_taxids is the channel that needs collect for CAT_summary#433
tax_classification_taxids is the channel that needs collect for CAT_summary#433maxibor wants to merge 0 commit intonf-core:devfrom
Conversation
|
|
The content of the two channels: |
|
Hm, there seems to be a difference between |
|
I checked again, and |
| @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| - [#439](https://github.com/nf-core/mag/pull/445) - Fix bug in assembly input (by @prototaxites) | |||
| - [#447](https://github.com/nf-core/mag/pull/447) - Remove `default: None` from parameter schema (by @drpatelh) | |||
|
|
|||
119b220 to
0906f13
Compare
|
If I may add:
I tracked the problem not to the duality of the input (.ORF2LCA.names.txt.gz and .bin2classification.names.txt.gz) but instead to the naming of the DASTool output/input for CAT. The unbinned input for CAT resulting from DASTool refinement is named [Assembler]-DASTool-[prefix].*, which is the same name for the binned input. Therefore creating not only the collision for The log from CAT includes the number of bins (which should be always 1 for DASTool Unbinned, I think?) and one could probably grep this number to rename the output of CAT accordingly. I hope this helps! :) |
@tillenglert coudl you confirm that the If I understand what you identified, this should be addressed by this module...? |
|
Yes I can confirm that this module was executed and the file is named [Assembler]-DASToolUnbinned-[prefix].fa The problem is not in the input to CAT but the output! I guess: meta.binner is still the same for *Refined and *DASToolUnbinned which then creates the same name in the Sorry I guess I have written this a bit weird in the top comment! |
|
Ahh got you! Ok maybe that indeed makes sense, sorry: |
When running mag with the CAT contig taxonomic annotation tool, I stumbled upon the following error:
Looking more closely at the source of this error, I believe it because the CAT_SUMMARY process only expects
.bin2classification.names.txt.gzwhile there are both.ORF2LCA.names.txt.gzand.bin2classification.names.txt.gzin thetax_classificationchannel. Thetax_classification_taxidsis the one containing only the.bin2classification.names.txt.gzfiles.PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).