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 booleanprotected String[]protected booleanstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.snpeff.vcf.VcfEntry>annotateGetFiledTypes(String dbFileName, String fileName, String[] extraArgs) protected String[]voidtest_01()voidtest_02()Test dbnsfp having multiple lines per variantvoidtest_03()Test dbnsfp having multiple lines per variant, without collapsingvoidtest_04()voidtest_05()voidtest_06()voidtest_07()Check header values are correctly inferred.voidtest_08()Missing annotationsvoidtest_09()Invalid INFO keysvoidtest_10()Missing database entriesvoidtest_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
-