---
name: "bamlibs.py"
section: "1"
platform: "linux"
package: "bamkit"
version: "0.0.1+git20170413.ccd079d-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bamlibs.py"
---

# bamlibs.py(1)

output comma delimited string of read group IDs for each library

## NAME

bamlibs.py - output comma delimited string of read group IDs for each library

## SYNOPSIS

**bamlibs.py** \[-h\] \[-S\] \[input\]

## DESCRIPTION

output comma delimited string of read group IDs for each library

## OPTIONS

### positional arguments:

- input

  SAM/BAM file to inject header lines into. If '-' or absent then defaults to stdin.

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **-S**, **--is\_sam**

  input is SAM

## AUTHOR

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