Use when plotting `bcftools +guess-ploidy -v` output into a PNG summary of haploid, diploid, score, and site-count signals across samples.
guess-ploidy.py guess-ploidy.out image-prefix/home/vimalinx/miniforge3/envs/bio/bin/guess-ploidy.pyimage-prefix.pngbcftools +guess-ploidy -v.# 1) Plot the verbose plugin output
guess-ploidy.py guess-ploidy.out ploidy_summary
# 2) End-to-end from bcftools output to PNG
bcftools +guess-ploidy -v input.vcf.gz > guess-ploidy.out
guess-ploidy.py guess-ploidy.out cohort_x_ploidy
# 3) Inspect the generated artifact
file cohort_x_ploidy.png
bcftools +guess-ploidy -v and keep the verbose text output file.guess-ploidy.py.--help just falls through to the generic usage message.guess-ploidy text format and only uses rows beginning with SEX.M and F, so unusual or missing labels will not be grouped as intended.Agg backend and does not display a GUI window.