![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
samtools merge | bair | Bioinformatics | 5 | 10-10-2012 01:51 PM |
samtools merge | frymor | Bioinformatics | 4 | 10-26-2011 05:12 AM |
Samtools Merge and rmdup | AvinashP | Bioinformatics | 2 | 06-28-2010 02:16 AM |
Samtools merge | wangzkai | Bioinformatics | 1 | 05-01-2010 01:35 PM |
samtools merge | bair | Bioinformatics | 4 | 03-05-2010 01:23 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: United Kingdom Join Date: Mar 2011
Posts: 12
|
![]()
Hello,
I know there are many threads on samtools merge command but unfortunately, I am yet to find my answer. I hope someone can help me out in this! I have just one sample (SOLiD data) with two different libraries - A and B. A has 3 mate pair reads and 2 fragments. B has 1 paired end read. I wish to merge all the above bam files into one for snp calling. I tried it with samtools merge -r out.bam in1.bam in2.bam in3.bam ...etc I obtained a out.bam file. Now I tried to call for the snps but when I run the command it gives me an error stating [group_smpl] Read group <B_sample.hg19> used in file <out.bam> but absent from the header or an alignment missing read group. I would appreciate any suggestions.. Thank you. Last edited by nans_bn; 07-20-2011 at 05:55 AM. |
![]() |
![]() |
![]() |
#2 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
Try using the merge facility within Picard. It should handle merging headers properly.
|
![]() |
![]() |
![]() |
#3 |
Member
Location: United Kingdom Join Date: Mar 2011
Posts: 12
|
![]()
Great, thanks a lot. I'll try that out.
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|