modMine provides RESTful web services enabling execution of queries directly from programs you write. All Template Queries can very easily be executed from the command line or a script, click the ‘Embed’ link on a Template Query form for more details.
We also provide a Perl client API that makes it easy to run templates and create custom queries from simple Perl programs. The download contains some sample code that will connect to modMine and run queries to, for example, fetch details of antibodies and to find modENCODE features located near to gene(s) of interest.
You can download the package at:
Instructions are in the file http://www.flymine.org/download/modmine/perlAPI/howToInstall
Or for an automated install, which will handle dependencies for you can use pip:
From the commandline run:
Don’t forget you can install pip (the package installer for Perl) with “cpan pip”