Convert SAM alignments (± CpG methylation) into RGBA images.
Project description
omicimage
Convert sequencing alignments (SAM) — with optional CpG methylation reports — into RGBA images.
Installation
pip install omicimage
Command-line usage
Without methylation:
build-rgba-nomethylation sam_file.sam output_prefix [--width N] [--full-read] [--mapq N]
With methylation:
build-rgba-methylation sam_file.sam cpg_report.txt output_prefix [--width N] [--full-read] [--mapq N]
Output
Creates a timestamped folder containing:
image.png— RGBA representation of the datareadalignmentcoordinates.tsv— per-pixel genomic metadatametadata— image dimensions
Requirements
- Python 3.9+
- numpy, pillow, pysam, tqdm
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
omicimage-0.1.0.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
omicimage-0.1.0-py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file omicimage-0.1.0.tar.gz.
File metadata
- Download URL: omicimage-0.1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fd3c7e14a89e1f22d693434419906ac1e694868cd3d8974060519ef211bad34
|
|
| MD5 |
4538203a0bf13942e97b9c43c6298fed
|
|
| BLAKE2b-256 |
ba504238fdb7353ef636c4f60123a36085f7feec66c9c64d38510e5b09dabb06
|
File details
Details for the file omicimage-0.1.0-py3-none-any.whl.
File metadata
- Download URL: omicimage-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baee66650e8da0c897032b4f3b4ed840463ac8ee71b49e8fa8086c5900747d2e
|
|
| MD5 |
74bcef60c2a10c8ce5c8c779a10419db
|
|
| BLAKE2b-256 |
859b21eb97f8f115f531657a204035de61891ffd38be4a1cb366d2cc7d0285e4
|