run-im-query - Run an InterMine query stored as an XML file
run-im-query [options] file Options: --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 file should be a readable XML file. EXAMPLE: run-im-query --url www.flymine.org path/to/query.xml
Print a brief help message and exits.
Prints the manual page and exits.
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.