Serializable
, Comparable<SAMFlag>
public enum SAMFlag extends Enum<SAMFlag>
Enum Constant | Description |
---|---|
DUPLICATE_READ |
|
FIRST_OF_PAIR |
|
MATE_REVERSE_STRAND |
|
MATE_UNMAPPED |
|
NOT_PRIMARY_ALIGNMENT |
Deprecated.
use
SECONDARY_ALIGNMENT instead. |
PROPER_PAIR |
|
READ_FAILS_VENDOR_QUALITY_CHECK |
|
READ_PAIRED |
|
READ_REVERSE_STRAND |
|
READ_UNMAPPED |
|
SECOND_OF_PAIR |
|
SECONDARY_ALIGNMENT |
|
SUPPLEMENTARY_ALIGNMENT |
Modifier and Type | Method | Description |
---|---|---|
static SAMFlag |
findByName(String flag) |
|
String |
getDescription() |
|
static Set<SAMFlag> |
getFlags(int flag) |
|
String |
getLabel() |
|
int |
intValue() |
|
boolean |
isSet(int flag) |
|
boolean |
isUnset(int flag) |
|
static SAMFlag |
valueOf(int flag) |
Returns the enum constant of this type with the specified name.
|
static SAMFlag |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SAMFlag[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SAMFlag READ_PAIRED
public static final SAMFlag PROPER_PAIR
public static final SAMFlag READ_UNMAPPED
public static final SAMFlag MATE_UNMAPPED
public static final SAMFlag READ_REVERSE_STRAND
public static final SAMFlag MATE_REVERSE_STRAND
public static final SAMFlag FIRST_OF_PAIR
public static final SAMFlag SECOND_OF_PAIR
public static final SAMFlag SECONDARY_ALIGNMENT
@Deprecated public static final SAMFlag NOT_PRIMARY_ALIGNMENT
SECONDARY_ALIGNMENT
instead.public static final SAMFlag READ_FAILS_VENDOR_QUALITY_CHECK
public static final SAMFlag DUPLICATE_READ
public static final SAMFlag SUPPLEMENTARY_ALIGNMENT
public static SAMFlag[] values()
for (SAMFlag c : SAMFlag.values()) System.out.println(c);
public static SAMFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int intValue()
public String getLabel()
public String getDescription()
public static SAMFlag valueOf(int flag)
flag
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SAMFlag findByName(String flag)
public boolean isSet(int flag)
public boolean isUnset(int flag)