BioQueue is a web-based queue engine designed preferentially to improve the efficiency and robustness of job execution in bioinformatics research by estimating the system resources required by a certain job. At the same time, BioQueue also aims to promote the accessibility and reproducibility of data analysis in biomedical research. Implemented by Python 2.7, BioQueue can work in both POSIX compatible systems (Linux, Solaris, OS X, etc.) and Windows.



BioQueue can store data on SQLite, which means users can set up BioQueue without an extra database software. However, to achieve a higher performance, we suggest users to install MySQL. For Windows users, download the MySQL Installer or Zipped binary from MySQL. For POSIX compatible systems (like Ubuntu) users, running the following command should be enough to install MySQL server.

sudo apt-get install mysql-server mysql-client
apt-get install libmysqld-dev
mysql -u root -p
GRANT ALL PRIVILEGES ON BioQueue . * TO 'bioqueue'@'localhost';

Note: The following instructions are for Ubuntu 14.04, but can be used as a guideline for other Linux flavors. Please replace 'YOURPASSWORD' with your own password for the database!

apt-get install python-dev
apt-get install python-pip

1. Download and setup the BioQueue project

First of all, you will need to clone the project from Github (Or you can download BioQueue by open this link).

git clone

Then navigate to the project's directory, and run script (All dependent python packages will be automatically installed):

cd BioQueue

When running, this script will ask you a few questions include:

  1. CPU cores: The amount of CPU to use. Default value: all cores on that machine.
  2. Memory (Gb): The amount of memory to use. Default value: all physical memory on that machine.
  3. Disk quota for each user(Gb, default value: all disk space on that machine).

If you decide to run BioQueue with MySQL, the script will ask a few more questions:

  1. Database host: If you install MySQL server on your own machine, enter localhost or
  2. Database user: user name of the database.
  3. Database password: password of the database.
  4. Database name: Name of the data table.
  5. Database port: 3306 by default

2. Start the queue

Run the script in the BioQueue/worker folder

python worker/

For Linux/Unix users, BioQueue can run in background by run instead of

python worker/ start

3. Start webserver

python runserver

This will start up the server on and port 8000, so BioQueue can be accessed over the network. If you want access BioQueue only in local environment, remove

4. Start ftp server (optional, listen 20001 port by default)

python worker/

This step is optional, if you run command above, the FTP server will listen 20001 port by default. For Linux/Unix users, BioQueue FTP service can run in background by run instead of

python worker/ start

Useful information


  1. Yao, L., Wang, H., Song, Y. & Sui, G. BioQueue: a novel pipeline framework to accelerate bioinformatics analysis. Bioinformatics 33, 3286–3288 (2017). doi:10.1093/bioinformatics/btx403