Package org.snpsift.lang.expression
Class FieldGenotype
java.lang.Object
org.snpsift.lang.expression.Expression
org.snpsift.lang.expression.Field
org.snpsift.lang.expression.FieldSub
org.snpsift.lang.expression.FieldGenotype
- Direct Known Subclasses:
FieldGenotypeSub
A field:
E.g.: 'GEN[2].GT'
- Author:
- pablocingolani
-
Field Summary
Fields inherited from class org.snpsift.lang.expression.Field
exceptionIfNotFound, name, number, returnType, TYPE_ALL, TYPE_ANY, vcfInfo, vcfInfoNumberFields inherited from class org.snpsift.lang.expression.Expression
debug, negated, operator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.snpeff.vcf.VcfGenotypeevalGenotype(org.snpeff.vcf.VcfEntry vcfEntry) Evaluate expressions and return VcfGenotypegetFieldString(org.snpeff.vcf.VcfEntry vcfEntry) Get a field from VcfEntrygetFieldString(org.snpeff.vcf.VcfGenotype vcfGenotype) Get a field (as a Float) from VcfEntryprotected booleanisSub()toString()Methods inherited from class org.snpsift.lang.expression.FieldSub
evalIndex, evalIndex, evalIndex, evalIndexMethods inherited from class org.snpsift.lang.expression.Field
eval, eval, fieldHeaderNotFound, fieldNotFound, getName, getReturnType, getSampleNum, gtFieldNotFound, indexStr, isSampleName, returnType, returnType, setExceptionIfNotFoundMethods inherited from class org.snpsift.lang.expression.Expression
setNegated
-
Constructor Details
-
FieldGenotype
-
-
Method Details
-
evalGenotype
protected org.snpeff.vcf.VcfGenotype evalGenotype(org.snpeff.vcf.VcfEntry vcfEntry) Evaluate expressions and return VcfGenotype -
getFieldString
Get a field from VcfEntry- Overrides:
getFieldStringin classFieldSub
-
getFieldString
Get a field (as a Float) from VcfEntry- Overrides:
getFieldStringin classFieldSub
-
isSub
protected boolean isSub() -
toString
-