marschall-lab / panacus

Panacus is a tool for computing statistics for GFA-formatted pangenome graphs
MIT License
73 stars 4 forks source link

Feature request: Alternative plot with #nodes/#edges vs AC #16

Open tobiasmarschall opened 8 months ago

tobiasmarschall commented 8 months ago

A very useful visualization to QC variant call sets has been this: https://www.nature.com/articles/nature15394/figures/5 That is, plotting the number of variants (Y) vs their allele count (X) in a log-log plot. This should be a power law and hence a straight line. Would it be easy to extend Panacus to output such plots as well for bp/#node/#edges? At least for edges I would hope/expect to get a straight line as well if the graph is good. In any case, being able to produce such plots would be very valuable.