pycmplot.constants
Genome-level constants shared across pycmplot modules: GRCh38 chromosome lengths, gene biotype priority weights, and standard chromosome ordering.
pycmplot.constants
Genome-level constants shared across pycmplot modules.
Contents
- hg38_chr_lengthsdict
GRCh38 chromosome lengths in base-pairs for chromosomes 1–22, X, and Y. Used to compute Circos sector sizes when summary statistics do not cover the full chromosome.
- BIOTYPE_WEIGHTSdict
Numeric priority weights for Ensembl gene biotypes used by
_annotate_and_prioritize_variant()when ranking candidate genes at intergenic loci. Protein-coding genes and general'gene'entries receive the highest weight (1.00); various pseudogene classes receive the lowest (0.20–0.30).- CHROM_ORDERlist of str
Standard chromosome ordering for autosomes 1–22 followed by X, Y, and MT. Used for natural-sort validation and display ordering.
Notes
hg38_chr_lengths reflects the GRCh38 primary assembly (GCA_000001405).
Values may differ slightly from builds that include alternate contigs or
patches.