Skip to main content

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

Project description

PyPI - Version

ChromosomeIdeogram

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

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.1.tar.gz (4.0 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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromosome_ideogram-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 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.1.tar.gz
Algorithm Hash digest
SHA256 8528a59ef453da18fe7c10fbffd7dfb8ad87d6773f6e623d820fd30755d871c3
MD5 420f199215674dbe2daa118d6098b63f
BLAKE2b-256 0d15a043d27dc4f7738b1acdf1fa35a46abcfc7dda4106954ceec4501ede506e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromosome_ideogram-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90d0d07f1f6277ea54f8e38cf57668f5fb601845cc48c9d6a4dc535729f21931
MD5 4b887cdfeee6afd1937897408b7a5e5d
BLAKE2b-256 8ceaae6ae743f4d23d7504bcb05d7764d6583f6a7478fa7d15af5b9e1a28897a

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