EBI Home Page
Image Image   Image
Image  
 BioMart   MartService
  RESTful Access
(a) Querying BioMart

To submit a query using our webservices generate an XML document conforming to our Query XML syntax. This can be achieved simply by building up your query using MartView and hitting the XML button. This XML should be posted to http://www.biomart.org/martservice attached to a single parameter of query. For example you could either:
  • save your query as Query.xml and then POST this using the webExample.pl script in our biomart-perl/scripts installation.
  • submit using wget: wget -O results.txt 'http://www.biomart.org/biomart/martservice?query=MY_XML' replacing MY_XML with the XML obtained above, first removing any new lines.

(b) Retrieving Meta Data


  SOAP Access
The SOAP based access is functionally equivalent to the REST style access described above. For description on BioMart SOAP based Web Service (MartServiceSoap), see:

For more information see the web services section of our documentation.
Image Image Image  
Image Image
Image
Page last updated: