Skip to content

Conversation

@drpatelh
Copy link
Member

No description provided.

$args
find ./ -type f -name "*.txt" -exec cat {} \\; | cat $mqc_header - > ${prefix}.summary_mqc.tsv
find ./ -type f -name "*summary.txt" -exec cat {} \\; | cat $mqc_header - > ${prefix}.summary_mqc.tsv
Copy link
Member Author

@drpatelh drpatelh Sep 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed bug noticed whilst testing on Azure where MultiQC sections were being rendered in the wrong order in the report. Still need to test but I suspect it is happening due to this line. Basically the script is pickup up all files ending in .txt because they are copied into the work directory and hence appending the contents to summary_mqc.tsv which then doesn't render in MultiQC properly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch. I can see the *peaks.annotatePeaks.txt files in the working directory which would have been picked up in error!

@robsyme robsyme merged commit 59d32c8 into nf-core:dev Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants