Hello everybody,
I try to suppress "multireads", I mean reads with more than 1 best location.
From this forum and biostars, I found different answers, that is why I open a new topic concerning this recurrent question.
Maybe things change upon the versions. Here I am using BWA mem version 0.7.12.
From what I read, I saw that mutireads are reads with:
I don't know finally what is right. And I am more confused by some reads:
Here AS=XS and mapping score=24. Not 0, not 3...
More strange for me:
XS>AS
Does this mean that the best alignment maps less bases but with a higher score?
In the second read in the example, 67 bases are mapped over 67. How could it give a lower score than the alignment of 66/67 bases?
Thank you for some clarifications,
Jane
I try to suppress "multireads", I mean reads with more than 1 best location.
From this forum and biostars, I found different answers, that is why I open a new topic concerning this recurrent question.
Maybe things change upon the versions. Here I am using BWA mem version 0.7.12.
From what I read, I saw that mutireads are reads with:
- mapping quality=0
- mapping quality=3 (if there are two best mappings)
- one high mapping quality and one mapping quality=0
- reads whith AS=XS
where AS represents the best alignment and XS the second best alignment
I don't know finally what is right. And I am more confused by some reads:
Code:
K00103:19:H2MFLBBXX:4:1101:3953:1598 83 chr9 67316168 24 29S46M = 67316086 -128 GAAACATCCTTGTGAGGTGTGCACTGAAGTCACAGAGTTGAAACTGTCT TTTGATTCAGCAGTTTTGAATCTCTC KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKFFAAA NM:i:2 MD:Z:14A1A29 AS:i:36 XS:i:36 RG:Z:WES
More strange for me:
Code:
K00103:19:H2MFLBBXX:4:1101:21675:1598 99 chr21 9540637 31 68M7S = 9540815 245 GCCGCCTCTCCGCCGCGCCGCCGCTGGCCGCCTNTCCGCCGCGCCAACGCTGGCCGCCTCTCCGCCGCTGTCCGC AAFFFKKKKKKKKKKKKKKKK KKKKKKKKKKKK#KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK NM:i:6 MD:Z:0T25T6C11G0C5T15 AS:i:45 XS:i:47 RG:Z:WES K00103:19:H2MFLBBXX:4:1101:21675:1598 147 chr21 9540815 31 67M = 9540637 -245 TGCGTTCTGCTCTGCACAGACCTTGGGGCACTGCCTCGCTTTGGGACAACTCGGGGCCGCATCGACG KKKKKKKKKKKKKKKKKFFAKKKFFFAKK FFFFFFKKKKKKKKAKKKKKKKKKKKKKKKKKKFFFAA NM:i:1 MD:Z:0C66 AS:i:66 XS:i:67 RG:Z:WES
Does this mean that the best alignment maps less bases but with a higher score?
In the second read in the example, 67 bases are mapped over 67. How could it give a lower score than the alignment of 66/67 bases?

Thank you for some clarifications,
Jane
Comment