Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 556 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 556 Bytes

Simple Python script for parsing and inspecting BAM and BAI-files, closely following the BAM specification

Dependencies

Python >= 3.8

No thirdparty dependencies

Usage

python inspect_bam.py BAM_OR_BAI [--fast]

About

Intended to debug issues with BAM/BAI-files (with your own necessary modifications).

Can also be used as a tool to understand the BAM specification

Note that it is incomplete w.r.t. parsing seq, qual and auxiliary data.