dyneqtlGet
Fetch information for one gene-variant pair in one tissue
/dyneqtl
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json"\
"https://ratgtex.org/api/v2/dyneqtl?geneId=&genome=&tissueSiteDetailId=&variantId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EQTLApi;
import java.io.File;
import java.util.*;
public class EQTLApiExample {
public static void main(String[] args) {
EQTLApi apiInstance = new EQTLApi();
String geneId = geneId_example; // String | Ensembl gene ID
String genome = genome_example; // String | Genome build (rn6 or rn7)
String tissueSiteDetailId = tissueSiteDetailId_example; // String | Tissue ID
String variantId = variantId_example; // String | Variant ID
try {
inline_response_200 result = apiInstance.dyneqtlGet(geneId, genome, tissueSiteDetailId, variantId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EQTLApi#dyneqtlGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.EQTLApi;
public class EQTLApiExample {
public static void main(String[] args) {
EQTLApi apiInstance = new EQTLApi();
String geneId = geneId_example; // String | Ensembl gene ID
String genome = genome_example; // String | Genome build (rn6 or rn7)
String tissueSiteDetailId = tissueSiteDetailId_example; // String | Tissue ID
String variantId = variantId_example; // String | Variant ID
try {
inline_response_200 result = apiInstance.dyneqtlGet(geneId, genome, tissueSiteDetailId, variantId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EQTLApi#dyneqtlGet");
e.printStackTrace();
}
}
}
String *geneId = geneId_example; // Ensembl gene ID
String *genome = genome_example; // Genome build (rn6 or rn7)
String *tissueSiteDetailId = tissueSiteDetailId_example; // Tissue ID
String *variantId = variantId_example; // Variant ID
EQTLApi *apiInstance = [[EQTLApi alloc] init];
[apiInstance dyneqtlGetWith:geneId
genome:genome
tissueSiteDetailId:tissueSiteDetailId
variantId:variantId
completionHandler: ^(inline_response_200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var RatGtexRestApi = require('rat_gtex_rest_api');
var api = new RatGtexRestApi.EQTLApi()
var geneId = geneId_example; // {{String}} Ensembl gene ID
var genome = genome_example; // {{String}} Genome build (rn6 or rn7)
var tissueSiteDetailId = tissueSiteDetailId_example; // {{String}} Tissue ID
var variantId = variantId_example; // {{String}} Variant ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.dyneqtlGet(geneId, genome, tissueSiteDetailId, variantId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class dyneqtlGetExample
{
public void main()
{
var apiInstance = new EQTLApi();
var geneId = geneId_example; // String | Ensembl gene ID
var genome = genome_example; // String | Genome build (rn6 or rn7)
var tissueSiteDetailId = tissueSiteDetailId_example; // String | Tissue ID
var variantId = variantId_example; // String | Variant ID
try
{
inline_response_200 result = apiInstance.dyneqtlGet(geneId, genome, tissueSiteDetailId, variantId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EQTLApi.dyneqtlGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiEQTLApi();
$geneId = geneId_example; // String | Ensembl gene ID
$genome = genome_example; // String | Genome build (rn6 or rn7)
$tissueSiteDetailId = tissueSiteDetailId_example; // String | Tissue ID
$variantId = variantId_example; // String | Variant ID
try {
$result = $api_instance->dyneqtlGet($geneId, $genome, $tissueSiteDetailId, $variantId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EQTLApi->dyneqtlGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EQTLApi;
my $api_instance = WWW::SwaggerClient::EQTLApi->new();
my $geneId = geneId_example; # String | Ensembl gene ID
my $genome = genome_example; # String | Genome build (rn6 or rn7)
my $tissueSiteDetailId = tissueSiteDetailId_example; # String | Tissue ID
my $variantId = variantId_example; # String | Variant ID
eval {
my $result = $api_instance->dyneqtlGet(geneId => $geneId, genome => $genome, tissueSiteDetailId => $tissueSiteDetailId, variantId => $variantId);
print Dumper($result);
};
if ($@) {
warn "Exception when calling EQTLApi->dyneqtlGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.EQTLApi()
geneId = geneId_example # String | Ensembl gene ID
genome = genome_example # String | Genome build (rn6 or rn7)
tissueSiteDetailId = tissueSiteDetailId_example # String | Tissue ID
variantId = variantId_example # String | Variant ID
try:
api_response = api_instance.dyneqtl_get(geneId, genome, tissueSiteDetailId, variantId)
pprint(api_response)
except ApiException as e:
print("Exception when calling EQTLApi->dyneqtlGet: %s\n" % e)
Parameters
Name | Description |
---|---|
geneId* |
String
Ensembl gene ID
Required
|
genome* |
String
Genome build (rn6 or rn7)
Required
|
tissueSiteDetailId* |
String
Tissue ID
Required
|
variantId* |
String
Variant ID
Required
|