Skip to main content

a tool to generate nucleotide composition-matched DNA sequences

Project description


a tool to generate composition-matched background sequence sets


A detailed documentation is available in different formats: HTML | PDF | ePUB


Quick installation using conda

BiasAway is available on Bioconda for installation via conda.

conda install -c bioconda biasaway

Install using pip

BiasAway is also available on PyPi for installation via pip.

pip install biasaway

BiasAway is developed in Python and Python packages biopython and numpy. Both pip and conda will install these dependencies and you are ready to use BiasAway. It is tested with Python versions 3.4, 3.5, 3.6, and 3.7.

Install BiasAway from source

You can install a development version by using git from bitbucket.

Install development version from Bitbucket

If you have git installed, use this:

git clone
cd biasaway
python sdist install

How to use BiasAway

Once you have installed biasaway, you can type:

biasaway --help

This will show the main help, which lists the four subcommands/modules: k, w, g, and c.

usage: biasaway <subcommand> [options]

        positional arguments <subcommand>: {k,w,g,c}

        List of subcommands
        k       k-mer shuffling generator
        w       k-mer shuffling within a sliding window generator
        g       %GC distribution-based background chooser
        c       GC distribution and %GC composition within a sliding window background chooser

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit

And to view the help for the six subcommands k, w, g, and c type:

biasaway k --help

biasaway w --help

biasaway g --help

biasaway c --help

Interactive web-server

BiasAway web-server is freely available at:


If you have questions, or found any bug in the program, please write to us at azizk[at] or anthony.mathelier[at]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biasaway-3.3.0.tar.gz (27.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page