### AddOrReplaceReadGroups

Replaces all read groups in the INPUT file with a new read group and assigns all reads to this read group in the OUTPUT BAMVersion: 1.0

Option | Description
--- | ---
INPUT=File | Input file (bam or sam). Required.
OUTPUT=File | Output file (bam or sam). Required.
SORT_ORDER=SortOrder | Optional sort order to output in. If not supplied OUTPUT is in the same order as INPUT. Default value: null. Possible values: {unsorted, queryname, coordinate}
RGID=String | Read Group ID Default value: 1. This option can be set to 'null' to clear the default value.
RGLB=String | Read Group Library Required.
RGPL=String | Read Group platform (e.g. illumina, solid) Required.
RGPU=String | Read Group platform unit (eg. run barcode) Required.
RGSM=String | Read Group sample name Required.
RGCN=String | Read Group sequencing center name Default value: null.
RGDS=String | Read Group description Default value: null.