sage
sage copied to clipboard
Feature/html results/QC report
This PR adds the option to generate an interactive html report that summarizes the results from Sage, and plots some QC plots for inspecting the scoring and correlation of predicted RT/IM. This also addresses #168, although the stats summary table is downloadable within the html report. Should it also be directly written out to a tsv file?
New feature: HTML report generation
crates/sage-cli/Cargo.toml: Addedmaudandreport-builderdependencies to support HTML report generation.
Struct updates
crates/sage-cli/src/input.rs: Updated theSearchandInputstructs to include a newwrite_reportfield.crates/sage-cli/src/runner.rs: Addedwrite_reportmethod toRunnerto generate and save the html report
Command-line interface updates
crates/sage-cli/src/input.rs: Modified theimpl Inputblock to handle the newwrite-reportoption.crates/sage-cli/src/main.rs: Added a new command-line argument--write-reportto enable HTML report generation.
This looks awesome! I will do a review in the next week or two.
Sorry this took so long - I think the downloadable CSV is sufficient! I have cleared up the merge conflicts and will be merging this momentarily