Skip to content

Commit

Permalink
Add SAM recommendation of MAPQ=0 for unmapped reads
Browse files Browse the repository at this point in the history
We already have a recommendation that MAPQ of 255 should not be used.
Expand on this to recommend zero is used when unmapped.

This is purely a recommendation, made for maximum compatibility, and
not a specification requirement.

Fixes samtools#727
  • Loading branch information
jkbonfield committed Jan 29, 2024
1 parent 346a94a commit 79f2380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SAMv1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ \section{Recommended Practice for the SAM Format}
\item Unmapped reads should be stored in the orientation in which they came
off the sequencing machine and have their {\sf reverse} flag bit~(0x10)
correspondingly unset.
\item Unmapped reads should have mapping quality zero.
\end{enumerate}
\item Multiple mapping
\begin{enumerate}[label=\arabic*]
Expand Down

0 comments on commit 79f2380

Please sign in to comment.