Category

Sam/Bam Manipulation


Usage

samtools reheader [-iP] in.header.sam in.bam


Manual

-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.


Share your experience or ask a question