Retrieves homology information (orthologues) by symbol
Name | Type | Description | Default | Example Values |
---|---|---|---|---|
species | String | Species name/alias | - |
brugia_malayi_prjna10729 |
symbol | String | Symbol or display name of a gene | - |
Bm994 |
Name | Type | Description | Default | Example Values |
---|---|---|---|---|
aligned | Boolean | Return the aligned string if true. Otherwise, return the original sequence (no insertions) | 1 | - |
callback | String | Name of the callback subroutine to be returned by the requested JSONP response. Required ONLY when using JSONP as the serialisation method. Please see the user guide. | - |
randomlygeneratedname |
external_db | String | Filter by external database | - |
EntrezGene |
format | Enum(full,condensed) | Layout of the response | full | - |
sequence | Enum(none, cdna, protein) | The type of sequence to bring back. Setting it to none results in no sequence being returned | protein | - |
target_species | String | Filter by species. Supports all species aliases | - |
brugia_malayi_prjna10729 |
target_taxon | Integer | Filter by taxon | - |
6279 6279 |
type | Enum(orthologues, paralogues, projections, all) | The type of homology to return from this call. Projections are orthology calls defined between alternative assemblies and the genes shared between them. Useful if you need only one type of homology back from the service | all | - |
{
"data": [
{
"homologies": [
{
"taxonomy_level": "Onchocercidae",
"target": {
"perc_id": 38.5093,
"align_seq": "MSEKMPLDRAERIEQHKHELISTDPQQNNLISTNYSA--SSSSSPPSTQQQRQNDKLLTEINKGIHLRHVIPNAHKQCISMLYDKKCEK-SSTTEKDSVKEDETKLEMEKSTDIGNVLLNAMRKRRLLVEFESSSISNEDGNERRLEQWSDSDDTDSNAGKFRN",
"perc_pos": 49.6894,
"taxon_id": 42156,
"species": "litomosoides_sigmodontis_prjeb3075",
"protein_id": "nLs.2.1.2.t06925-RA",
"id": "nLs.2.1.2.g06925",
"cigar_line": "37M2D50MD74M"
},
"dn_ds": null,
"source": {
"taxon_id": 6279,
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"id": "WBGene00221255",
"cigar_line": "3D7M3D16M2D12M2D3MD42M4D37M32D",
"align_seq": "---MQKQVKG---QQHVNELLPSVIQQED--PTNDSLSPLSSA--RCT-DQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKE----ENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG--------------------------------",
"perc_id": 52.9915,
"perc_pos": 68.3761
},
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"type": "ortholog_one2one"
},
{
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"source": {
"align_seq": "-------------MQKQVKG---QQHVNELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKE----ENNINEKETKLETEKA---INIGNILLNAMQKRRLLMHFG--------------------------",
"perc_id": 53.8462,
"perc_pos": 69.2308,
"id": "WBGene00221255",
"taxon_id": 6279,
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"cigar_line": "13D7M3D73M4D16M3D21M26D"
},
"type": "ortholog_one2one",
"target": {
"id": "nDi.2.2.2.g04666",
"species": "dirofilaria_immitis_prjeb1797",
"protein_id": "nDi.2.2.2.t04666",
"taxon_id": 6287,
"cigar_line": "94MD71M",
"align_seq": "MQKVNKAAISDKQIKALLKRISQKEQVREFHAINIQGENSTNDQSLSSSSNHCNDQYQYDKLLTEIRNGIELRHVIPNEHKRCAKMLYDKTIEE-LFISGEDKINDKQIKLCEQKSTDDIDIENILINAMCKRRFAMRFESSSSDENVSGRELEHWYDADDGNDDE",
"perc_id": 38.1818,
"perc_pos": 49.0909
},
"dn_ds": null,
"taxonomy_level": "Onchocercidae"
},
{
"taxonomy_level": "Brugia",
"dn_ds": null,
"target": {
"perc_pos": 86.4407,
"align_seq": "MQKQVKRQQHVDELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAVS----------------VNVLTFEKY------------------------------------------",
"perc_id": 79.661,
"cigar_line": "50M16D9M42D",
"id": "BPAG_0000674301",
"protein_id": "BPAG_0000674301-mRNA-1",
"species": "brugia_pahangi_prjeb497",
"taxon_id": 6280
},
"type": "ortholog_one2many",
"source": {
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"taxon_id": 6279,
"id": "WBGene00221255",
"cigar_line": "117M",
"align_seq": "MQKQVKGQQHVNELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKEENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG",
"perc_id": 40.1709,
"perc_pos": 43.5897
},
"method_link_type": "ENSEMBL_ORTHOLOGUES"
},
{
"type": "ortholog_one2many",
"source": {
"perc_id": 39.3162,
"align_seq": "MQKQVKGQQHVNELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKEENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG",
"perc_pos": 43.5897,
"id": "WBGene00221255",
"taxon_id": 6279,
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"cigar_line": "117M"
},
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"taxonomy_level": "Brugia",
"dn_ds": null,
"target": {
"cigar_line": "50M16D9M42D",
"id": "BPAG_0000621901",
"protein_id": "BPAG_0000621901-mRNA-1",
"species": "brugia_pahangi_prjeb497",
"taxon_id": 6280,
"perc_pos": 86.4407,
"align_seq": "MQKQVKRQQHIDELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAVS----------------VNVLTFEKY------------------------------------------",
"perc_id": 77.9661
}
},
{
"taxonomy_level": "Onchocercidae",
"target": {
"id": "Wban_10481",
"protein_id": "mrna-Wban_10481",
"species": "wuchereria_bancrofti_prjna275548",
"taxon_id": 6293,
"cigar_line": "78MD38M",
"perc_id": 86.2069,
"align_seq": "MQSQVKRQQHVDELLPPVLQQKDPTNDSLSPSSFARCTDQYQSDKLLAQIRSGVQLRHVIPNDHKQCTKMLYDKACEK-EENNINEKEVKLETEKTIDIGNILLNAMHKRRLLMRFG",
"perc_pos": 91.3793
},
"dn_ds": null,
"source": {
"taxon_id": 6279,
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"id": "WBGene00221255",
"cigar_line": "117M",
"perc_id": 85.4701,
"align_seq": "MQKQVKGQQHVNELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKEENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG",
"perc_pos": 90.5983
},
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"type": "ortholog_one2one"
},
{
"taxonomy_level": "Onchocercidae",
"dn_ds": null,
"target": {
"perc_pos": 61.2613,
"align_seq": "------------------------MNDLSSSSHTDRYVDQNQNNKLLTEIRSRIHLRHVIPNEHKQCTKMLYDKTFDK-AIISNEDNVSKKETKLDEQKRIHAENLLINAMRKRRFVMRFESSSSDENETEQELEH",
"perc_id": 45.045,
"cigar_line": "24D54MD57M",
"species": "onchocerca_volvulus_prjeb513",
"protein_id": "OVOC2199.1",
"taxon_id": 6282,
"id": "WBGene00239008"
},
"type": "ortholog_one2one",
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"source": {
"id": "WBGene00221255",
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"taxon_id": 6279,
"cigar_line": "80M4D37M15D",
"perc_id": 42.735,
"align_seq": "MQKQVKGQQHVNELLPSVIQQEDPTNDSLSPLSSARCTDQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKE----ENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG---------------",
"perc_pos": 58.1197
}
},
{
"type": "ortholog_one2one",
"source": {
"cigar_line": "13D35M2D3MD42M4D37M51D",
"id": "WBGene00221255",
"taxon_id": 6279,
"species": "brugia_malayi_prjna10729",
"protein_id": "Bm994.1",
"perc_pos": 68.3761,
"perc_id": 58.9744,
"align_seq": "-------------MQKQVKGQQHVNELLPSVIQQEDPTNDSLSPLSSA--RCT-DQYQSDKLLAEIRNGVQLRHVIPNDHKQCAKMLYDKACEKKE----ENNINEKETKLETEKAINIGNILLNAMQKRRLLMHFG---------------------------------------------------"
},
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"dn_ds": null,
"target": {
"perc_pos": 44.9438,
"align_seq": "MQKTNKPTVSGIHGQTLLKRIEHINELFPTNLQQNSSTNNSS--SSSLSS---TKQCQNDNLLVEIRSGVQLRHVIPNAHKQCIKMLYDNTCEK-LFITE----NENERKLETEKQTDIGNIILNAMRKRRLLMGFGQLAFIVFRFNDSMIKNDHCPLKSSSTSNEDGNERKLEQWSDTDDKGYGDDQ",
"perc_id": 38.764,
"cigar_line": "42M2D6M3D41MD5M4D84M",
"species": "cercopithifilaria_johnstoni_prjeb47283",
"protein_id": "rna-CJOHNSTONI_LOCUS9362",
"taxon_id": 2874296,
"id": "CJOHNSTONI_LOCUS9362"
},
"taxonomy_level": "Onchocercidae"
}
],
"id": "WBGene00221255"
}
]
}
- use strict;
- use warnings;
- use HTTP::Tiny;
- my $http = HTTP::Tiny->new();
- my $server = 'https://parasite.wormbase.org';
- my $ext = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?';
- my $response = $http->get($server.$ext, {
- headers => { 'Content-type' => 'application/json' }
- });
- die "Failed!\n" unless $response->{success};
- use JSON;
- use Data::Dumper;
- if(length $response->{content}) {
- my $hash = decode_json($response->{content});
- local $Data::Dumper::Terse = 1;
- local $Data::Dumper::Indent = 1;
- print Dumper $hash;
- print "\n";
- }
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print repr(decoded)
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print(repr(decoded))
- require 'net/http'
- require 'uri'
- server='https://parasite.wormbase.org'
- path = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?'
- url = URI.parse(server)
- http = Net::HTTP.new(url.host, url.port)
- request = Net::HTTP::Get.new(path, {'Content-Type' => 'application/json'})
- response = http.request(request)
- if response.code != "200"
- puts "Invalid response: #{response.code}"
- puts response.body
- exit
- end
- require 'rubygems'
- require 'json'
- require 'yaml'
- result = JSON.parse(response.body)
- puts YAML::dump(result)
- import java.net.URL;
- import java.net.URLConnection;
- import java.net.HttpURLConnection;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.IOException;
- import java.io.Reader;
- public class EnsemblRest {
- public static void main(String[] args) throws Exception {
- String server = "https://parasite.wormbase.org";
- String ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?";
- URL url = new URL(server + ext);
- URLConnection connection = url.openConnection();
- HttpURLConnection httpConnection = (HttpURLConnection)connection;
- httpConnection.setRequestProperty("Content-Type", "application/json");
- InputStream response = connection.getInputStream();
- int responseCode = httpConnection.getResponseCode();
- if(responseCode != 200) {
- throw new RuntimeException("Response code was not 200. Detected response was "+responseCode);
- }
- String output;
- Reader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(response, "UTF-8"));
- StringBuilder builder = new StringBuilder();
- char[] buffer = new char[8192];
- int read;
- while ((read = reader.read(buffer, 0, buffer.length)) > 0) {
- builder.append(buffer, 0, read);
- }
- output = builder.toString();
- }
- finally {
- if (reader != null) try {
- reader.close();
- } catch (IOException logOrIgnore) {
- logOrIgnore.printStackTrace();
- }
- }
- System.out.println(output);
- }
- }
- curl 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?' -H 'Content-type:application/json'
- wget -q --header='Content-type:application/json' 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?' -O -
{
"data": [
{
"id": "WBGene00221255",
"homologies": [
{
"protein_id": "BPAG_0000674301-mRNA-1",
"species": "brugia_pahangi_prjeb497",
"id": "BPAG_0000674301",
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"type": "ortholog_one2many",
"taxonomy_level": "Brugia"
},
{
"method_link_type": "ENSEMBL_ORTHOLOGUES",
"type": "ortholog_one2many",
"species": "brugia_pahangi_prjeb497",
"protein_id": "BPAG_0000621901-mRNA-1",
"id": "BPAG_0000621901",
"taxonomy_level": "Brugia"
}
]
}
]
}
- use strict;
- use warnings;
- use HTTP::Tiny;
- my $http = HTTP::Tiny->new();
- my $server = 'https://parasite.wormbase.org';
- my $ext = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues';
- my $response = $http->get($server.$ext, {
- headers => { 'Content-type' => 'application/json' }
- });
- die "Failed!\n" unless $response->{success};
- use JSON;
- use Data::Dumper;
- if(length $response->{content}) {
- my $hash = decode_json($response->{content});
- local $Data::Dumper::Terse = 1;
- local $Data::Dumper::Indent = 1;
- print Dumper $hash;
- print "\n";
- }
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print repr(decoded)
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print(repr(decoded))
- require 'net/http'
- require 'uri'
- server='https://parasite.wormbase.org'
- path = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues'
- url = URI.parse(server)
- http = Net::HTTP.new(url.host, url.port)
- request = Net::HTTP::Get.new(path, {'Content-Type' => 'application/json'})
- response = http.request(request)
- if response.code != "200"
- puts "Invalid response: #{response.code}"
- puts response.body
- exit
- end
- require 'rubygems'
- require 'json'
- require 'yaml'
- result = JSON.parse(response.body)
- puts YAML::dump(result)
- import java.net.URL;
- import java.net.URLConnection;
- import java.net.HttpURLConnection;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.IOException;
- import java.io.Reader;
- public class EnsemblRest {
- public static void main(String[] args) throws Exception {
- String server = "https://parasite.wormbase.org";
- String ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues";
- URL url = new URL(server + ext);
- URLConnection connection = url.openConnection();
- HttpURLConnection httpConnection = (HttpURLConnection)connection;
- httpConnection.setRequestProperty("Content-Type", "application/json");
- InputStream response = connection.getInputStream();
- int responseCode = httpConnection.getResponseCode();
- if(responseCode != 200) {
- throw new RuntimeException("Response code was not 200. Detected response was "+responseCode);
- }
- String output;
- Reader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(response, "UTF-8"));
- StringBuilder builder = new StringBuilder();
- char[] buffer = new char[8192];
- int read;
- while ((read = reader.read(buffer, 0, buffer.length)) > 0) {
- builder.append(buffer, 0, read);
- }
- output = builder.toString();
- }
- finally {
- if (reader != null) try {
- reader.close();
- } catch (IOException logOrIgnore) {
- logOrIgnore.printStackTrace();
- }
- }
- System.out.println(output);
- }
- }
- curl 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues' -H 'Content-type:application/json'
- wget -q --header='Content-type:application/json' 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?target_taxon=6279;format=condensed;target_species=brugia_pahangi_prjeb497;type=orthologues' -O -
- use strict;
- use warnings;
- use HTTP::Tiny;
- my $http = HTTP::Tiny->new();
- my $server = 'https://parasite.wormbase.org';
- my $ext = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna';
- my $response = $http->get($server.$ext, {
- headers => { 'Content-type' => 'application/json' }
- });
- die "Failed!\n" unless $response->{success};
- use JSON;
- use Data::Dumper;
- if(length $response->{content}) {
- my $hash = decode_json($response->{content});
- local $Data::Dumper::Terse = 1;
- local $Data::Dumper::Indent = 1;
- print Dumper $hash;
- print "\n";
- }
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print repr(decoded)
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna"
- r = requests.get(server+ext, headers={ "Content-Type" : "application/json", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- decoded = r.json()
- print(repr(decoded))
- require 'net/http'
- require 'uri'
- server='https://parasite.wormbase.org'
- path = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna'
- url = URI.parse(server)
- http = Net::HTTP.new(url.host, url.port)
- request = Net::HTTP::Get.new(path, {'Content-Type' => 'application/json'})
- response = http.request(request)
- if response.code != "200"
- puts "Invalid response: #{response.code}"
- puts response.body
- exit
- end
- require 'rubygems'
- require 'json'
- require 'yaml'
- result = JSON.parse(response.body)
- puts YAML::dump(result)
- import java.net.URL;
- import java.net.URLConnection;
- import java.net.HttpURLConnection;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.IOException;
- import java.io.Reader;
- public class EnsemblRest {
- public static void main(String[] args) throws Exception {
- String server = "https://parasite.wormbase.org";
- String ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna";
- URL url = new URL(server + ext);
- URLConnection connection = url.openConnection();
- HttpURLConnection httpConnection = (HttpURLConnection)connection;
- httpConnection.setRequestProperty("Content-Type", "application/json");
- InputStream response = connection.getInputStream();
- int responseCode = httpConnection.getResponseCode();
- if(responseCode != 200) {
- throw new RuntimeException("Response code was not 200. Detected response was "+responseCode);
- }
- String output;
- Reader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(response, "UTF-8"));
- StringBuilder builder = new StringBuilder();
- char[] buffer = new char[8192];
- int read;
- while ((read = reader.read(buffer, 0, buffer.length)) > 0) {
- builder.append(buffer, 0, read);
- }
- output = builder.toString();
- }
- finally {
- if (reader != null) try {
- reader.close();
- } catch (IOException logOrIgnore) {
- logOrIgnore.printStackTrace();
- }
- }
- System.out.println(output);
- }
- }
- curl 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna' -H 'Content-type:application/json'
- wget -q --header='Content-type:application/json' 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;target_species=brugia_pahangi_prjeb497;target_taxon=6279;sequence=cdna' -O -
<opt>
<data>
<data id="WBGene00221255">
<homologies id="nLs.2.1.2.g06925" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="nLs.2.1.2.t06925-RA" species="litomosoides_sigmodontis_prjeb3075" taxonomy_level="Onchocercidae" type="ortholog_one2one"/>
<homologies id="nDi.2.2.2.g04666" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="nDi.2.2.2.t04666" species="dirofilaria_immitis_prjeb1797" taxonomy_level="Onchocercidae" type="ortholog_one2one"/>
<homologies id="BPAG_0000674301" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="BPAG_0000674301-mRNA-1" species="brugia_pahangi_prjeb497" taxonomy_level="Brugia" type="ortholog_one2many"/>
<homologies id="BPAG_0000621901" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="BPAG_0000621901-mRNA-1" species="brugia_pahangi_prjeb497" taxonomy_level="Brugia" type="ortholog_one2many"/>
<homologies id="Wban_10481" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="mrna-Wban_10481" species="wuchereria_bancrofti_prjna275548" taxonomy_level="Onchocercidae" type="ortholog_one2one"/>
<homologies id="WBGene00239008" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="OVOC2199.1" species="onchocerca_volvulus_prjeb513" taxonomy_level="Onchocercidae" type="ortholog_one2one"/>
<homologies id="CJOHNSTONI_LOCUS9362" method_link_type="ENSEMBL_ORTHOLOGUES" protein_id="rna-CJOHNSTONI_LOCUS9362" species="cercopithifilaria_johnstoni_prjeb47283" taxonomy_level="Onchocercidae" type="ortholog_one2one"/>
</data>
</data>
</opt>
- use strict;
- use warnings;
- use HTTP::Tiny;
- my $http = HTTP::Tiny->new();
- my $server = 'https://parasite.wormbase.org';
- my $ext = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed';
- my $response = $http->get($server.$ext, {
- headers => { 'Content-type' => 'text/xml' }
- });
- die "Failed!\n" unless $response->{success};
- print "$response->{status} $response->{reason}\n";
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed"
- r = requests.get(server+ext, headers={ "Content-Type" : "text/xml", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- print r.text
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed"
- r = requests.get(server+ext, headers={ "Content-Type" : "text/xml", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- print(r.text)
- require 'net/http'
- require 'uri'
- server='https://parasite.wormbase.org'
- path = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed'
- url = URI.parse(server)
- http = Net::HTTP.new(url.host, url.port)
- request = Net::HTTP::Get.new(path, {'Content-Type' => 'text/xml'})
- response = http.request(request)
- if response.code != "200"
- puts "Invalid response: #{response.code}"
- puts response.body
- exit
- end
- puts response.body
- import java.net.URL;
- import java.net.URLConnection;
- import java.net.HttpURLConnection;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.IOException;
- import java.io.Reader;
- public class EnsemblRest {
- public static void main(String[] args) throws Exception {
- String server = "https://parasite.wormbase.org";
- String ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed";
- URL url = new URL(server + ext);
- URLConnection connection = url.openConnection();
- HttpURLConnection httpConnection = (HttpURLConnection)connection;
- httpConnection.setRequestProperty("Content-Type", "text/xml");
- InputStream response = connection.getInputStream();
- int responseCode = httpConnection.getResponseCode();
- if(responseCode != 200) {
- throw new RuntimeException("Response code was not 200. Detected response was "+responseCode);
- }
- String output;
- Reader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(response, "UTF-8"));
- StringBuilder builder = new StringBuilder();
- char[] buffer = new char[8192];
- int read;
- while ((read = reader.read(buffer, 0, buffer.length)) > 0) {
- builder.append(buffer, 0, read);
- }
- output = builder.toString();
- }
- finally {
- if (reader != null) try {
- reader.close();
- } catch (IOException logOrIgnore) {
- logOrIgnore.printStackTrace();
- }
- }
- System.out.println(output);
- }
- }
- curl 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed' -H 'Content-type:text/xml'
- wget -q --header='Content-type:text/xml' 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?type=orthologues;format=condensed' -O -
<?xml version="1.0" encoding="UTF-8"?><orthoXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://orthoXML.org/2011/" xsi:schemaLocation="http://orthoXML.org http://orthoXML.org/0.3/orthoxml.xsd" version="0.3" origin="Ensembl" originVersion="111">
<species NCBITaxId="6279" name="brugia_malayi_prjna10729">
<database name="111" version="Bmal-4.0/2022-01-WormBase">
<genes>
<gene id="822707" geneId="WBGene00221255" protId="Bm994.1"/>
</genes>
</database>
</species>
<species NCBITaxId="42156" name="litomosoides_sigmodontis_prjeb3075">
<database name="111" version="nLs.2.1/2014-05-WormBase">
<genes>
<gene id="3238125" geneId="nLs.2.1.2.g06925" protId="nLs.2.1.2.t06925-RA"/>
</genes>
</database>
</species>
<species NCBITaxId="6287" name="dirofilaria_immitis_prjeb1797">
<database name="111" version="nDi.2.2/2021-04-WormBase">
<genes>
<gene id="616001" geneId="nDi.2.2.2.g04666" protId="nDi.2.2.2.t04666"/>
</genes>
</database>
</species>
<species NCBITaxId="6280" name="brugia_pahangi_prjeb497">
<database name="111" version="B_pahangi_Glasgow_v1_5_4/2016-03-WormBase">
<genes>
<gene id="4955073" geneId="BPAG_0000674301" protId="BPAG_0000674301-mRNA-1"/>
<gene id="4941162" geneId="BPAG_0000621901" protId="BPAG_0000621901-mRNA-1"/>
</genes>
</database>
</species>
<species NCBITaxId="6293" name="wuchereria_bancrofti_prjna275548">
<database name="111" version="ASM528172v1/2023-09-WormBase">
<genes>
<gene id="4705267" geneId="Wban_10481" protId="mrna-Wban_10481"/>
</genes>
</database>
</species>
<species NCBITaxId="6282" name="onchocerca_volvulus_prjeb513">
<database name="111" version="ASM49940v2/2021-03-WormBase">
<genes>
<gene id="2666872" geneId="WBGene00239008" protId="OVOC2199.1"/>
</genes>
</database>
</species>
<species NCBITaxId="2874296" name="cercopithifilaria_johnstoni_prjeb47283">
<database name="111" version="SD210906/2021-11-WormBase">
<genes>
<gene id="1725229" geneId="CJOHNSTONI_LOCUS9362" protId="rna-CJOHNSTONI_LOCUS9362"/>
</genes>
</database>
</species>
<scores>
<scoreDef id="bootstrap" desc="Reliability of the branch"/>
<scoreDef id="duplication_confidence_score" desc="Reliability of the duplication"/>
<scoreDef id="n" desc="Number of non-synonymous mutations"/>
<scoreDef id="s" desc="Number of synonymous mutations"/>
<scoreDef id="dn" desc="Rate of non-synonymous mutations"/>
<scoreDef id="ds" desc="Rate of synonymous mutations"/>
<scoreDef id="lnl" desc="Likelihood of the n/s scores"/>
<scoreDef id="dnds_ratio" desc="dN/dS ratio"/>
<scoreDef id="goc_score" desc="Gene order conservation score"/>
<scoreDef id="wga_coverage" desc="Whole genome alignment coverage"/>
<scoreDef id="perc_identity" desc="Percentage of identity of this protein to the alignment"/>
</scores>
<groups>
<orthologGroup id="32189331">
<property name="taxon_name" value="Onchocercidae"/>
<property name="taxon_id" value="6296"/>
<property name="description" value="ortholog_one2one"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="52.9915"/>
</geneRef>
<geneRef id="3238125">
<score id="perc_identity" value="38.5093"/>
</geneRef>
</orthologGroup>
<orthologGroup id="32261053">
<property name="taxon_name" value="Onchocercidae"/>
<property name="taxon_id" value="6296"/>
<property name="description" value="ortholog_one2one"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="53.8462"/>
</geneRef>
<geneRef id="616001">
<score id="perc_identity" value="38.1818"/>
</geneRef>
</orthologGroup>
<orthologGroup id="32298874">
<property name="taxon_name" value="Brugia"/>
<property name="taxon_id" value="6278"/>
<property name="description" value="ortholog_one2many"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="40.1709"/>
</geneRef>
<geneRef id="4955073">
<score id="perc_identity" value="79.661"/>
</geneRef>
</orthologGroup>
<orthologGroup id="32298875">
<property name="taxon_name" value="Brugia"/>
<property name="taxon_id" value="6278"/>
<property name="description" value="ortholog_one2many"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="39.3162"/>
</geneRef>
<geneRef id="4941162">
<score id="perc_identity" value="77.9661"/>
</geneRef>
</orthologGroup>
<orthologGroup id="32364192">
<property name="taxon_name" value="Onchocercidae"/>
<property name="taxon_id" value="6296"/>
<property name="description" value="ortholog_one2one"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="85.4701"/>
</geneRef>
<geneRef id="4705267">
<score id="perc_identity" value="86.2069"/>
</geneRef>
</orthologGroup>
<orthologGroup id="32530446">
<property name="taxon_name" value="Onchocercidae"/>
<property name="taxon_id" value="6296"/>
<property name="description" value="ortholog_one2one"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="42.735"/>
</geneRef>
<geneRef id="2666872">
<score id="perc_identity" value="45.045"/>
</geneRef>
</orthologGroup>
<orthologGroup id="33430110">
<property name="taxon_name" value="Onchocercidae"/>
<property name="taxon_id" value="6296"/>
<property name="description" value="ortholog_one2one"/>
<property name="is_tree_compliant" value="1"/>
<property name="is_high_confidence" value="1"/>
<geneRef id="822707">
<score id="perc_identity" value="58.9744"/>
</geneRef>
<geneRef id="1725229">
<score id="perc_identity" value="38.764"/>
</geneRef>
</orthologGroup>
</groups>
</orthoXML>
- use strict;
- use warnings;
- use HTTP::Tiny;
- my $http = HTTP::Tiny->new();
- my $server = 'https://parasite.wormbase.org';
- my $ext = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?';
- my $response = $http->get($server.$ext, {
- headers => { 'Content-type' => 'text/x-orthoxml+xml' }
- });
- die "Failed!\n" unless $response->{success};
- print "$response->{status} $response->{reason}\n";
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?"
- r = requests.get(server+ext, headers={ "Content-Type" : "text/x-orthoxml+xml", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- print r.text
- import requests, sys
- server = "https://parasite.wormbase.org"
- ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?"
- r = requests.get(server+ext, headers={ "Content-Type" : "text/x-orthoxml+xml", "Accept" : ""})
- if not r.ok:
- r.raise_for_status()
- sys.exit()
- print(r.text)
- require 'net/http'
- require 'uri'
- server='https://parasite.wormbase.org'
- path = '/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?'
- url = URI.parse(server)
- http = Net::HTTP.new(url.host, url.port)
- request = Net::HTTP::Get.new(path, {'Content-Type' => 'text/x-orthoxml+xml'})
- response = http.request(request)
- if response.code != "200"
- puts "Invalid response: #{response.code}"
- puts response.body
- exit
- end
- puts response.body
- import java.net.URL;
- import java.net.URLConnection;
- import java.net.HttpURLConnection;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.IOException;
- import java.io.Reader;
- public class EnsemblRest {
- public static void main(String[] args) throws Exception {
- String server = "https://parasite.wormbase.org";
- String ext = "/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?";
- URL url = new URL(server + ext);
- URLConnection connection = url.openConnection();
- HttpURLConnection httpConnection = (HttpURLConnection)connection;
- httpConnection.setRequestProperty("Content-Type", "text/x-orthoxml+xml");
- InputStream response = connection.getInputStream();
- int responseCode = httpConnection.getResponseCode();
- if(responseCode != 200) {
- throw new RuntimeException("Response code was not 200. Detected response was "+responseCode);
- }
- String output;
- Reader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(response, "UTF-8"));
- StringBuilder builder = new StringBuilder();
- char[] buffer = new char[8192];
- int read;
- while ((read = reader.read(buffer, 0, buffer.length)) > 0) {
- builder.append(buffer, 0, read);
- }
- output = builder.toString();
- }
- finally {
- if (reader != null) try {
- reader.close();
- } catch (IOException logOrIgnore) {
- logOrIgnore.printStackTrace();
- }
- }
- System.out.println(output);
- }
- }
- curl 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?' -H 'Content-type:text/x-orthoxml+xml'
- wget -q --header='Content-type:text/x-orthoxml+xml' 'https://parasite.wormbase.org/rest-19/homology/symbol/brugia_malayi_prjna10729/Bm994?' -O -
Methods | GET |
Response formats | json xml orthoxml jsonp |