Copies header from source dataset into target dataset using samtools reheader command.
samtools reheader [-iP] in.header.sam in.bam
-P, --no-PG
Do not generate an @PG header line.
-i, --in-place
Perform the header edit in-place, if possible. This only works on CRAM files and only if there is sufficient room to store the new header. The amount of space available will differ for each CRAM file.