Fix centrifuger output naming to avoid filename collisions in taxprof…#11990
Fix centrifuger output naming to avoid filename collisions in taxprof…#11990haris18s wants to merge 1 commit into
Conversation
|
Actually this should not be necessary here - we can fix this in the pipelien with |
|
(e.g. maybe a differnet pipelline dev doesn't want |
ok thanks for letting me know, i thought would be more clear to have it in module-level,as centrfiuge has different names. |
Personally I am happy to do this here, if there is a likely collision in a later module. |
Updates the output filenames of centrifuger/centrifuger and centrifuger/quantification to be distinct, so they don't collide when used in the same pipeline (e.g., nf-core/taxprofiler).
Changes:
centrifuger/centrifuger: output pattern changed from *.tsv to *.classification.tsv (script and stub updated accordingly)
centrifuger/quantification: Output pattern changed from hardcoded ${meta.id}.tsv to glob *.report.tsv so custom ext.prefix works correctly.
Both modules previously emitted ${prefix}.tsv, causing filename collisions when both were used together in a pipeline (e.g., centrifuger classification + quantification in nf-core/taxprofiler).