Hello! Referring to this columns in sam file:
- QNAME
- FLAG
- RNAME
- POS
- MAPQ
- CIGAR
- RNEXT
- PNEXT
- TLEN
- SEQ
- QUAL
I wanted to ask how to extract the information about end position of the read? Morover if I want to know which strand it is, it will be depend on FLAG? If the FLAG is 16 that mean it is reverse and in the other cases it will be forward?
Thanks for the answer! Why is not enought just to POS add length of SEQ?
Because alignment may contain soft-clipped sequence.
and indels...