Skip to main content

mbf_heatmap

Heatmaps for ChIPseq lanes and delayed DataFrames.

This is the swiss army knife of ChIPseq heatmaps.

Example usage:

from pathlib import Path
import mbf_align
import mbf_genomes
import mbf_genomics
import mbf_heatmap.chipseq as hc
import pypipegraph as ppg


ppg.new_pipegraph()

genome = mbf_genomes.EnsemblGenome('Homo_sapiens', 100)

lane1 = mbf_align.lanes.AlignedSample("one", "chipseq_one.bam", genome, False, None)
lane2 = mbf_align.lanes.AlignedSample("two", "chipseq_two.bam", genome, False, None)

input_regions = mbf_genomics.regions.Regions_FromBed("My_regions", "input.bed", genome)



hm = hc.Heatmap(
	input_ergions, 
	[lane1, lane2],
	region_strategy = hc.regions.RegionsFromCenter(2000) # +- 1000bp,
	smoothing_strategy = hc.Smooth.SmoothExtendedReads(200) # extend reeads *by* 200bp
)

Path('results').mkdir(exists_ok=True)
hm.plot("results/my_first_heatmap.png", 
	norm = hc.norm.AsIs(),
	order = hc.order.AsIs(),
	)

Part of the mbf_* suite from https://github.com/IMTMarburg

Metadata

Release files for mbf-heatmap 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mbf-heatmap 0.2
File Interpreter ABI Platform Actions
mbf_heatmap-0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for mbf_heatmap-0.2-py2.py3-none-any.whl

Release files / mbf_heatmap-0.2-py2.py3-none-any.whl

Download URL mbf_heatmap-0.2-py2.py3-none-any.whl
Size 21.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d6da79305565cd13f6b4ba017423bc93c932e76a0187b039e3b2d9bcf522ced0
BLAKE2b-256 checksum
How to use checksums
dd5f702c13a77b35cebc80d264589ae22447b9bab2040effc850f3343662b3c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

Security for mbf-heatmap 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page