![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
bwa sai to bam conversion and indexfile.nt.ann?? | cllorens | Bioinformatics | 16 | 05-29-2013 09:27 AM |
Merge sai file of bwa ? | louis7781x | Bioinformatics | 5 | 12-20-2011 04:00 PM |
The 'S' in CIGAR of sam file (bwa) | qixiaofei | General | 6 | 09-16-2011 12:28 AM |
BWA - file formats | robekubica | Bioinformatics | 1 | 08-27-2011 05:07 PM |
Confused about .sai file size | CNVboy | Bioinformatics | 1 | 06-15-2011 02:14 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Germany Join Date: Jan 2009
Posts: 41
|
![]()
besides the content that shown in .sam file(alignment of the best match, and number of suboptimal/all hits), seems it also contains some information of the suboptimal hits, is it possible to look at the details of these hits.
with the command "bwa samse -n INT", I can only get the position where they mapped and number of mismatch. For paired-end data, whether "bwa sampe" consider the suboptimal hits? i.e., best-best match violate the distance constrain, but suboptimal-suboptimal or suboptimal-best may be in the rational distance. |
![]() |
![]() |
![]() |
#2 | |
Member
Location: china Join Date: Sep 2009
Posts: 36
|
![]() Quote:
If you wanna know very detailed how bwa algorithm works, you may read "fast and accurate short read alignment with burrows-wheeler transform' (Heng Li, et al), which has been published in bioinformatics. I took a couple of days to full track and understand MAQ, and BWA algorithms. ^ ^ Best Jing |
|
![]() |
![]() |
![]() |
#3 | |
Member
Location: china Join Date: Sep 2009
Posts: 36
|
![]() Quote:
"BWA first finds the positions of all the good hits, sorts them according to the chromosomal coordinates and then does a linear scan through all the potential hits to pair the two ends." From the description of the BWA algorithm I listed above, when pairing two ends, the distance constraints have been considered, so the phenomena you mentioned will never happen. |
|
![]() |
![]() |
![]() |
#4 | |
Member
Location: china Join Date: Sep 2009
Posts: 36
|
![]() Quote:
best Jing |
|
![]() |
![]() |
![]() |
#5 |
Member
Location: Germany Join Date: Jan 2009
Posts: 41
|
![]()
hey Jing, thanks for your help.
I also got the reply from the author, thanks to lh3 1) Both optimal and suboptimal hits are stored in .sai files, but only approximate chromosomal positions are available. Detailed alignments are reconstructed by samse and sampe. 2) Sampe considers suboptimal hits in pairing. However, there is no way to generate the detailed alignments for these suboptimal hits(in sam format) using samse, sampe. |
![]() |
![]() |
![]() |
#6 | |
Member
Location: china Join Date: Sep 2009
Posts: 36
|
![]() Quote:
Thank you for sharing this. ^ ^ Best Jing |
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|