public class SAMTagUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
short |
AM |
short |
AS |
short |
CC |
short |
CM |
short |
CP |
short |
CQ |
short |
CS |
short |
E2 |
short |
FZ |
short |
H0 |
short |
H1 |
short |
H2 |
short |
HI |
short |
IH |
short |
LB |
short |
MC |
short |
MD |
short |
MF |
short |
MQ |
short |
NH |
short |
NM |
short |
OQ |
short |
PG |
short |
PQ |
short |
PU |
short |
Q2 |
short |
R2 |
short |
RG |
short |
S2 |
short |
SA |
short |
SM |
short |
SQ |
short |
U2 |
short |
UQ |
Constructor and Description |
---|
SAMTagUtil() |
Modifier and Type | Method and Description |
---|---|
static SAMTagUtil |
getSingleton()
Despite the fact that this class has state, it should be thread-safe because the cache
gets filled with the same values by any thread.
|
short |
makeBinaryTag(java.lang.String tag)
Convert from String representation of tag name to short representation.
|
java.lang.String |
makeStringTag(short tag)
Convert from short representation of tag name to String representation.
|
public final short RG
public final short LB
public final short PU
public final short PG
public final short AS
public final short SQ
public final short MQ
public final short NM
public final short H0
public final short H1
public final short H2
public final short UQ
public final short PQ
public final short NH
public final short IH
public final short HI
public final short MD
public final short CS
public final short CQ
public final short CM
public final short R2
public final short Q2
public final short S2
public final short CC
public final short CP
public final short SM
public final short AM
public final short MF
public final short E2
public final short U2
public final short OQ
public final short FZ
public final short SA
public final short MC
public static SAMTagUtil getSingleton()
public short makeBinaryTag(java.lang.String tag)
tag
- 2-character String representation of a tag name.public java.lang.String makeStringTag(short tag)
tag
- Tag name packed as 2 ASCII bytes in a short.