find list of objects by
keyword(s)
find object(s) by
keyword, organism
find object(s) by
keyword, organism, type
find publication(s)by keyword(s)
list gene names by KEGG
pathway
list gene names by KEGG
map and organism
list gene objects by KEGG
pathway
list gene objects by KEGG
map and organism
find KEGG pathways by
keyword(s)
find other curated
pathways by keyword(s)
list top properties for
object
list all properties for
object
find neighbors (objects)
by object
find co-expressed objects
for object
list annotated terms by
object and ontology
Two and more objects
functions
find direct interactions
between two objects
find direct interactions
inside group of objects
find direct interactions
between two groups of objects.
find shortest path
between two objects
find shortest path inside
group of objects
find shortest path
between two groups of objects.
find neighbors for group
of objects
list experiments by group
of objects
find experiments by two
co-expressed objects
find experiments by group
of objects where co-expressed.
list chromosomes for
organism name
get resources by organism
name and chromosome name
get sequence by resource,
start, end
find features
corresponding to integrome DB object
list feature types for
resource
get all features by resource[,
start, end[ and type]]
list of all features
inside or overlapping interval of given feature[of specified type]
1.
struct object (
string id
string name
string type
)
2.
struct publication (
string publication_id
string contents
)
3.
struct pathway (
string pathway_id
string pathway_name
string
pathway_type
)
4.
struct property (
string name
string
value
)
5.
struct experiment (
string id
string name
)
6.
struct edge (
struct object start
struct object connector
struct object end
)
7.
struct seq_resource (
string resource_id
string resource_name
string resource_length
)
8.
struct seq_feature (
string feature_id
string feature_name
string feature_type
string
resource_id
string start
string end
)
All structures described above are represented by HashMap
container. Please use property name as a key to access value in map for clients
written in Java.
Method signature
array Integrome.find ( string keywords )
Parameters
string keywords - comma separated list of keywords
Result
array of objects
Method signature
array Integrome.find ( string keywords,
string organism_name )
Parameters
string keywords - comma separated list of keywords
string organism_name - canonical organism name, nil value removes this filter,
Result
array of objects
Method signature
array Integrome.find ( string keywords,
string organism_name, string object_type )
Parameters
string keywords - comma separated list of keywords
string organism_name - canonical organism name, nil value removes this filter,
string object_type - type (from predefined list) , nil value removes this filter
Result
array of objects
Method signature
array Integrome.find _publication ( string
keywords )
Parameters
string keywords - comma separated list of keywords
Result
array of publications
Method signature
array Integrome.get_genes_by_pathway (
string pathway )
Parameters
string pathway pathway name
Result
string array of gene names
Method signature
array Integrome.get_genes_by_pathway (
string keggmap, string organism )
Parameters
string keggmap kegg map name (like map00010)
string organism - canonical organism name
Result
string array of gene names
Method signature
array Integrome.get_genes_by_pathway (
string pathway )
Parameters
string pathway pathway name
Result
array of objects
Method signature
array Integrome.get_genes_by_pathway (
string keggmap, string organism )
Parameters
string keggmap kegg map name (like map00010)
string organism - canonical organism name
Result
array of objects
Method signature
array Integrome.find _kegg_pathways ( string
keywords )
Parameters
string keywords - comma separated list of keywords
Result
array of pathways
Method signature
array Integrome.find _curated_pathways (
string keywords, string type )
Parameters
string keywords - comma separated list of keywords
string type - type (from the list of NCU/Nature, Reactome, Wiki, Imaging pathways), nil value removes this filter
Result
array of pathways
Method signature
array Integrome.get_top_properties( string object_id)
Parameters
string object_id object id
Result
array of properties
Method signature
array Integrome.get_all_properties( string object_id)
Parameters
string object_id object id
Result
array of properties
Method signature
array Integrome.get_top_synonyms ( string object_id)
Parameters
string object_id object id
Result
array of string
Method signature
array Integrome.get_all_synonyms ( string object_id)
Parameters
string object_id object id
Result
array of string
Method signature
array Integrome.find_neighbors ( string object_id)
Parameters
string object_id object id
Result
array of objects
Method signature
array Integrome.find_experiments ( string object_id)
Parameters
string object_id object id
Result
array of experiments
Method signature
array Integrome.find_coexpressed_objects
( string object_id)
Parameters
string object_id object id
Result
array of objects
Method signature
array Integrome.get_terms( string object_id)
Parameters
string object_id object id
Result
array of string
Method signature
array Integrome.find_direct_interactions (string
object_1_id, string object_2_id)
Parameters
string object_1_id first object id
string object_2_id second object id
Result
array of edges
Method signature
array Integrome.find_direct_interactions (array
string object_ids)
Parameters
array string object_ids first group of object ids
Result
array of edges
Method signature
array Integrome.find_direct_interactions (array
string object_1_ids, array string object_2_ids)
Parameters
array string object_1_ids first group of object ids
array string object_2_ids second group of object ids
Result
array of edges
Method signature
array Integrome.find_direct_interactions (string
object_1_id, string object_2_id)
Parameters
string object_1_id first object id
string object_2_id second object id
Result
array of edges
Method signature
array Integrome.find_direct_interactions (array
string object_ids)
Parameters
array string object_ids first group of object ids
Result
array of edges
Method signature
array Integrome.find_direct_interactions (array
string object_1_ids, array string object_2_ids)
Parameters
array string object_1_ids first group of object ids
array string object_2_ids second group of object ids
Result
array of edges
Method signature
array Integrome.find_direct_interactions (array
string object_ids)
Parameters
array string object_ids first group of object ids
Result
array of edges
Method signature
array Integrome.find_coexpressed_objects
(array string object_ids)
Parameters
array string object_ids group of object ids
Result
array of experiments
Method signature
array Integrome.find_experiments_of_coexpressed_objects
(string object_1_id, string object_2_id)
Parameters
string object_1_id first object id
string object_2_id second object id
Result
array of experiments
Method signature
array Integrome.find_coexpressed_objects
(array string object_ids)
Parameters
array string object_ids group of object ids
Result
array of experiments
Method signature
array sequence.list_chromosomes(string organism_name)
Parameters
string organism_name canonical organism name
Result
array of strings
Method signature
array sequence.find_resources(string organism_name, string chromosome)
Parameters
string organism_name canonical organism name
string chromosome canonical organism name, nil value removes the filter
Result
array of resources
Method signature
struct resource sequence.get_resources(string resource_id)
Parameters
string resource_id sequence db internal resource identifier
Result
struct resource
Method signature
string sequence.get_sequence(string resource_id, int start, int end)
Parameters
string resource_id sequence resource id
int start start of region
int end end of region
Result
string
Method signature
array sequence.find_features(string keywords, string type)
Parameters
string keywords comma separated list of keywords
string feature_type feature type, nil value to disable this filter
Result
array of features
Method signature
array sequence.find_corresponding_features(string object_id)
Parameters
string object_id object id from Integrome DB
Result
array of features
Method signature
array sequence.list_feature_types(string resource_id)
Parameters
string resource_id sequence resource id
Result
array of string
Method signature
array sequence.list_features(string resource_id, int start, int end,
string feature_type)
Parameters
string resource_id sequence resource id
int start start of region
int end end of region
string feature_type feature type, nil value to disable this filter
Result
array of features
Method signature
array sequence.list_intersected_features(string feature_id, string feature_type, boolean inside_only)
Parameters
string resource_id sequence resource id
string feature_type feature type, nil value to disable this filter
boolean inside_only- return only containing features if true, overlapping otherwise
Result
array of features
This Java source code example shows the usage of find objects by keyword and organism and then list top synonyms for each object found. In order to let this example work you should have apache xml-rpc libraries linked to your project and available for download from http://ws.apache.org/xmlrpc/.
package xmlrpc_client;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.xmlrpc.XmlRpcException;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
/**
* Test class to find objects by keyword and organism and then
* list top synonyms for each of them
* @author Sergey Kozhenkov
*/
public class Main {
public static void main(String[] args) {
try {
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://integromedb.org/integrome"));
config.setEnabledForExtensions(true);
XmlRpcClient client = new XmlRpcClient();
// use Commons HttpClient as transport
client.setTransportFactory(new XmlRpcCommonsTransportFactory(client));
// set configuration
client.setConfig(config);
Object[] params = new Object[]{"p53", "Homo sapiens"};
Object[] result = (Object[]) client.execute("Integrome.find", params);
if (result != null) {
for (Object rec : result) {
HashMap<String, String> map = (HashMap<String, String>) rec;
long id = Long.parseLong(map.get("id"));
System.out.println("Object: " + map.get("name") + " (" + id + "), type: " + map.get("type") + ", organism: "
+ map.get("organism"));
params = new Object[]{"" + id};
Object[] synonyms = (Object[]) client.execute("Integrome.get_top_synonyms", params);
if (synonyms != null) {
System.out.println(Arrays.toString(synonyms));
}
}
}
} catch (MalformedURLException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
} catch (XmlRpcException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
To establish integration with BiologicalNetwork you must put special link(s) on your web page(s) with all the required parameters according to this document. Also BiologicalNetwork must be installed on client’s machine in order to launch required routine and show the result inside application.
Navigating to this link will initiate special text file downloading with all required parameters. Downloading procedure brings system "Save & open dialog” with associated BiologicalNetwork application to handle this file type.
· Predefined link parameters
open – value “pathway”
type – value “interactions”
· Variable link parameters
string – object name
· Example: show interactions for P53 protein.
/params2xml?open=pathway&type=interactions&string=p53
· Predefined link parameters
open – value “pathway”
type – value “interactions”
· Variable link parameters
string – object name
organism – canonical organism name, all spaces encoded as “%20”
· Example: show interactions for P53 protein.
/params2xml?open=pathway&type=interactions&string=p53&organism=Homo%20sapiens
· Predefined link parameters
open – value “mev”
· Variable link parameters
string – object name
· Example: show multi-experiment viewer for P53 protein.
/params2xml?open=mev&string=p53
· Predefined link parameters
open – value “mev”
· Variable link parameters
string – object name
organism – canonical organism name, all spaces encoded as “%20”
· Example: show multi-experiment viewer for P53 protein.
/params2xml?open=mev&string=p53&organism=Homo%20sapiens
· Predefined link parameters
open – value “sequence”
type – value “sequencedb”
· Variable link parameters
string – object name
· Example: show sequence for P53 protein.
/params2xml?open=sequence&string=p53
· Predefined link parameters
open – value “sequence”
type – value “sequencedb”
· Variable link parameters
string – object name
organism – canonical organism name, all spaces encoded as “%20”
· Example: show sequence for P53 protein.
/params2xml?open=sequence&string=p53&organism=Homo%20sapiens