karyopype

Chromosomal visualization in Python.


Keywords
Bioinformatics
License
MIT
Install
pip install karyopype==0.1.6

Documentation

CircleCI

karyopype

Karyopype is a simple chromosome plotting package in python allowing you to quickly visualize where a set of genomic regions, or multiple sets of genomic regions fall on the chromosomes.

From an interactive python session (jupyter notebook):

pip install karyopype
import karyopype.karyopype as kp

# plot two sets of regions
kp.plot_karyopype("hg38", ["/path/to/regions.bed", "/path/to/regions2.bed"])

From a command line session

pip install karyopype
python
>>> import karyopype.karyopype as kp
# save plot to current directory
>>> kp.plot_karyopyp("hg38", "/path/to/regions.bed", savefig=True)