Skip to main content

A python package for drawing genome-wide data on idiograms.

Project description

ChromosomeIdeogram

A python package for drawing genome-wide data on idiograms.

Install

pip install chromosome-ideogram

Usage example

import matplotlib.pyplot as plt
from chromosome_ideogram import ChromosomeIdeogram

plt.rcParams['font.size'] = 8

fig = plt.figure(figsize=(10, 7))
axes = fig.add_subplot(111)

ci = ChromosomeIdeogram(
    karyotype='example/karyotype.xls',
    radius=0.4,  # Radius of chromosome (it is not recommended to make any changes)
    space=3  # Chromosome center coordinate interval (radius x space, also not recommended for modification)
)
ci.draw_chromh(axes=axes, centromere_angle=60, color='lightgrey')
ci.annotations(axes=axes, annotations='example/satellite_DNA.bed')

plt.savefig('example/satellite_DNA.pdf', bbox_inches='tight')
plt.savefig('example/satellite_DNA.png', bbox_inches='tight')

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromosome_ideogram-0.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chromosome_ideogram-0.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file chromosome_ideogram-0.0.0.tar.gz.

File metadata

  • Download URL: chromosome_ideogram-0.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for chromosome_ideogram-0.0.0.tar.gz
Algorithm Hash digest
SHA256 14d04a40639c1a38901b622fdb1a2c8c4208ee9161719a77a1883700f0dca8ef
MD5 9c5e947ecb010620131a1a81acd02551
BLAKE2b-256 f706bfaffa4463b205488a50d177c6d785145d922bd73892c4dcc90d7933e4f9

See more details on using hashes here.

File details

Details for the file chromosome_ideogram-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chromosome_ideogram-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dbf56657e2f43975edb26f73d38ab091705c1d592abdfd0416588c82454f74e
MD5 195b4603bc1ddc8ee0b46891e2f4daac
BLAKE2b-256 9f9a85db13661a5d447cefe260c6bc2a97d87601ff28ea54f6533a04176ce70f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page