-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bwa-meth and samtools flagstat #42
Comments
Hi, what is your question? |
Apologizes Brent for not being clear, When I was looking at the flagstat, I just found that the secondary alignment values weird. It seems that there are large portion have more than one alignment. But it may have to do with the fact that the sample has both wheat and rust. Thanks again for your patience and help. As a side note, I found BWA-meth is great and has better alignments than Bismark!!! |
I think this is due to the issue I just posted, #50 BWA sets as QC-failed when reads are soft-clipped, see https://bioinformatics.stackexchange.com/questions/2988/interpreting-0x200-flag-in-bwa-mem-alignments I ran BWA without the -p flag but with the other flags and had no QC failed alignments. |
Actually it seems this is due to lines 361-390 in the master script. |
Hi, 36809078 + 31632003 in total (QC-passed reads + QC-failed reads) |
Hi, you can try the |
Hİ, 68441081 + 0 in total (QC-passed reads + QC-failed reads) |
Hi, without Lines 436 to 444 in 7c8e1eb
so it find reads where there is a lot of soft-clipping. This can happen with BS-Seq and usually leads to lower quality results. You'll have to decide for yourself when to use the argument. |
Hi,
I used bwa-meth to align rust infected wheat samples to the rust genome. However, when I ran samtools flagstat I get the follow output:
I didn't know BWA-meth gave secondary alignments. Also, the total number of QC-passed reads + QC-failed reads (27480347) is greater than the total of the pair-end reads (26463278).
The text was updated successfully, but these errors were encountered: