@@ -83,8 +83,9 @@ \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 \\
8990 {\tt PG} & Z & Program \\
9091 {\tt PQ} & i & Phred likelihood of the template \\
@@ -246,13 +247,17 @@ \subsection{Barcodes}
246247\end {description }
247248
248249\subsection {Original data }
249-
250250\begin {description }
251+ \item [OA:Z:\tagregex {({\tt }\emph {rname }{\tt ,}\emph {pos }{\tt ,}\emph {strand }{\tt ,}\emph {CIGAR }{\tt ,}\emph {mapQ }{\tt ,}\emph {NM }{\tt ;})+}]
252+ Original alignment of template prior to realignment/unalignment by subsequent tool.
253+ Unknown values may be dropped, but commas should remain for parsing.
254+ In the presence of an {\tt OA} tag, a subsequent tool should append the current information after the semicolon, not replace its content.
255+
251256\item [OC:Z:\tagvalue {cigar}]
252- Original CIGAR, usually before realignment.
257+ Deprecated, use { \tt OA instead}. Original CIGAR, usually before realignment.
253258
254259\item [OP:i:\tagvalue {pos}]
255- Original mapping position, usually before realignment.
260+ Deprecated, use { \tt OA instead}. Original mapping position, usually before realignment.
256261
257262\item [OQ:Z:\tagvalue {qualities}]
258263Original base quality, usually before recalibration.
0 commit comments