<p>Greetings all,</p>

<p>Let me start by saying I know how to add read groups to a <a href='http://samtools.sourceforge.net/SAM1.pdf'>BAM</a> file.  What I am looking for is the easiest way to do it.  This problem has been around for a while so I though I would see what neat tricks people are using. </p>

<p>Thanks  </p>

In my opinion the easy way to do is using *AddOrReplaceReadGroups* in Picard:

- http://broadinstitute.github.io/picard/command-line-overview.html#AddOrReplaceReadGroups
- https://gatk.broadinstitute.org/hc/en-us/articles/360037226472-AddOrReplaceReadGroups