Hello, I am new to bioinformatics and have some question about sam files. Here, the 392 refers to the left most position in reference genome where the read aligns. The 194 is the position where the second mate aligns. The TLEN is 432. How do you get to that number? I was trying to read up about this but I dont get it.
Thank you!
M03972:51:000000000-BJVL8:1:1101:8198:11811 83 gi|11111113|ref|TL| 392 42 234M = 194 -432 GCCCAGTGGTAGTGGGCACGACCGACAGGCTTGGAGCGCCCACTTACACGTGGGGGGAGAATGAGACAGATGTCTTCCTATTGAACAGCACTCGACCACCGCTGGGGTCGTGGTTCGGCTGCACGTGGATGAACTCTTCTGGCTACACCAAGACTTGCGGCGCACCACCCTGCCGTACTAGAGCTGACTTCAACGCCAGCACGGACCTGTTGTGCCCCACGGACTGTTTTAGGA E.FFFFEFB/FEBFFFD=CDBFFFBFFFFFFFFFFFFFFFFBFFFFEAFFAGGGGGGGGGGGGGGGGGGGGGGGEGGHHGHHHHHHHGHGGGGHGGGGGGHGGGGGGGGGHGGGGGHHHHHHHGHHHHHHHHHHHHFFHHHHHHHFEHGHHHHGGGGGGGGHGGGGHGEFGGGGHGHHHHHHHHHHHHHHGGGGGHHGGGHGHHHHHHGHHGGGGGGGGGGGFFBFFFFBBBBB AS:i:-5 XN:i:0 XM:i:1 XO:i:0 XG:i:0 NM:i:1 MD:Z:109A124 YS:i:0 YT:Z:CP
M03972:51:000000000-BJVL8:1:1101:8198:11811 163 gi|11111113|ref|TL| 194 42 182M = 392 432 ACTCGTCAGGATGTCCCGAACGCATGTCCGCCTGCCGCAGTATCGAGGCCTTCCGGGTGGGATGGGGCGCCTTGCAATATGAGGATAATGTCACCAATCCAGAGGATATGAGACCCTATTGCTGGCACTACCCACCAAGGCAGTGTGGCGTGGTCTCCGCGAAGACTGTGTGTGGCCCAGTG BBBBAFBBAFFFGGGGGG2FGGGGGGHHHGGGGHHGGGGGGHHHGGECEFCGHHGGEECGGHHGAEFEEGGGFHHGHFFGHHHHHHGHHHDHGHHHGHHHHHFGGHHHHHHHGHGGHHHHEFEGHGHHHHHHHHGGEHFGHHG<GDDAHGGGGGHHHHD??CFAGGBFBBFFFFDGGEFE;B AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:182 YS:i:-5 YT:Z:CP
Please refer to SAM format specification.
Hi, as I said, I have read that. Doesnt explain this to me.