![]() |
Table of Contents
Frequently Asked Questions (FAQ)Answers to frequently asked questions (FAQs) about the Web Services provided by EMBL-EBI. If you have a question that is not answered here please contact EMBL-EBI Support. Staying InformedTo stay informed about updates and changes to the EMBL-EBI Web Services, and scheduled maintenance to the EMBL-EBI website and services we suggest:
How do I use these services?This largely depends on how you want to use the services. There are two main categories of usage:
Client DevelopmentIf you want to develop you own clients to the EMBL-EBI Web Services, then you will need to set-up an appropriate development environment for your chosen programming language and select an appropriate REST or SOAP took-kit. A number of tutorials are provided covering most common programming languages and popular tool-kits: Existing ClientsIf you want to download a client and use the service right away then see the service documentation pages for the service of interest (list). The service page (e.g. InterProScan (SOAP)) provides a list of clients and details of the pre-requisites. For most services we provide command-line clients for .NET, Java and Perl. For a few selected services a number of other clients are also available, for example: Which client you want to use depends on the platform. Currently we recommend using:
If you have other processes using specific programming languages then you may wish to look at the corresponding client, where available. What tools do I need?If you want to download a client and get running with a service quickly, then see the clients page for the service of interest (list) for details of any existing clients. If you want to develop you own clients, or services, you will need to choose a programming language and, if SOAP is not included with the language, a SOAP library. There are a wide selection of possibilities, some of the more common solutions are:
Tutorials on using a selection of these languages and libraries can be found in the tutorials pages. How can I analyse multiple sequences?The Web Services provided by EMBL-EBI are limited to one sequence (e.g. the query sequence for a sequence similarity search), or one set of sequences (e.g. the set of sequences to be aligned for a multiple sequence alignment), per job. Thus if you wish to analyse multiple sequences you will have to submit multiple jobs. Please note: We kindly ask all users to submit NO MORE THAN 25 JOBS AT THE TIME AND NOT TO SUBMIT MORE JOBS UNTIL YOU HAVE OBTAINED RESULTS FOR THE LAST 25. There are many people using these services and a fair share policy has been implemented that allows us to block users that submit jobs in a manner that prevents others from using the service. This block may affect access to the EMBL-EBI Web Services for an entire organisation or a class B or C subnet. Also make sure you USE A REAL EMAIL ADDRESS in your submissions. Using a fake email means we cannot contact you and will very likely result in your jobs being killed and your IP, Organisation or entire domain being black-listed. We do apologise for any inconvenience this may cause. Multiple sequences per-file
For some services the supplied clients support input of multiple sequences in the fasta sequence format. This has to be specifically enabled using a flag, see the client's help/usage information (typically accessed using the File per-sequenceA simple way to do this is to create a set of files containing one sequence per file, and then loop over the files submitting each one, and getting the result. To split a file containing multiple fasta formatted sequences into a set of files each containing a single sequence the following methods can be used:
To following scripts illustrate how to submit the jobs:
The following parallel job running tools may also be useful: Workflow systemsWorkflow systems (e.g. Kepler, Taverna or Triana) support a number of forms of automated bulk analysis. See Workflows and Web Services for further details. Dedicated ToolsDedicated analysis tools, such as Blast2GO, may also use web services to provide some functionality or to perform a specific analysis. See their documentation for details. How do I specify a proxy?Depending on your environment you may need to specify an HTTP proxy to access the Internet. PerlPerl, and many other scripting languages, read a set of environment variables to get the details of the available HTTP proxy. For UNIX and UNIX-like environments it is simplest to set these in your shell's start-up scripts.
C-shell (csh or tcsh) in setenv http_proxy 'http://proxy.example.org:8080' setenv HTTP_proxy 'http://proxy.example.org:8080' # For proxies requiring a username/password use: #setenv http_proxy 'http://username:password@proxy.example.org:8080' #setenv HTTP_proxy 'http://proxy.example.org:8080' #setenv HTTP_proxy_user 'username' #setenv HTTP_proxy_pass 'password'
Bourne shell (sh or bash) in http_proxy='http://proxy.example.org:8080' HTTP_proxy='http://proxy.example.org:8080' export http_proxy HTTP_proxy # For proxies requiring a username/password use: #http_proxy='http://username:password@proxy.example.org:8080' #HTTP_proxy='http://proxy.example.org:8080' #HTTP_proxy_user='username' #HTTP_proxy_pass='password' #export http_proxy HTTP_proxy HTTP_proxy_user HTTP_proxy_pass For SOAP::Lite you can also set the HTTP proxy directly, see the Perl tutorial for details. If you cannot set the environment variables directly then you can set them from your Perl script. For example: $ENV{'http_proxy'} = 'http://proxy.example.org:8080'; $ENV{'HTTP_proxy'} = 'http://proxy.example.org:8080'; # For proxies requiring a username/password use: #$ENV{'http_proxy'} = 'http://username:password@proxy.example.org:8080'; #$ENV{'HTTP_proxy'} = 'http://proxy.example.org:8080'; #$ENV{'HTTP_proxy_user') = 'user'; # Proxy username (if required) #$ENV{'HTTP_proxy_pass'} = 'password'; # Proxy password (if required) See the documentation for the web tool kit being used for more details. JavaTo use a HTTP proxy from Java you can set appropriate variables in your command line: java -Dhttp.proxyHost=proxy.example.org -Dhttp.proxyPort=8080 If your proxy requires a username and password: java -Dhttp.proxyHost=proxy.example.org -Dhttp.proxyPort=8080 -DproxyUser=username -DproxyPassword=password Why do you need my e-mail address?We require a valid e-mail address so we can contact you in the event of:
As described in our Terms of Use this information is not provided to anyone else, nor will we contact you except for the reasons stated above. If you use a fake e-mail address then we will not be able to contact you and will very likely result in your jobs being killed and your IP, Organisation or entire domain being black-listed, see Terms of Use. Perl: Installing modules on MS Windows?The standard Perl module installation routine: perl Makefile.PL make make test make install
assumes that your environment includes a version of the
For details of how to install Perl: I installed SOAP::Lite, but I get an error?Various versions of SOAP::Lite contains bugs which cause compatibility issues with our services. Typical error messages indicating compatibility problems include:
Current workarounds for these problems are:
To determine the installed version of SOAP::Lite: perl -e 'use SOAP::Lite; print $SOAP::Lite::VERSION, "\n";' Java: Axis 1.2/1.3 does not work?The client stubs produced by Axis WSDL2Java are version specific. The supplied clients have been built using Axis 1.4, provided in lib-1.4.zip. If you want to use a different version of Axis you will have to regenerate the stubs and re-compile, see the Java tutorial for further details. Java: NoClassDefFoundError errorThis means that Java is not finding required classes. For example: > java WSEmbossClient Exception in thread "main" java.lang.NoClassDefFoundError: WSEmbossClient If the libraries and the current directory are not in the Java classpath use something like: java -Djava.ext.dirs=lib -cp . WSEmbossClient
If you are using the provided libraries from Taverna: How can I poll for my results?Taverna 1.xPolling is implemented using the retry mechanism and a nested workflow. See Taverna tutorial: Polling for Results. Example Taverna 1.x workflows for the EMBL-EBI services can be found in myExperiment. Taverna 2.xIn Taverna 2 the polling loop is handled as a property of the processor, rather then as an external workflow. Example Taverna 2 workflows for the EMBL-EBI services can be found in myExperiment. Which databases are available?For a list of the database names used by dbfetch and the sequence similarity search services (e.g. WSFasta, WSNCBIBlast and WSWUBlast) see: Available databases. Some of the services provide methods to get the details of the available databases at run time, see the page for the service for further details (list). How do I cite a service?Depending on the service there may be a specific publication for the service which should be used, see the service documentation for details (list). If the service does not have a specific publication then one of the generic publications detailing the EMBL-EBI Web Services can be used, see references. ![]() |