NAME

run-im-query - Run an InterMine query stored as an XML file

SYNOPSIS

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

OPTIONS

--help

Print a brief help message and exits.

--man

Prints the manual page and exits.

--url

The url of the webservice to use.

--start

The index of the first result to include (starts at 0)

--size

The maximum size of the result set to return.

--count

Just print the count of the results for this query (incompatible with size and start).

DEFAULT CONFIGURATION

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