NAME

run-im-template - Run an InterMine template by passing a list of parameters

SYNOPSIS

    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*"

OPTIONS

--help

Print a brief help message and exits.

--man

Prints the manual page and exits.

--template

The name of the template to run

--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