Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A scripting language for automatically creating BioMarts.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 ANTLR
Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 scripts
Octocat-spinner-32 src
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown


MartScript is a simple non-branching imperative scripting language for creating BioMarts (see automatically (i.e. non-interactively). The language supports

  • extending Ensembl databases with custom data
  • automation of MartBuilder/MartEditor functionality
  • the creation and execution of a BioMart's SQL-commands

This is a fully functional release of MartScript as a beta version, mainly due to the lack of documentation and some minor cosmetic issues. However, we used MartScript in production to create:

Executing MartScripts

Clone this repo or download the ZIP file. With Java 1.6 and Perl 5.12 (or newer) run the following:

for jar in lib/*.jar ; do export CLASSPATH=$CLASSPATH:`pwd`/$jar ; done
cd bin
java -Xmx3G org.bergmanlab.martscript.MartScript yourscript.mscr

Re-compiling MartScript

MartScript's Java classes can be recompiled using:

for jar in lib/*.jar ; do export CLASSPATH=$CLASSPATH:`pwd`/$jar ; done
javac -source 1.4 -d bin -sourcepath src src/org/bergmanlab/martscript/

Supporting Software

MartScript depends on partially modified code of MartBuilder as well as as JAR files of several libraries that from the BioMart project, which are redistributed here. MartBuilder, MartEditor and the JAR-packaged files are released under LGPL.


MartScript is released under the LGPL (see LICENSE).

Something went wrong with that request. Please try again.