Hi,
I am trying to run BWA with a paired end simulated test data (Illumina and 75bp long).
Basically I generated out of a reference Database an artifical sample and I am trying to verify the results of BWA.
Unfortuneteley I am not very sure about the flags in the Sam file, I thought that mapped reads as a pair are displayed with the flag: 2
But in my sam file i just get the flag (65 and 12), which describes:
65: paired read and forward
129: paired read and reverse
But i thought that the flag for mapped (0x0002) will be set as well? So my question is, if there is something wrong in the sample or what flags do I have to use to extract the mapped reads from paired and from single-end data.
This is an ouput from sampe:
:
@SQ SN:gi|157704448|ref|AC_000133.1| LN:219475005
@PG ID:bwa PN:bwa VN:0.5.9-r16
testSample_0_1 65 gi|157704448|ref|AC_000133.1| 1 37 75M = 151 150 ATTGACAAGGGGAGGGAAAAGAGGAACAGAAATTCTTTTCTAT$
testSample_0_2 129 gi|157704448|ref|AC_000133.1| 151 37 75M = 1 -150 ATAACTTGGAAGCTTCCTTTAAAAGGAACATCAGGAGGTGATT$
Greetings and many thanks,
TOmoi
I am trying to run BWA with a paired end simulated test data (Illumina and 75bp long).
Basically I generated out of a reference Database an artifical sample and I am trying to verify the results of BWA.
Unfortuneteley I am not very sure about the flags in the Sam file, I thought that mapped reads as a pair are displayed with the flag: 2
But in my sam file i just get the flag (65 and 12), which describes:
65: paired read and forward
129: paired read and reverse
But i thought that the flag for mapped (0x0002) will be set as well? So my question is, if there is something wrong in the sample or what flags do I have to use to extract the mapped reads from paired and from single-end data.
This is an ouput from sampe:
:
@SQ SN:gi|157704448|ref|AC_000133.1| LN:219475005
@PG ID:bwa PN:bwa VN:0.5.9-r16
testSample_0_1 65 gi|157704448|ref|AC_000133.1| 1 37 75M = 151 150 ATTGACAAGGGGAGGGAAAAGAGGAACAGAAATTCTTTTCTAT$
testSample_0_2 129 gi|157704448|ref|AC_000133.1| 151 37 75M = 1 -150 ATAACTTGGAAGCTTCCTTTAAAAGGAACATCAGGAGGTGATT$
Greetings and many thanks,
TOmoi
Comment