Quick start guide for versions 0.9 and 0.7
Save our query example below as query.xml
<!DOCTYPE Query><Query client="true" processor="TSV" limit="-1" header="1"><Dataset name="hsapiens_gene_ensembl" config="gene_ensembl_config"><Filter name="chromosome_name" value="1" filter_list=""/><Attribute name="ensembl_gene_id"/><Attribute name="ensembl_transcript_id"/></Dataset></Query>
Next, run the command respective of your Biomart service version:
curl --data-urlencode email@example.com http://central.biomart.org/martservice/results
curl --data-urlencode firstname.lastname@example.org http://www.biomart.org/biomart/martservice?query=
Creating Alternative Queries
Now that you're up and running you might like to try out different queries.
There are 2 ways to do this, you can use our GUI or access our meta data programmatically. We've outlined both methods below:
You can compile different queries using our web GUI
Follow the steps outlined by the GUI. After clicking the 'results' button, click the REST/SOAP button and save the query as query.xml. Finally run the query as explained in the Quick Start block, substituting the example query for your new query.xml.
If you need programmatic access to all the datasets, fitlers and attributes follow this link links below, respective of your Biomart service version.
For more information please refer to our documentation