Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "square": True for scatter plot. Make the GATK BaseRecalibrator plot square #2189

Merged
merged 7 commits into from Nov 21, 2023

Conversation

vladsavelyev
Copy link
Member

@vladsavelyev vladsavelyev commented Nov 17, 2023

Fix #2182

  • Pass "square" to the plot config
  • Set xmin=0 and ymax=0 .
  • Assure xmax == xmin in the python plotting code.
  • Fix the scatter plot plotting code to re-calculate the total max value, pass endOfTick and calculate padding manually to make sure HighCharts doesn't get creative with padding

@vladsavelyev vladsavelyev added the awaits-review Awaiting final review and merge. label Nov 20, 2023
@vladsavelyev vladsavelyev changed the title GATK: make base recalibrator plot square GATK: make BaseRecalibrator plot square. Fix the "square" scatter plot option Nov 20, 2023
@vladsavelyev vladsavelyev changed the title GATK: make BaseRecalibrator plot square. Fix the "square" scatter plot option Fix "square": True for scatter plot. Make the GATK BaseRecalibrator plot square Nov 20, 2023
@vladsavelyev vladsavelyev added this to the MultiQC v1.19 milestone Nov 20, 2023
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@ewels
Copy link
Member

ewels commented Nov 21, 2023

Nice, thanks! Did you get the diagonal extra_series line to work in the end?

That's minor though, not worth holding up the PR for.

@ewels ewels merged commit fa2e848 into master Nov 21, 2023
6 checks passed
@ewels ewels deleted the sqaure-gatk-base-recal branch November 21, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GATK: Rescale Emperical Quality scatter plot
3 participants