Package htsjdk.variant.variantcontext
Enum Class GenotypeType
- All Implemented Interfaces:
Serializable
,Comparable<GenotypeType>
,Constable
Summary types for Genotype objects
- Since:
- Date created
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe sample is heterozygous, with at least one ref and at least one one alt in any orderThe sample is homozygous referenceAll alleles are non-referenceSome chromosomes are NO_CALL and others are calledThe sample is no-called (all alleles are NO_CALLThere is no allele data availble for this sample (alleles.isEmpty) -
Method Summary
Modifier and TypeMethodDescriptionstatic GenotypeType
Returns the enum constant of this class with the specified name.static GenotypeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_CALL
The sample is no-called (all alleles are NO_CALL -
HOM_REF
The sample is homozygous reference -
HET
The sample is heterozygous, with at least one ref and at least one one alt in any order -
HOM_VAR
All alleles are non-reference -
UNAVAILABLE
There is no allele data availble for this sample (alleles.isEmpty) -
MIXED
Some chromosomes are NO_CALL and others are called
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-