Package de.charite.compbio.jannovar.hgvs
Enum VariantConfiguration
- java.lang.Object
-
- java.lang.Enum<VariantConfiguration>
-
- de.charite.compbio.jannovar.hgvs.VariantConfiguration
-
- All Implemented Interfaces:
Serializable
,Comparable<VariantConfiguration>
public enum VariantConfiguration extends Enum<VariantConfiguration>
Variant configuration of changes in the same gene.- Author:
- Manuel Holtgrewe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHIMERIC
chimeric changeIN_CIS
change resulting from independent changes on the same chromosomeMOSAIC
mosaic changeSINGLE_ORIGIN
change resulting from one nucleotide changeUNKNOWN_CIS_TRANS
it is unknown whether the protein change is on the same or different alleles
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariantConfiguration
fromString(String s)
String
toHGVSSeparator()
static VariantConfiguration
valueOf(String name)
Returns the enum constant of this type with the specified name.static VariantConfiguration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_ORIGIN
public static final VariantConfiguration SINGLE_ORIGIN
change resulting from one nucleotide change
-
IN_CIS
public static final VariantConfiguration IN_CIS
change resulting from independent changes on the same chromosome
-
UNKNOWN_CIS_TRANS
public static final VariantConfiguration UNKNOWN_CIS_TRANS
it is unknown whether the protein change is on the same or different alleles
-
MOSAIC
public static final VariantConfiguration MOSAIC
mosaic change
-
CHIMERIC
public static final VariantConfiguration CHIMERIC
chimeric change
-
-
Method Detail
-
values
public static VariantConfiguration[] 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 (VariantConfiguration c : VariantConfiguration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VariantConfiguration 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
-
fromString
public static VariantConfiguration fromString(String s)
- Returns:
- VariantConfiguration matching to s
-
toHGVSSeparator
public String toHGVSSeparator()
- Returns:
- separator to use in HGVS strings
-
-