assertEquals(1, sf.getBegin());
assertEquals(1, sf.getEnd());
assertEquals("synonymous_variant", sf.getType());
- assertEquals("aaA/aaG", sf.getDescription());
+ assertEquals("AAG", sf.getDescription());
+ assertEquals("var4", sf.getValue("ID"));
+ assertEquals("None", sf.getValue("clinical_significance"));
+ assertEquals("ID=var4;clinical_significance=None", sf.getAttributes());
+ assertEquals(1, sf.links.size());
+ assertEquals(
- "aaA/aaG var4|http://www.ensembl.org/Homo_sapiens/Variation/Summary?v=var4",
++ "AAG var4|http://www.ensembl.org/Homo_sapiens/Variation/Summary?v=var4",
++ sf.links.get(0));
++ assertEquals(cosmic, sf.getFeatureGroup());
++
++ // AAA -> AAG synonymous
++ sf = sfs.get(4);
++ assertEquals(1, sf.getBegin());
++ assertEquals(1, sf.getEnd());
++ assertEquals("synonymous_variant", sf.getType());
++ assertEquals("AAG", sf.getDescription());
+ assertEquals("var4", sf.getValue("ID"));
+ assertEquals("None", sf.getValue("clinical_significance"));
+ assertEquals("ID=var4;clinical_significance=None", sf.getAttributes());
+ assertEquals(1, sf.links.size());
+ assertEquals(
+ "AAG var4|http://www.ensembl.org/Homo_sapiens/Variation/Summary?v=var4",
sf.links.get(0));
assertEquals(cosmic, sf.getFeatureGroup());