run-im-template - Run an InterMine template by passing a list of parameters
run-im-query [options] parameter=value... Options: --template the name of the template to query --url the webservice url --start the index of the first result to return (starts at 0) --size the total number of results to return --count don't return results - just return the count of rows --user user name for queries that require authentication --pass password for queries that require authentication EXAMPLE: run-im-template --url www.flymine.org/query --template Pathway_Genes opA=eq valueA="Pentose phosphate pathway" opB=eq valueB="KEGG pathways data set" opC=eq valueC="Drosophila*"
Print a brief help message and exits.
Prints the manual page and exits.
The name of the template to run
The url of the webservice to use.
The index of the first result to include (starts at 0)
The maximum size of the result set to return.
Just print the count of the results for this query (incompatible with size and start).
The url option will need to be provided for each query. It (and all other options) can be set in a configuration file. The location for this configuration is ~/.webservice-intermine.config
eg:
# Webservice::InterMine configuration --url www.flymine.org/query --size 50
To install Webservice::InterMine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::InterMine
CPAN shell
perl -MCPAN -e shell install Webservice::InterMine
For more information on module installation, please visit the detailed CPAN module installation guide.