Package htsjdk.variant.variantcontext
Enum StructuralVariantType
- java.lang.Object
-
- java.lang.Enum<StructuralVariantType>
-
- htsjdk.variant.variantcontext.StructuralVariantType
-
- All Implemented Interfaces:
Serializable
,Comparable<StructuralVariantType>
public enum StructuralVariantType extends Enum<StructuralVariantType>
Type of Structural Variant as defined in the VCF spec 4.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BND
breakend structural variation.CNV
Copy number variable regionDEL
Deletion relative to the referenceDUP
Region of elevated copy number relative to the referenceINS
Insertion of novel sequence relative to the referenceINV
Inversion of reference sequence
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructuralVariantType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StructuralVariantType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEL
public static final StructuralVariantType DEL
Deletion relative to the reference
-
INS
public static final StructuralVariantType INS
Insertion of novel sequence relative to the reference
-
DUP
public static final StructuralVariantType DUP
Region of elevated copy number relative to the reference
-
INV
public static final StructuralVariantType INV
Inversion of reference sequence
-
CNV
public static final StructuralVariantType CNV
Copy number variable region
-
BND
public static final StructuralVariantType BND
breakend structural variation. VCF Specification : An arbitrary rearrangement event can be summarized as a set of novel adjacencies. Each adjacency ties together two breakends.
-
-
Method Detail
-
values
public static StructuralVariantType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StructuralVariantType c : StructuralVariantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructuralVariantType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-