Creates a hash code based on the read groups (RG). This tool creates a hash code based on identifying information in the read groups (RG) of a ".BAM" or "SAM" file header. Addition or removal of RGs changes the hash code, enabling the user to quickly determine if changes have been made to the read group information.
java -jar picard.jar CalculateReadGroupChecksum I=input.bam
INPUT (File) The input SAM or BAM file. Required.
OUTPUT (File) The file to which the hash code should be written. Default value: null.