TS2310
(Thomas)
May 14, 2025, 8:02am
1
I am working on a custom module for my internship.
I am making a custom table that should look something like this:
But for some reason when I try to preload the sorting settings with the multiqc_config.yaml it only sorts in ascending order, like this and takes the first column with it.
I have a multiqc_config with the following settings:
I have also tried without adding direction like described in the documentation Plotting functions | Seqera Docs
I am new to this, so any help would be greatly appreciated.
Hi Thomas! I can’t seem to be able to reproduce the issue. I’m running on the samtools coverage
test data (test-data/data/modules/samtools/coverage at main · MultiQC/test-data · GitHub ):
multiqc -f test-data/data/modules/samtools/coverage -c ~/.multiqc_config.yaml
With the following config:
custom_plot_config:
samtools-coverage-table_table:
defaultsort:
- column: "Mean depth"
direction: desc
And it looks as expected:
Would you be able to share a reproducible example?
TS2310
(Thomas)
May 14, 2025, 11:22am
3
I have added a smaller edition of my project in the zip file together with some test data.
Normally after installing and using $ multiqc -m msh2 ./test_data/ -c multiqc_config_MSH2.yaml should do the trick for producing the report.
multiqc_help.zip (1.4 MB)
TS2310
(Thomas)
May 15, 2025, 12:33pm
4
Could my problem be caused due to my column consisting out of strings instead of floats or integers? Sorry for bothering with this niche question.
TS2310
(Thomas)
May 26, 2025, 9:05am
5
Problem seems to be solved when updating to multiqc 1.29.
system
(system)
Closed
June 2, 2025, 9:06am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.