@@ -83,10 +83,10 @@ \section{Standard tags}
8383 {\tt MQ} & i & Mapping quality of the mate/next segment \\
8484 {\tt NH} & i & Number of reported alignments that contains the query in the current record\\
8585 {\tt NM} & i & Edit distance to the reference \\
86- {\tt OC} & Z & Original CIGAR \\
87- {\tt OP} & i & Original mapping position \\
86+ {\tt OA} & Z & Original Alignment \\
87+ {\tt OC} & Z & (Deprecated in favor of {\tt OA}.) Original CIGAR \\
88+ {\tt OP} & i & (Deprecated in favor of {\tt OA}.) Original mapping position \\
8889 {\tt OQ} & Z & Original base quality \\
89- {\tt PA} & Z & Previous Alignment \\
9090 {\tt PG} & Z & Program \\
9191 {\tt PQ} & i & Phred likelihood of the template \\
9292 {\tt PT} & Z & Read annotations for parts of the padded read sequence \\
@@ -178,10 +178,6 @@ \subsection{Additional Template and Mapping data}
178178\item [NM:i:\tagvalue {}]
179179Edit distance to the reference, including ambiguous bases but excluding clipping.
180180
181- \item [PA:Z:\tagregex {{\tt }\emph {rname }{\tt ,}\emph {pos }{\tt ,}\emph {strand }{\tt ,}\emph {CIGAR }{\tt ,}\emph {mapQ }{\tt ,}\emph {NM }{\tt ;}}]
182- Previous aligment of template prior to realignment/unalignment by subsequent tool.
183- \emph {NM } can be dropped if unknown, but both commas should remain for parsing.
184-
185181\item [PQ:i:\tagvalue {}]
186182Phred likelihood of the template, conditional on both the mapping being correct.
187183
@@ -249,13 +245,17 @@ \subsection{Barcodes}
249245\end {description }
250246
251247\subsection {Original data }
252-
253248\begin {description }
249+ \item [OA:Z:\tagregex {({\tt }\emph {rname }{\tt ,}\emph {pos }{\tt ,}\emph {strand }{\tt ,}\emph {CIGAR }{\tt ,}\emph {mapQ }{\tt ,}\emph {NM }{\tt ;})+}]
250+ Original alignment of template prior to realignment/unalignment by subsequent tool.
251+ Unknown values may be dropped, but commas should remain for parsing.
252+ In the presence of an {\tt OA} tag, a subsequent tool should append the current information after the semicolon, not replace its content.
253+
254254\item [OC:Z:\tagvalue {cigar}]
255- Original CIGAR, usually before realignment.
255+ Deprecated, use { \tt OA instead}. Original CIGAR, usually before realignment.
256256
257257\item [OP:i:\tagvalue {pos}]
258- Original mapping position, usually before realignment.
258+ Deprecated, use { \tt OA instead}. Original mapping position, usually before realignment.
259259
260260\item [OQ:Z:\tagvalue {qualities}]
261261Original base quality, usually before recalibration.
0 commit comments