<!-- JAL-3863 -->Support for Canonical Uniprot IDs
</li>
<li>
+ <!-- JAL-3018 -->Updated Ensembl REST Client compatibility
+ to 15.2 and revised model organism names (rat, xenopus, dmelanogaster now
+ rattus_norvegicus, xenopus_tropicalis, drosophila_melanogaster)
+ </li>
+ <li>
<!-- JAL-3881 -->Sequence IDs split on '_' as well as other
non-alphanumerics when discovering database references with
'Fetch DB Refs'
* @see https://github.com/Ensembl/ensembl-rest/wiki/Change-log
* @see http://rest.ensembl.org/info/rest?content-type=application/json
*/
- private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "13.0";
+ private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "15.2";
- private static final String LATEST_ENSEMBL_REST_VERSION = "13.0";
+ private static final String LATEST_ENSEMBL_REST_VERSION = "15.2";
private static final String REST_CHANGE_LOG = "https://github.com/Ensembl/ensembl-rest/wiki/Change-log";
* valid species parameters to Ensembl REST services where applicable
*/
human(true), mouse(true), s_cerevisiae(true), cow(false), pig(false),
- rat(true), celegans(true), sheep(false), horse(false), gorilla(false),
- rabbit(false), gibbon(false), dog(false), orangutan(false), xenopus(true),
+ rattus_norvegicus(true), celegans(true), sheep(false), horse(false), gorilla(false),
+ rabbit(false), gibbon(false), dog(false), orangutan(false), xenopus_tropicalis(true),
chimpanzee(false), cat(false), zebrafish(true), chicken(true),
- dmelanogaster(true);
+ drosophila_melanogaster(true);
static Set<Species> modelOrganisms = new HashSet<>();
String ids = "ENSG00000158828 ENST00000321556 P30419 ENST00000592782 BRAF";
EnsemblGene testee = new EnsemblGene();
List<String> geneIds = testee.getGeneIds(ids);
- assertEquals(8, geneIds.size());
assertTrue(geneIds.contains("ENSG00000158828"));
assertTrue(geneIds.contains("ENSG00000136448"));
assertTrue(geneIds.contains("ENSG00000157764")); // BRAF human
assertTrue(geneIds.contains("ENSXETG00000004845")); // xenopus
assertTrue(geneIds.contains("ENSDARG00000017661")); // zebrafish
assertTrue(geneIds.contains("ENSGALG00000012865")); // chicken
+ assertEquals(8, geneIds.size());
+
}
}