BAM Viewer is a Visual Studio Code extension that allows you to view BAM (Binary Alignment Map) files directly in your editor. It converts BAM files to CSV format for easy viewing and analysis.
Features
Open BAM files directly in VS Code
Convert BAM to CSV format for easy viewing
View all SAM fields, including auxiliary data
Real-time progress tracking during conversion
Mutithreading support for faster conversion
Usage
Install the extension
Make sure SAMtools is installed and available in your system's PATH.
Open a BAM file in VS Code
The extension will automatically convert the BAM file to CSV
View and analyze your BAM data in CSV format
Free Trial
BAM Viewer is currently available as a free trial. We're constantly working to improve the extension and would love to hear your feedback!
Recommended Extensions
For an enhanced CSV viewing experience, we recommend using the Rainbow CSV extension. Rainbow CSV provides syntax highlighting for CSV files, making it easier to read and analyze your converted BAM data.
Requirements
Visual Studio Code v1.60.0 or higher
Samtools must be installed and accessible in your system's PATH
Installation
Install Visual Studio Code 1.60.0 or higher
Install Samtools and ensure it's in your system's PATH
Launch Code
From the extension view (Ctrl+Shift+X), search for "BAM Viewer"
Click Install to install it
Click Reload to reload the window
Known Issues
Large BAM files may take a while to convert
Currently, the entire BAM file is converted to CSV, which may use significant disk space for large files