Dear Colleagues,
I want to merge several groups of BAM files in such a way that when I then
create an mpileup from the resulting merged files, reads in each group are
treated as if they are coming from the same population. Should I do
samtools merge -r 1.bam 1.1.bam 1.2.bam 1.3.bam
samtools merge -r 2.bam 2.1.bam 2.2.bam 2.3.bam
etc.
and then
samtools mpileup -R -o 123.mpileup 1.bam 2.bam etc.
OR
should I simply not use -r in samtools merge or -R in samtools mpileup?
Is there a difference?
Thank you very much in advance!
Lev Yampolsky
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help