Skip to content

Commit a8550ef

Browse files
committed
Document SAM ambiguity of 1bp long seq with QUAL "*".
"*" is either QUAL 9, or QUAL unavailable. Made a recommendation in a footnote, mainly as an indication that the ambiguity exists. In practice it's vanishingly unlikely to matter. Fixes samtools#715
1 parent 2543789 commit a8550ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SAMv1.tex

+4
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,10 @@ \subsection{The alignment section: mandatory fields}\label{sec:alnrecord}
651651
wrong}\}$. This field can be a `*' when quality is not stored. If
652652
not a `*', {\sf SEQ} must not be a `*' and the length of the quality string
653653
ought to equal the length of {\sf SEQ}.
654+
\footnote{There is a small ambiguity with a sequence exactly one
655+
base-pair long having quality 9. This is ASCII `*' so it could be
656+
interpreted as either QUAL 9 or as quality unavailable. Given
657+
this ambiguity, we recommend interpreting it as unavailable.}
654658
\end{enumerate}
655659
656660
\subsection{The alignment section: optional fields}\label{sec:alnaux}

0 commit comments

Comments
 (0)