Yeah, it's working. But my bam file is 100GB; and seems it's rebuilding the whole file, which takes a long time.
Using Gatk If I Have No Read Group Information
To use GATK for SNP-calling, we need read group info in the header. But what if we have no such info?
I've got several bam files from other collaborator without knowing any info of, say, which lane or libraries the sequence come from. In such circumstances, we simply regard all alignment in the bam file as from the same lane of same library?
And we just insert a line into the header like:
@RG ID:filename SM:filename LB:filename PL:Illumina
? thx
• 8,069 views
•
link
2 answers
use picard AddOrReplaceReadGroups ( http://picard.sourceforge.net/command-line-overview.shtml#AddOrReplaceReadGroups ) to add a simple group to your bam.
• 328 views
•
link
Log in to answer this question.