Skip to main content

bw-merge-window

PyPI version codecov

A command-line utility for merging and averaging a window of a set of bigWigs, inspired by/tested against the previous C3G bigWigMergePlus tool developed by Romain Grégoire.

This is part of the core set of tools that powers the EpiVar Browser.

Requires: Python 3.10+

License

Everything in this repository EXCEPT FOR EVERYTHING under the tests/bin and tests/data directories is licensed under the terms of the GNU General Public License, v3.0.

© McGill University 2023

Everything under the tests/bin directory is © UCSC. Everything under the tests/data directory is from the IHEC Epigenomes portal and the copyright is retained by the relevant holders.

Installation

pip install bw-merge-window

Usage

bw-merge-window chr1:100000-200000 file1.bw file2.bw --output average.bw [--range 0-1000] [--treat-missing-as-zero]

If the optional flag --treat-missing-as-zero is passed, N/A values in bigWigs become 0, and any 0-values in the merged file will not be written. Otherwise, if a value is missing in one or more of the files, it'll be missing in the merged file as well. This flag is required if you want full backwards-compatibility with bigWigMergePlus.

If you want to include a negative value for --range, use "equals" syntax instead, e.g., --range='-500-1000'.

Metadata

Release files for bw-merge-window 0.2.0

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

Source distribution (sdist)

Source distribution for bw-merge-window 0.2.0
File Size Uploaded
bw_merge_window-0.2.0.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bw-merge-window 0.2.0
File Interpreter ABI Platform
bw_merge_window-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / bw_merge_window-0.2.0.tar.gz

Download URL bw_merge_window-0.2.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1973b9e51ad28f7bbae76f7abdc90e29dc0188c356684e1634878501d14eb894
BLAKE2b-256 checksum
How to use checksums
589cd04337635e3e3d02be7b5cba44051a368ad5337246b86e0b746e0f9f6efc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / bw_merge_window-0.2.0-py3-none-any.whl

Download URL bw_merge_window-0.2.0-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84089cf5a06117cc9ef13ddcdb6c3dfff3be07d020ccceb1dbfd078601e6e73a
BLAKE2b-256 checksum
How to use checksums
0900d97c9c7cfa4f9a3b9b8dfd50cfd90abf2715b5c7682e70eef69c6175196b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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