class EnsemblXref extends EnsemblRestClient
{
+ /**
+ * Constructor given the target domain to fetch data from
+ *
+ * @param d
+ */
+ public EnsemblXref(String d)
+ {
+ super(d);
+ }
+
@Override
public String getDbName()
{
*/
protected URL getUrl(String identifier)
{
- String url = ENSEMBL_REST + "/xrefs/id/" + identifier
+ String url = getDomain() + "/xrefs/id/" + identifier
+ "?content-type=application/json&all_levels=1";
try
{