fq icon indicating copy to clipboard operation
fq copied to clipboard

JSON Metrics output

Open apeltzer opened this issue 4 months ago • 0 comments

I'd love to write a MultiQC module for this, but in order to facilitate this, would it be possible to write outputs in a JSON format for easier parsing?

e.g. FASTP does this, so we can directly load the metrics to show them in a MultiQC report. I'm working on a small validator workflow that includes fq_lint and it works nicely, but making the metrics directly accessible in a larger table would be really cool.

https://github.com/MultiQC/MultiQC/blob/main/multiqc/modules/fastp/fastp.py as an example how the JSON could look like.

https://github.com/MultiQC/test-data/tree/main/data/modules/fastp

Not too familiar with rust, otherwise I'd have opened a PR already ;-)

apeltzer avatar Feb 14 '24 09:02 apeltzer