Package org.snpsift.testCases.unit
Class TestCasesDbNsfp
java.lang.Object
org.snpsift.testCases.unit.TestCasesDbNsfp
- Direct Known Subclasses:
TestCasesDbNsfpDeleteCache
Test cases for dbNSFP database annotations
Note: This class tries to use 'data type cache' files
- Author:
- pcingola
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
protected String[]
protected boolean
static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList
<org.snpeff.vcf.VcfEntry> annotateGetFiledTypes
(String dbFileName, String fileName, String[] extraArgs) protected String[]
void
test_01()
void
test_02()
Test dbnsfp having multiple lines per variantvoid
test_03()
Test dbnsfp having multiple lines per variant, without collapsingvoid
test_04()
void
test_05()
void
test_06()
void
test_07()
Check header values are correctly inferred.void
test_08()
Missing annotationsvoid
test_09()
Invalid INFO keysvoid
test_10()
Missing database entriesvoid
test_11()
Missing database entries + non-missing entry
-
Field Details
-
verbose
public static boolean verbose -
debug
public static boolean debug -
defaultExtraArgs
-
removeDataTypesCache
protected boolean removeDataTypesCache
-
-
Constructor Details
-
TestCasesDbNsfp
public TestCasesDbNsfp()
-
-
Method Details
-
annotate
-
annotateGetFiledTypes
-
argsList
-
test_01
public void test_01() -
test_02
public void test_02()Test dbnsfp having multiple lines per variant -
test_03
public void test_03()Test dbnsfp having multiple lines per variant, without collapsing -
test_04
public void test_04() -
test_05
public void test_05() -
test_06
public void test_06() -
test_07
public void test_07()Check header values are correctly inferred.E.g. If the first value in the table is '0', we may infer that data type is INT, but if another value '0.5' appears, we change it to FLOAT
-
test_08
public void test_08()Missing annotations -
test_09
public void test_09()Invalid INFO keys -
test_10
public void test_10()Missing database entries -
test_11
public void test_11()Missing database entries + non-missing entry
-