phac-nml / staramrnf

nf-core StarAMR
MIT License
0 stars 0 forks source link

Adds nf-test for IRIDA Next JSON output #12

Closed sgsutcliffe closed 4 months ago

sgsutcliffe commented 4 months ago

PR checklist

sgsutcliffe commented 4 months ago

Adding multiple genomes ended up causing some downstream issues with iridanext plugin and nf-test, because each sample generated its own summary.tsv file in its own directory, the iridanext.config was only pulling one file. We added the nf-core module csvtk and the function CSVTK_CONCAT to the the summary.tsv files. This creates a single merged_summary.tsv file that we can use for adding metadata for all the genomes in the iridianext plugin. I also had to change the names of the summary.tsv files to include their sample IDs in the name so that CSVTK_CONCAT would not throw an error in having multiple files with the same name.

sgsutcliffe commented 4 months ago

Right now the merged_summary.tsv seems to be unable to be added as a global file. Leaving the issue unresolved for this PR