carta
bamtofastq.py(1)

bamtofastq.py1

Convert a coordinate sorted bam file to fastq

Usage

bamtofastq.py [-h] [-r STR] [-n] [-S] [-H FILE] [BAM [BAM ...]]

Overview

Convert a coordinate sorted BAM file to FASTQ (ignores unpaired reads)

Options

positional arguments:

BAM

Input BAM file(s). If absent then defaults to stdin.

optional arguments:

-h, --help

show this help message and exit

-r STR, --readgroup STR

Read group(s) to extract (comma separated)

-n, --rename

Rename reads

-S, --is_sam

Input is SAM format

-H FILE, --header FILE

Write BAM header to file

Author

This manpage was written by Andreas Tille for the Debian distribution and
can be used for any other usage of the program.

From bamkit 0.0.1+git20170413.ccd079d-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.