System Requirements

  • Linux, macOS, and Windows are supported

  • Java 11

  • 64-bit computer and operating system with more than 2GB RAM

Blast2GO Command Line is a Java application and can be run on Mac, Linux, and Windows 64-bit systems. It is necessary to have Java 64-bit HotSpot version 11+ configured.

Download Adopt Open JRE here:

For the GO Mapping step, the Blast2GO database has to be imported into a MongoDB server, it occupies about 20 GB.

In general this program works offline, however, CloudBlast and InterProScan depend on a working internet connection.

License and Product Activation

Blast2GO CLI offers 2 types of product activation. Either bound to specific hardware or via a floating license. Floating licenses are served by an RLM license server in the same network and the setup instructions are provided upon request. This section describes how to activate the product on a designated computer (either for evaluation or perpetual). You will need your Activation Key for these steps. The license can be obtained automatically from . To do so, a signature of the workstation has to be generated first. The command line parameter -createkeyfile will generate such a file named information.lic.
Note: On MS-Windows, all the following commands starting with ./ must be replaced with blast2go_cli.exe.
Steps to activate the Blast2GO Command Line:

  1. Generate the information.lic file with the following command:

    ./ -createkeyfile
  2. Go to to upload the information.lic, provide your Activation Key and your Email.

  3. The BioBam support team will create a license.lic file which has to be placed in the same folder as the Blast2GO CLI executable.

  4. You can check the details of your license file with the option -showlicenseinfo

You can now continue with the GO Mapping database installation below and have a look at the example use cases.

Create a Properties File

Blast2GO CLI needs a properties file, that contains all the information of the different parameters that can be changed for the analysis. The properties file is created with this command:

./ -createproperties cli.prop

Once this file has been created it is possible to edit it with a text editor. An editor with syntax highlighting is recommended since it allows us to better distinguish between comments and parameters.

Setting up a local Blast2GO Mapping Database

In order to set up a local GO Mapping database, please install MongoDB 3.6.X, make sure that the server is running, and import one of the data-dumps provided by us.

Newer versions of MongoDB, e.g. 4.0+ might not be compatible with our database dumps.

Regarding MongoDB, please follow the official instructions for installation:

Make sure mongod is running, you should start mongod and check for error messages. On Ubuntu Linux, /data/db is not created automatically, and starting mongod therefore fails. You can either create the folder or change the default database folder in mongo.conf (/etc/mongo.conf).

Blast2GO database dumps can be downloaded from:

# set the version you want to download
wget -c$DB_VERSION.gz
wget -c$DB_VERSION.gz.md5
md5sum -c $DB_VERSION.gz.md5

Do not extract the database dump, but import it directly as follows:

# set to your MongoDB server IP - is an example for localhost
mongorestore --host $MONGODB_SERVER --db go_db --collection $DB_VERSION --gzip --archive=$DB_VERSION.gz

Find the corresponding lines in the Blast2GO cli.prop file and modify them accordingly:

// ** GoMappingDirectParameters **
// Please specify your MongoDB connection URI:

// This is the name of the MongoDB collection to be used.

Please consider the following for your mongod.conf:

  • disable journaling (we will only be reading from this database)

  • set wiredTiger as engine (default in newer MongoDB versions)

  # Where and how to store the database. You will need about 25 GB at least - database will not grow, unless you install another version on top.
  dbPath: /var/lib/mongodb
    # journaling is not necessary
    enabled: false
  # Use this storage engine.
  engine: wiredTiger

  # Change the IP address binding if necessary and take it into account for the MongoURI.
  port: 27017

Please consider the following for your mongod.conf:

  • disable journaling (we will only be reading from this database)

  • set wiredTiger as engine (default in newer MongoDB versions)