package jalview.io.vcf;
import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.fail;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefEntry;
"17\t45051613\t.\tG\tGA,C\t1666.64\tRF\tAC=15;AF=3.08130e-03" };
@Test(groups = "Functional")
- public void testLoadVCF() throws IOException
+ public void testDoLoad() throws IOException
{
AlignmentI al = buildAlignment();
VCFLoader loader = new VCFLoader(al);
File f = makeVcf();
- loader.loadVCF(f.getPath(), null);
+ loader.doLoad(f.getPath(), null);
/*
* verify variant feature(s) added to gene
* @throws IOException
*/
@Test(groups = "Functional")
- public void testLoadVCF_reverseStrand() throws IOException
+ public void testDoLoad_reverseStrand() throws IOException
{
AlignmentI al = buildAlignment();
File f = makeVcf();
- loader.loadVCF(f.getPath(), null);
+ loader.doLoad(f.getPath(), null);
/*
* verify variant feature(s) added to gene2
assertEquals(sf.getType(), SequenceOntologyI.SEQUENCE_VARIANT);
assertEquals(sf.getDescription(), "p.Ala6Gly");
}
+
+ /**
+ * Tests that where variant records have more than one SNP allele, a variant
+ * feature is created for each, and the corresponding data values set on it
+ *
+ * @throws IOException
+ */
+ @Test(groups = "Functional")
+ public void testDoLoad_multipleAlleles() throws IOException
+ {
+ fail("todo");
+ }
+
+ /**
+ * Tests that if VEP consequence (CSQ) data is present in the VCF data, then
+ * it is added to the variant feature, but restricted where possible to the
+ * consequences for a specific transcript
+ *
+ * @throws IOException
+ */
+ @Test(groups = "Functional")
+ public void testDoLoad_vepCsq() throws IOException
+ {
+ fail("todo");
+ }
}