Hi,
I have around 20 BAM files and each of them have proper bam header including RG ID, Sample, Library, Platform unit, Description and Platform. I was reading the GATK manual and just realized that the only accepted names for platforms are 454, LS454, Illumina, Solid, ABI_Solid, and CG. But I wanted to be quiet specific when I was converting SAM to BAM and used "Solid5500XL" as the platform name.
I know there are AddorReplaceReadgroups and ReplaceSamHeader coomand in Picard which I can use to edit the BAM header. But it will take some time as I have many large files. Is there an easy way to do so without rewriting the BAM files.
Thanks in advance
bam
Thanks All. Somebody on the other forum told me that there is no way you can quickly edit minor info.
But
samtools reheaderoption incorporates the change you want to do in BAM file very quickly. It is same as the time required to copy your bam file from one place to another.Yes, this is JC's answer.