bamgroupreads.py(1)

bamgroupreads.py1

Group bam file by read ids without sorting

Usage

bamgroupreads.py [-h] [-i BAM] [-r STR] [-d] [-f] [-S] [-b] [-u] [-M]

Overview

Group BAM file by read IDs without sorting

Options

optional arguments:

-h, --help

show this help message and exit

-i BAM, --input BAM

Input BAM file

-r STR, --readgroup STR

Read group(s) to extract (comma separated)

-d, --reset_dups

Reset duplicate flags

-f, --fix_flags

Fix mate flags for secondary reads

-S

Input is SAM format

-b

Output BAM format

-u

Output uncompressed BAM format (implies -b)

-M

split reads are flagged as secondary, not supplementary. For compatibility with legacy BWA-MEM "-M" flag

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

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.