Class VariantDataFrame
java.lang.Object
org.snpsift.annotate.mem.database.VariantDataFrame
- All Implemented Interfaces:
Serializable
A DataFrame of variant's data that is indexed "variant type AND chromosome possition".
We create an "DataFrame" for each variant type: SNP(A), SNP(C), SNP(G), SNP(T), INS, DEL, MNP, MIXED, OTHER.
Each DataFrame is indexed by chromosome position. DataFrames have columns for each field to annotate.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAnnotate a VCF entry with the fields in this VariantDataFramevoidcheck()This is used after creating the data to verify there are no issues with the dataFrames and indecesgetDataFrameByCategory(VariantCategory category) getDataFrameByVariantType(org.snpeff.interval.Variant variant) Select the appropirate data set for a variantstatic VariantDataFramevoidlongtoString()
-
Constructor Details
-
VariantDataFrame
-
-
Method Details
-
load
-
annotate
Annotate a VCF entry with the fields in this VariantDataFrame -
check
public void check()This is used after creating the data to verify there are no issues with the dataFrames and indeces -
getDataFrameByVariantType
Select the appropirate data set for a variant -
getDataFrameByCategory
-
setPrefix
-
sizeBytes
public long sizeBytes() -
toString
-