Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the ambiguity of 1-base long seq with QUAL * #724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions SAMv1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,13 @@ \subsection{The alignment section: mandatory fields}\label{sec:alnrecord}
\item {\sf QUAL}: ASCII of base QUALity plus 33 (same as the quality
string in the Sanger FASTQ format). A base quality is the phred-scaled
base error probability which equals $-10\log_{10}\Pr\{\mbox{base is
wrong}\}$. This field can be a `*' when quality is not stored. If
not a `*', {\sf SEQ} must not be a `*' and the length of the quality string
ought to equal the length of {\sf SEQ}.
wrong}\}$.
This field can be a `*' when quality is not stored.\footnote{Note an
ambiguity exists for the unlikely case of a non-`*' sequence of length 1
with base quality 9 (ASCII `*'). Given the ambiguity, the quality
should always deemed to be unavailable in this scenario.}
If not a `*', {\sf SEQ} must not be a `*' and the length of the quality
string ought to equal the length of {\sf SEQ}.
\end{enumerate}

\subsection{The alignment section: optional fields}\label{sec:alnaux}
Expand Down