MeTRN API

AddingMeTRNInformation

creatGenePathwayPostGenePathwayPost

Creat Gene Pathway

Add gene within pathway: - **gene_id**: - **pathway_id**: a pathway id liked to pathway model - **rxn_id**: not required, an reaction ID - **ec**: not required, an EC number - **protein_name**: not required, a datbase of reference pathway


/post/gene_pathway

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/gene_pathway"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Gene_pathwayIn body = ; // Gene_pathwayIn | 
        try {
            apiInstance.creatGenePathwayPostGenePathwayPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#creatGenePathwayPostGenePathwayPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Gene_pathwayIn body = ; // Gene_pathwayIn | 
        try {
            apiInstance.creatGenePathwayPostGenePathwayPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#creatGenePathwayPostGenePathwayPost");
            e.printStackTrace();
        }
    }
}
Gene_pathwayIn *body = ; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Creat Gene Pathway
[apiInstance creatGenePathwayPostGenePathwayPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{Gene_pathwayIn}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.creatGenePathwayPostGenePathwayPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class creatGenePathwayPostGenePathwayPostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new Gene_pathwayIn(); // Gene_pathwayIn | 

            try
            {
                // Creat Gene Pathway
                apiInstance.creatGenePathwayPostGenePathwayPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.creatGenePathwayPostGenePathwayPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // Gene_pathwayIn | 

try {
    $api_instance->creatGenePathwayPostGenePathwayPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->creatGenePathwayPostGenePathwayPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::Gene_pathwayIn->new(); # Gene_pathwayIn | 

eval { 
    $api_instance->creatGenePathwayPostGenePathwayPost(body => $body);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->creatGenePathwayPostGenePathwayPost: $@\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.AddingMeTRNInformationApi()
body =  # Gene_pathwayIn | 

try: 
    # Creat Gene Pathway
    api_instance.creat_gene_pathway_post_gene_pathway_post(body)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->creatGenePathwayPostGenePathwayPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


createGeneExpressionPostGeneExpressionPost

Create Gene Expression

Add an gene expression in each sample: - **gene_id**: a linked gene id - **sample_id**: a linked sample id - **exp_value**: an expression level


/post/gene_expression

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/gene_expression"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Gene_expressionIn body = ; // Gene_expressionIn | 
        try {
            apiInstance.createGeneExpressionPostGeneExpressionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createGeneExpressionPostGeneExpressionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Gene_expressionIn body = ; // Gene_expressionIn | 
        try {
            apiInstance.createGeneExpressionPostGeneExpressionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createGeneExpressionPostGeneExpressionPost");
            e.printStackTrace();
        }
    }
}
Gene_expressionIn *body = ; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Create Gene Expression
[apiInstance createGeneExpressionPostGeneExpressionPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{Gene_expressionIn}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createGeneExpressionPostGeneExpressionPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createGeneExpressionPostGeneExpressionPostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new Gene_expressionIn(); // Gene_expressionIn | 

            try
            {
                // Create Gene Expression
                apiInstance.createGeneExpressionPostGeneExpressionPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.createGeneExpressionPostGeneExpressionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // Gene_expressionIn | 

try {
    $api_instance->createGeneExpressionPostGeneExpressionPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->createGeneExpressionPostGeneExpressionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::Gene_expressionIn->new(); # Gene_expressionIn | 

eval { 
    $api_instance->createGeneExpressionPostGeneExpressionPost(body => $body);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->createGeneExpressionPostGeneExpressionPost: $@\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.AddingMeTRNInformationApi()
body =  # Gene_expressionIn | 

try: 
    # Create Gene Expression
    api_instance.create_gene_expression_post_gene_expression_post(body)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->createGeneExpressionPostGeneExpressionPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


createGenePostGenePost

Create Gene

Add new gene into pan-MeTRN database: - **gene_id**: gene locus id in cassava genome version 6.1 - **gene_symbol**: gene symbolic - **gene_desc**: a long description of gene function - **gene_type**: not required, if TF please put TF - **gene_tf_family**: not required, TF family information - **gene_chromosome**: not required, a location of gene on reference genome - **gene_pos_start**: not required, a start location of gene on reference genome - **gene_pos_end**: not required, an end location of gene on reference genome - **gene_pos_strand**: not required, a strand location of gene on reference genome, - **promoter_seq**: not required, a promoter sequence of gene


/post/gene

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/gene?gene_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        GeneIn body = ; // GeneIn | 
        String geneId = geneId_example; // String | 
        try {
            apiInstance.createGenePostGenePost(body, geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createGenePostGenePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        GeneIn body = ; // GeneIn | 
        String geneId = geneId_example; // String | 
        try {
            apiInstance.createGenePostGenePost(body, geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createGenePostGenePost");
            e.printStackTrace();
        }
    }
}
GeneIn *body = ; // 
String *geneId = geneId_example; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Create Gene
[apiInstance createGenePostGenePostWith:body
    geneId:geneId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{GeneIn}} 
var geneId = geneId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createGenePostGenePost(bodygeneId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createGenePostGenePostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new GeneIn(); // GeneIn | 
            var geneId = geneId_example;  // String | 

            try
            {
                // Create Gene
                apiInstance.createGenePostGenePost(body, geneId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.createGenePostGenePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // GeneIn | 
$geneId = geneId_example; // String | 

try {
    $api_instance->createGenePostGenePost($body, $geneId);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->createGenePostGenePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::GeneIn->new(); # GeneIn | 
my $geneId = geneId_example; # String | 

eval { 
    $api_instance->createGenePostGenePost(body => $body, geneId => $geneId);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->createGenePostGenePost: $@\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.AddingMeTRNInformationApi()
body =  # GeneIn | 
geneId = geneId_example # String | 

try: 
    # Create Gene
    api_instance.create_gene_post_gene_post(body, geneId)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->createGenePostGenePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
gene_id*
String
Required

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


createInteractionPostInteractionPost

Create Interaction

Create an interaction between transcription factor controls target gene: - **target_gene**: A gene ID of your interested based on Phytozome database (cassava genome version 6.1) - **tf_gene**: A transcription factor gene that possible regulates of your interested gene (cassava genome version 6.1) - **M1**: Inferred information from templated-based method via AtRegNet (2017) - **M2**: Predicted based on cis-regulatory element analysis on upstream via PlantPAN version 2 and PlanRegMap - **M3**: Predicted based on reverse-engineering method of cassava under developmental stages (Li et al., 2010 and Yang et al., 2011) and Arabidopsis diurnal circle (Smith et al., 2004; Blasing et al., 2005; and Li et al. 2009) - **direction**: 1 as known direction from cis-regulatory element analysis while 2 as unknown direction TF-TF interaction.


/post/interaction

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/interaction"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Tf_tg_interactionIn body = ; // Tf_tg_interactionIn | 
        try {
            apiInstance.createInteractionPostInteractionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createInteractionPostInteractionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        Tf_tg_interactionIn body = ; // Tf_tg_interactionIn | 
        try {
            apiInstance.createInteractionPostInteractionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createInteractionPostInteractionPost");
            e.printStackTrace();
        }
    }
}
Tf_tg_interactionIn *body = ; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Create Interaction
[apiInstance createInteractionPostInteractionPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{Tf_tg_interactionIn}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createInteractionPostInteractionPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createInteractionPostInteractionPostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new Tf_tg_interactionIn(); // Tf_tg_interactionIn | 

            try
            {
                // Create Interaction
                apiInstance.createInteractionPostInteractionPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.createInteractionPostInteractionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // Tf_tg_interactionIn | 

try {
    $api_instance->createInteractionPostInteractionPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->createInteractionPostInteractionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::Tf_tg_interactionIn->new(); # Tf_tg_interactionIn | 

eval { 
    $api_instance->createInteractionPostInteractionPost(body => $body);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->createInteractionPostInteractionPost: $@\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.AddingMeTRNInformationApi()
body =  # Tf_tg_interactionIn | 

try: 
    # Create Interaction
    api_instance.create_interaction_post_interaction_post(body)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->createInteractionPostInteractionPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


createPathwayPostPathwayPost

Create Pathway

Create a new pathway to database: - **pathway_id**: not required, an auto-incremental pathway id - **pathway_name**: a name of pathway - **pathway_desc**: description of pathway - **pathway_database**: a reference pathway id linked to the database - **pathway_reference**: a datbase of reference pathway


/post/pathway

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/pathway"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        PathwayIn body = ; // PathwayIn | 
        try {
            apiInstance.createPathwayPostPathwayPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createPathwayPostPathwayPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        PathwayIn body = ; // PathwayIn | 
        try {
            apiInstance.createPathwayPostPathwayPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createPathwayPostPathwayPost");
            e.printStackTrace();
        }
    }
}
PathwayIn *body = ; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Create Pathway
[apiInstance createPathwayPostPathwayPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{PathwayIn}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createPathwayPostPathwayPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createPathwayPostPathwayPostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new PathwayIn(); // PathwayIn | 

            try
            {
                // Create Pathway
                apiInstance.createPathwayPostPathwayPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.createPathwayPostPathwayPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // PathwayIn | 

try {
    $api_instance->createPathwayPostPathwayPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->createPathwayPostPathwayPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::PathwayIn->new(); # PathwayIn | 

eval { 
    $api_instance->createPathwayPostPathwayPost(body => $body);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->createPathwayPostPathwayPost: $@\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.AddingMeTRNInformationApi()
body =  # PathwayIn | 

try: 
    # Create Pathway
    api_instance.create_pathway_post_pathway_post(body)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->createPathwayPostPathwayPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


createSampleInfoPostSampleInfoPost

Create Sample Info

Create a gene expression sample information: - **sample_id**: not required, an auto-incremental sample id - **sample_name**: a sample name of gene expression data - **sample_condition**: a condition of sample taken for gene expression measurement - **sample_tissue**: sample tissue taken for gene expression measurement - **sample_reference**: a sample reference citation - **dataset**: a dataset


/post/sample_info

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/post/sample_info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddingMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        SampleIn body = ; // SampleIn | 
        try {
            apiInstance.createSampleInfoPostSampleInfoPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createSampleInfoPostSampleInfoPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddingMeTRNInformationApi;

public class AddingMeTRNInformationApiExample {

    public static void main(String[] args) {
        AddingMeTRNInformationApi apiInstance = new AddingMeTRNInformationApi();
        SampleIn body = ; // SampleIn | 
        try {
            apiInstance.createSampleInfoPostSampleInfoPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddingMeTRNInformationApi#createSampleInfoPostSampleInfoPost");
            e.printStackTrace();
        }
    }
}
SampleIn *body = ; // 

AddingMeTRNInformationApi *apiInstance = [[AddingMeTRNInformationApi alloc] init];

// Create Sample Info
[apiInstance createSampleInfoPostSampleInfoPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.AddingMeTRNInformationApi()
var body = ; // {{SampleIn}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createSampleInfoPostSampleInfoPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createSampleInfoPostSampleInfoPostExample
    {
        public void main()
        {

            var apiInstance = new AddingMeTRNInformationApi();
            var body = new SampleIn(); // SampleIn | 

            try
            {
                // Create Sample Info
                apiInstance.createSampleInfoPostSampleInfoPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddingMeTRNInformationApi.createSampleInfoPostSampleInfoPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAddingMeTRNInformationApi();
$body = ; // SampleIn | 

try {
    $api_instance->createSampleInfoPostSampleInfoPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AddingMeTRNInformationApi->createSampleInfoPostSampleInfoPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddingMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::AddingMeTRNInformationApi->new();
my $body = WWW::SwaggerClient::Object::SampleIn->new(); # SampleIn | 

eval { 
    $api_instance->createSampleInfoPostSampleInfoPost(body => $body);
};
if ($@) {
    warn "Exception when calling AddingMeTRNInformationApi->createSampleInfoPostSampleInfoPost: $@\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.AddingMeTRNInformationApi()
body =  # SampleIn | 

try: 
    # Create Sample Info
    api_instance.create_sample_info_post_sample_info_post(body)
except ApiException as e:
    print("Exception when calling AddingMeTRNInformationApi->createSampleInfoPostSampleInfoPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


ReadMeTRNInformation

getGeneInfoGetGeneInfoGeneIdGet

Get Gene Info

Show gene information


/get/gene_info/{gene_id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/gene_info/{gene_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getGeneInfoGetGeneInfoGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getGeneInfoGetGeneInfoGeneIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getGeneInfoGetGeneInfoGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getGeneInfoGetGeneInfoGeneIdGet");
            e.printStackTrace();
        }
    }
}
String *geneId = geneId_example; // 

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Gene Info
[apiInstance getGeneInfoGetGeneInfoGeneIdGetWith:geneId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var geneId = geneId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getGeneInfoGetGeneInfoGeneIdGet(geneId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getGeneInfoGetGeneInfoGeneIdGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();
            var geneId = geneId_example;  // String | 

            try
            {
                // Get Gene Info
                apiInstance.getGeneInfoGetGeneInfoGeneIdGet(geneId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getGeneInfoGetGeneInfoGeneIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();
$geneId = geneId_example; // String | 

try {
    $api_instance->getGeneInfoGetGeneInfoGeneIdGet($geneId);
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getGeneInfoGetGeneInfoGeneIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();
my $geneId = geneId_example; # String | 

eval { 
    $api_instance->getGeneInfoGetGeneInfoGeneIdGet(geneId => $geneId);
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getGeneInfoGetGeneInfoGeneIdGet: $@\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.ReadMeTRNInformationApi()
geneId = geneId_example # String | 

try: 
    # Get Gene Info
    api_instance.get_gene_info_get_gene_info_gene_id_get(geneId)
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getGeneInfoGetGeneInfoGeneIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
gene_id*
String
Required

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


getInfoGetInfoGet

Get Info

Display database release information with statistics, database version, number of genes and their regulation interactions provived in this database.


/get/info

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getInfoGetInfoGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInfoGetInfoGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getInfoGetInfoGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInfoGetInfoGet");
            e.printStackTrace();
        }
    }
}

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Info
[apiInstance getInfoGetInfoGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getInfoGetInfoGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getInfoGetInfoGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();

            try
            {
                // Get Info
                apiInstance.getInfoGetInfoGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getInfoGetInfoGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();

try {
    $api_instance->getInfoGetInfoGet();
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getInfoGetInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();

eval { 
    $api_instance->getInfoGetInfoGet();
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getInfoGetInfoGet: $@\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.ReadMeTRNInformationApi()

try: 
    # Get Info
    api_instance.get_info_get_info_get()
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getInfoGetInfoGet: %s\n" % e)

Parameters

Responses

Status: 200 - Successful Response


getInteractionGetInteractionGet

Get Interaction

Show a list of gene in pan-MeTRN database


/get/Interaction

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/Interaction"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getInteractionGetInteractionGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInteractionGetInteractionGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getInteractionGetInteractionGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInteractionGetInteractionGet");
            e.printStackTrace();
        }
    }
}

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Interaction
[apiInstance getInteractionGetInteractionGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getInteractionGetInteractionGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getInteractionGetInteractionGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();

            try
            {
                // Get Interaction
                apiInstance.getInteractionGetInteractionGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getInteractionGetInteractionGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();

try {
    $api_instance->getInteractionGetInteractionGet();
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getInteractionGetInteractionGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();

eval { 
    $api_instance->getInteractionGetInteractionGet();
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getInteractionGetInteractionGet: $@\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.ReadMeTRNInformationApi()

try: 
    # Get Interaction
    api_instance.get_interaction_get_interaction_get()
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getInteractionGetInteractionGet: %s\n" % e)

Parameters

Responses

Status: 200 - Successful Response


getInteractionInPathwayGetTFpathwayPathwayIdGet

Get Interaction In Pathway

Get list of TF-target genes interactions in pathway of interest


/get/TFpathway/{pathway_id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/TFpathway/{pathway_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String pathwayId = pathwayId_example; // String | 
        try {
            apiInstance.getInteractionInPathwayGetTFpathwayPathwayIdGet(pathwayId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInteractionInPathwayGetTFpathwayPathwayIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String pathwayId = pathwayId_example; // String | 
        try {
            apiInstance.getInteractionInPathwayGetTFpathwayPathwayIdGet(pathwayId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getInteractionInPathwayGetTFpathwayPathwayIdGet");
            e.printStackTrace();
        }
    }
}
String *pathwayId = pathwayId_example; // 

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Interaction In Pathway
[apiInstance getInteractionInPathwayGetTFpathwayPathwayIdGetWith:pathwayId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var pathwayId = pathwayId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getInteractionInPathwayGetTFpathwayPathwayIdGet(pathwayId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getInteractionInPathwayGetTFpathwayPathwayIdGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();
            var pathwayId = pathwayId_example;  // String | 

            try
            {
                // Get Interaction In Pathway
                apiInstance.getInteractionInPathwayGetTFpathwayPathwayIdGet(pathwayId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getInteractionInPathwayGetTFpathwayPathwayIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();
$pathwayId = pathwayId_example; // String | 

try {
    $api_instance->getInteractionInPathwayGetTFpathwayPathwayIdGet($pathwayId);
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getInteractionInPathwayGetTFpathwayPathwayIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();
my $pathwayId = pathwayId_example; # String | 

eval { 
    $api_instance->getInteractionInPathwayGetTFpathwayPathwayIdGet(pathwayId => $pathwayId);
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getInteractionInPathwayGetTFpathwayPathwayIdGet: $@\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.ReadMeTRNInformationApi()
pathwayId = pathwayId_example # String | 

try: 
    # Get Interaction In Pathway
    api_instance.get_interaction_in_pathway_get_t_fpathway_pathway_id_get(pathwayId)
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getInteractionInPathwayGetTFpathwayPathwayIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
pathway_id*
String
Required

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


getListGeneGetListGeneGet

Get List Gene

Show a list of gene in pan-MeTRN database


/get/list/gene

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/list/gene"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListGeneGetListGeneGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListGeneGetListGeneGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListGeneGetListGeneGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListGeneGetListGeneGet");
            e.printStackTrace();
        }
    }
}

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get List Gene
[apiInstance getListGeneGetListGeneGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getListGeneGetListGeneGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getListGeneGetListGeneGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();

            try
            {
                // Get List Gene
                apiInstance.getListGeneGetListGeneGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getListGeneGetListGeneGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();

try {
    $api_instance->getListGeneGetListGeneGet();
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getListGeneGetListGeneGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();

eval { 
    $api_instance->getListGeneGetListGeneGet();
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getListGeneGetListGeneGet: $@\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.ReadMeTRNInformationApi()

try: 
    # Get List Gene
    api_instance.get_list_gene_get_list_gene_get()
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getListGeneGetListGeneGet: %s\n" % e)

Parameters

Responses

Status: 200 - Successful Response


getListPathwayGetListPathwayGet

Get List Pathway

Show a collection of pathway in pan-MeTRN database


/get/list/pathway

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/list/pathway"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListPathwayGetListPathwayGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListPathwayGetListPathwayGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListPathwayGetListPathwayGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListPathwayGetListPathwayGet");
            e.printStackTrace();
        }
    }
}

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get List Pathway
[apiInstance getListPathwayGetListPathwayGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getListPathwayGetListPathwayGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getListPathwayGetListPathwayGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();

            try
            {
                // Get List Pathway
                apiInstance.getListPathwayGetListPathwayGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getListPathwayGetListPathwayGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();

try {
    $api_instance->getListPathwayGetListPathwayGet();
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getListPathwayGetListPathwayGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();

eval { 
    $api_instance->getListPathwayGetListPathwayGet();
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getListPathwayGetListPathwayGet: $@\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.ReadMeTRNInformationApi()

try: 
    # Get List Pathway
    api_instance.get_list_pathway_get_list_pathway_get()
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getListPathwayGetListPathwayGet: %s\n" % e)

Parameters

Responses

Status: 200 - Successful Response


getListTFGetListTFGet

Get List Tf

Show a list of transcription factor (TF) genes in pan-MeTRN database


/get/list/TF

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/list/TF"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListTFGetListTFGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListTFGetListTFGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        try {
            apiInstance.getListTFGetListTFGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getListTFGetListTFGet");
            e.printStackTrace();
        }
    }
}

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get List Tf
[apiInstance getListTFGetListTFGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getListTFGetListTFGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getListTFGetListTFGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();

            try
            {
                // Get List Tf
                apiInstance.getListTFGetListTFGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getListTFGetListTFGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();

try {
    $api_instance->getListTFGetListTFGet();
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getListTFGetListTFGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();

eval { 
    $api_instance->getListTFGetListTFGet();
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getListTFGetListTFGet: $@\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.ReadMeTRNInformationApi()

try: 
    # Get List Tf
    api_instance.get_list_tf_get_list_tf_get()
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getListTFGetListTFGet: %s\n" % e)

Parameters

Responses

Status: 200 - Successful Response


getTargetGenesGetTargetGeneGeneIdGet

Get Target Genes

Get list of target genes of TF interest


/get/targetGene/{gene_id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/targetGene/{gene_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getTargetGenesGetTargetGeneGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getTargetGenesGetTargetGeneGeneIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getTargetGenesGetTargetGeneGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getTargetGenesGetTargetGeneGeneIdGet");
            e.printStackTrace();
        }
    }
}
String *geneId = geneId_example; // 

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Target Genes
[apiInstance getTargetGenesGetTargetGeneGeneIdGetWith:geneId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var geneId = geneId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getTargetGenesGetTargetGeneGeneIdGet(geneId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTargetGenesGetTargetGeneGeneIdGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();
            var geneId = geneId_example;  // String | 

            try
            {
                // Get Target Genes
                apiInstance.getTargetGenesGetTargetGeneGeneIdGet(geneId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getTargetGenesGetTargetGeneGeneIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();
$geneId = geneId_example; // String | 

try {
    $api_instance->getTargetGenesGetTargetGeneGeneIdGet($geneId);
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getTargetGenesGetTargetGeneGeneIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();
my $geneId = geneId_example; # String | 

eval { 
    $api_instance->getTargetGenesGetTargetGeneGeneIdGet(geneId => $geneId);
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getTargetGenesGetTargetGeneGeneIdGet: $@\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.ReadMeTRNInformationApi()
geneId = geneId_example # String | 

try: 
    # Get Target Genes
    api_instance.get_target_genes_get_target_gene_gene_id_get(geneId)
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getTargetGenesGetTargetGeneGeneIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
gene_id*
String
Required

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error


getTfGenesGetTFGeneIdGet

Get Tf Genes

Get list of TF genes of target gene of intereset


/get/TF/{gene_id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://virtserver.swaggerhub.com/evolu-tion/MeTRN-API/1.0.0/get/TF/{gene_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReadMeTRNInformationApi;

import java.io.File;
import java.util.*;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getTfGenesGetTFGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getTfGenesGetTFGeneIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReadMeTRNInformationApi;

public class ReadMeTRNInformationApiExample {

    public static void main(String[] args) {
        ReadMeTRNInformationApi apiInstance = new ReadMeTRNInformationApi();
        String geneId = geneId_example; // String | 
        try {
            apiInstance.getTfGenesGetTFGeneIdGet(geneId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReadMeTRNInformationApi#getTfGenesGetTFGeneIdGet");
            e.printStackTrace();
        }
    }
}
String *geneId = geneId_example; // 

ReadMeTRNInformationApi *apiInstance = [[ReadMeTRNInformationApi alloc] init];

// Get Tf Genes
[apiInstance getTfGenesGetTFGeneIdGetWith:geneId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MeTrnApi = require('me_trn_api');

var api = new MeTrnApi.ReadMeTRNInformationApi()
var geneId = geneId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getTfGenesGetTFGeneIdGet(geneId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTfGenesGetTFGeneIdGetExample
    {
        public void main()
        {

            var apiInstance = new ReadMeTRNInformationApi();
            var geneId = geneId_example;  // String | 

            try
            {
                // Get Tf Genes
                apiInstance.getTfGenesGetTFGeneIdGet(geneId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReadMeTRNInformationApi.getTfGenesGetTFGeneIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReadMeTRNInformationApi();
$geneId = geneId_example; // String | 

try {
    $api_instance->getTfGenesGetTFGeneIdGet($geneId);
} catch (Exception $e) {
    echo 'Exception when calling ReadMeTRNInformationApi->getTfGenesGetTFGeneIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReadMeTRNInformationApi;

my $api_instance = WWW::SwaggerClient::ReadMeTRNInformationApi->new();
my $geneId = geneId_example; # String | 

eval { 
    $api_instance->getTfGenesGetTFGeneIdGet(geneId => $geneId);
};
if ($@) {
    warn "Exception when calling ReadMeTRNInformationApi->getTfGenesGetTFGeneIdGet: $@\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.ReadMeTRNInformationApi()
geneId = geneId_example # String | 

try: 
    # Get Tf Genes
    api_instance.get_tf_genes_get_tf_gene_id_get(geneId)
except ApiException as e:
    print("Exception when calling ReadMeTRNInformationApi->getTfGenesGetTFGeneIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
gene_id*
String
Required

Responses

Status: 200 - Successful Response

Status: 422 - Validation Error