Customising order of modules

I generated a report containing custom content with supported Bakta and QUAST results that are generated by default. By default, modules are included in the report in the order specified in config.module_order. Any modules found that aren’t in this list are appended at the top of the report.

Is it possible to customize the report order to:

  1. Custom content 1
  2. Custom content 2
  3. QUAST
  4. Custom content 3
  5. Bakta
  6. Custom content 4

You can definitely set the order of custom config sections:

But whether you can mix them in amongst regular modules or not, I’m not sure off the top of my head. Worth investigating and potentially a nice feature request if not.

@vlad.savelyev any ideas here?

There is a report_section_order option that allows to put weight to each section in the report, or place it before/after certain sections: Customising Reports - MultiQC

E.g. in your case the config can look as following:

report_section_order:
  quast:
    order: 4
  my_custom_anchor1-module:
    order: 3
  bakta:
    order: 2
  my_custom_anchor2-module:
    order: 1

To get a sections anchor, click on a link in the report nav bar and copy the last part from the URL.

1 Like

Ok great so it does work to mix and match. Nice! Thanks for checking :blush: