Entering edit mode
                    6.5 years ago
        Rashedul Islam
        
    
        ▴
    
    480
    I have a single bam file which was created by merging few other bam files. How can I get the names of bam files that were used during merging?
Thanks!
That was simple and worked. Command
samtools view -H my.bam | grep '@RG'. Thanks!