No project description provided
Project description
pyryotype
Table of Contents
Installation
pip install ideogram
Example usage
from pyryotype import GENOME, plot_ideogram
from matplotlib import pyplot as plt
fig, axes = plt.subplots(
ncols=1,
nrows=22,
figsize=(11, 11),
facecolor="white",
)
genome = GENOME.CHM13
for ax, contig_name in zip(axes, range(1, 23)):
chromosome = f"chr{contig_name}"
plot_ideogram(ax, target=chromosome, genome=genome)
fig.savefig("ideogram.png", dpi=300)
Will output:
License
pyryotype
is distributed under the terms of the MIT license.
Cytoband data
- HG38 - Nushell, will have to be adapted for bash
curl -L "https://hgdownload.cse.ucsc.edu/goldenpath/hg38/database/cytoBand.txt.gz" | gzip -d - | rg -Ne "^chr\\d+\t" | save cytoBand_HG38.tsv
- CHM13 - bash yay
curl -L http://t2t.gi.ucsc.edu/chm13/hub/t2t-chm13-v2.0/download/chm13v2.0_cytobands_allchrs.bed.gz | gzip -d - > cytobands_chm13.bed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyryotype-0.0.1.tar.gz
(384.6 kB
view hashes)
Built Distribution
pyryotype-0.0.1-py3-none-any.whl
(23.5 kB
view hashes)
Close
Hashes for pyryotype-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795e609a88fa6f008c3ae7a2b9e10b79444a94dcdda6673dfa8a995dac997522 |
|
MD5 | 4a7bb22dec46cee57b06b07ae82356a3 |
|
BLAKE2b-256 | b19ef2a9ac35ea7b3fc870c1eb2c31bf3bfeed4aba6af353c2ad1c44e13f536a |