iossifovlab / gpf

GPF: Genotypes and Phenotypes in Families
MIT License
2 stars 0 forks source link

Draw histogram tool #669

Closed IvoStefanov closed 4 months ago

IvoStefanov commented 4 months ago

Background

Make redrawing certain grr resource histograms easier/faster. Small and large values descriptions are not drawn in the grr histograms.

Aim

Create a tool capable of redrawing a resource's histograms. Show small and large values descriptions in grr histograms.

Implementation

Separate tool - draw_resource_histogram. When ran, the user can either pass optional resource id argument (-r / --resource-id) or the tool will search for the closest resource.

Add small and large value descriptions as optional arguments to grr histogram plotting. Put them at start/end of X plot axis. X axis label is moved down a bit to compensate for long descriptions.