eager icon indicating copy to clipboard operation
eager copied to clipboard

Increase significance figures in general stats table

Open neija2611 opened this issue 2 years ago • 4 comments

When the mean coverage is below 0.05X, the general stats table only shows 0.0X For low coverage data an increase in significance would be helpful.

When mean coverage is 0.02495, I'd like to see 0.025X.

neija2611 avatar Mar 01 '22 13:03 neija2611

Hi @neija2611

Hmm, that's a good question. I will definitely list this for the next release, but this might be a while as I'm working on re-writing the pipeline into a new nextflow version.

in the meantime however, you can maybe

  1. make a custom multiqc config by copying the base eager one here: https://github.com/nf-core/eager/blob/master/assets/multiqc_config.yaml
  2. play around with the following parameters: https://multiqc.info/docs/#number-base-multiplier
  3. supply the file to your nextflow run command with --multiqc_config <your_custom_config>.conf

And see if that makes a difference you're looking for. If so, please let me know and I can implement it.

Cheers,

jfy133 avatar Mar 01 '22 15:03 jfy133

Ok, I was wrong with my original suggestions, but I think I may have a solution via: https://multiqc.info/docs/#command-line-config

EDIT: nope, that is for the multiqc-supported qualimap config

jfy133 avatar Mar 10 '22 09:03 jfy133

Essentially we want to tweak this

https://github.com/ewels/MultiQC/blob/75ef0ab9bbe33c24502be10c709ce374e736dbfe/multiqc/modules/qualimap/QM_BamQC.py#L549-L562

to include something like this

https://github.com/ewels/MultiQC/blob/75ef0ab9bbe33c24502be10c709ce374e736dbfe/multiqc/modules/qualimap/QM_BamQC.py#L537

But I don't think it makes sense to have that directly in MQC as most modern people won't have the issue of low-coverage data

jfy133 avatar Mar 10 '22 09:03 jfy133

@neija2611 this is going to be fixed by the MultiQC main dev ^1, so we will be able to add this once the next MultiQC release is out - but this wil ltake some time

jfy133 avatar Mar 10 '22 15:03 jfy133