Class FieldEff
java.lang.Object
org.snpsift.lang.expression.Expression
org.snpsift.lang.expression.Field
org.snpsift.lang.expression.FieldSub
org.snpsift.lang.expression.FieldEff
An 'EFF' field form SnpEff:
E.g.: 'EFF[2].GENE'
- Author:
- pablocingolani
-
Field Summary
Fields inherited from class Field
exceptionIfNotFound, name, number, returnType, TYPE_ALL, TYPE_ANY, vcfInfo, vcfInfoNumberFields inherited from class Expression
debug, negated, operator -
Constructor Summary
ConstructorsConstructorDescriptionFieldEff(String name, Expression idxExpr, org.snpeff.vcf.EffFormatVersion formatVersion, String fieldName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetFieldString(org.snpeff.vcf.VcfEntry vcfEntry) Get a field from VcfEntrygetName()org.snpeff.vcf.VcfInfoTypegetReturnType(org.snpeff.vcf.VcfEntry vcfEntry) toString()Methods inherited from class FieldSub
evalIndex, evalIndex, evalIndex, evalIndex, getFieldString, isSubMethods inherited from class Field
eval, eval, fieldHeaderNotFound, fieldNotFound, getReturnType, getSampleNum, gtFieldNotFound, indexStr, isSampleName, returnType, returnType, setExceptionIfNotFoundMethods inherited from class Expression
setNegated
-
Constructor Details
-
FieldEff
public FieldEff(String name, Expression idxExpr, org.snpeff.vcf.EffFormatVersion formatVersion, String fieldName) Constructor- Parameters:
formatVersion- : Can be null (it will be guessed)
-
-
Method Details
-
getFieldString
Get a field from VcfEntry- Overrides:
getFieldStringin classFieldSub
-
getName
-
getReturnType
public org.snpeff.vcf.VcfInfoType getReturnType(org.snpeff.vcf.VcfEntry vcfEntry) -
toString
-