OnWorks favicon

gt-genomediff - Online in the Cloud

Run gt-genomediff in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gt-genomediff that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gt-genomediff - Calculates Kr: pairwise distances between genomes.


gt genomediff [option ...] (INDEX | -indexname NAME SEQFILE SEQFILE [...])


-indextype [...]
specify type of index, one of: esa|pck|encseq. Where encseq is an encoded sequence and
an enhanced suffix array will be constructed only in memory. (default: encseq)

-indexname [string]
Basename of encseq to construct. (default: undefined)

-unitfile [filename]
specifies genomic units, see below for description. (default: undefined)

-mirrored [yes|no]
virtually append the reverse complement of each sequence (default: no)

-pl [value]
specify prefix length for bucket sort recommendation: use without argument; then a
reasonable prefix length is automatically determined. (default: 0)

-dc [value]
specify difference cover value (default: 0)

-memlimit [string]
specify maximal amount of memory to be used during index construction (in bytes, the
keywords MB and GB are allowed) (default: undefined)

-scan [yes|no]
do not load esa index but scan it sequentially. (default: yes)

-thr [value]
Threshold for difference (du, dl) in divergence calculation. default: 1e-9

-abs_err [value]
absolute error for expected shulen calculation. default: 1e-5

-rel_err [value]
relative error for expected shulen calculation. default: 1e-3

-M [value]
threshold for minimum logarithm. default: DBL_MIN

-v [yes|no]
be verbose (default: no)

display help for basic options and exit

display help for all options and exit

display version information and exit

The genomediff tool only accepts DNA input.

When used with sequence files or encseq, an enhanced suffix array will be built in memory.
The ESA will not be created completely, but construction will use -memlimit as a threshold
and build it partwise, calculating the Shu-length for each part.

File format for option -unitfile (in Lua syntax):

units = {
genome1 = { "path/file1.fa", "file2.fa" },
genome2 = { "file3.fa", "path/file4.fa" }

Give the path to the files as they were given to the encseq tool! You can use

$ gt encseq info INDEXNAME

to get a list of files in an encoded sequence.

Comment lines in Lua start with -- and will be ignored.

See GTDIR/testdata/genomediff/unitfile1.lua for an example.

Options -pl, -dc and -memlimit are options to influence ESA construction.


Report bugs to <willrodt@zbh.uni-hamburg.de>.

Use gt-genomediff online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands