BANDAGE(1)

โœจ BANDAGE(1) โœจ User Commands ๐Ÿ’–

Okay bestie, gather around ๐Ÿซถ This is the manual page for Bandage, and the manual name is Bandage - Bioinformatics Application for Navigating De novo Assembly Graphs Easily ๐Ÿฆ‹. Yes, that's a whole mouthful, but it's giving exactly what it promises.

๐ŸŒธ NAME ๐ŸŒธ

Bandage โ€” Bioinformatics Application for Navigating De novo Assembly Graphs Easily ๐Ÿ’…

๐Ÿงš SYNOPSIS ๐Ÿงš

Bandage <command> [options]

๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

Okay so Bandage is a GUI program that lets you poke around the assembly graphs made by de novo assemblers like Velvet, SPAdes, MEGAHIT and others. Literally iconic ๐Ÿ˜ญ๐Ÿ”ฅ

๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

๐ŸŽ€ Commands ๐ŸŽ€

  • <blank> โ€” Launch the Bandage GUI ๐ŸŒˆ
  • load โ€” Launch the Bandage GUI and load a graph file ๐Ÿ“‚
  • info โ€” Display information about a graph ๐Ÿ”
  • image โ€” Generate an image file of a graph ๐Ÿ–ผ๏ธ
  • querypaths โ€” Output graph paths for BLAST queries ๐Ÿงต
  • reduce โ€” Save a subgraph of a larger graph โœ‚๏ธ

๐ŸŒท Options ๐ŸŒท

  • --help โ€” View this help message ๐Ÿ™ˆ
  • --helpall โ€” View all command line settings ๐Ÿ“œ
  • --version โ€” View Bandage version number ๐Ÿ”ข

๐ŸŽจ Settings ๐ŸŽจ

Bestie, these options configure the Bandage settings you can also find in the Bandage GUI. It's giving customization queen โœจ

Colours can be specified using hex values, with or without an alpha channel (e.g. #FFB6C1 or #7FD2B48C) or using standard colour names (e.g. red, yellowgreen or skyblue).

Note that hex colours will either need to be enclosed in quotes (e.g. "#FFB6C1") or have the hash symbol escaped (e.g. \#FFB6C1). Don't skip this, it's a whole vibe check ๐Ÿ’€

๐ŸŒŸ Graph scope ๐ŸŒŸ

These settings control the graph scope. If the aroundnodes scope is used, then the --nodes option must also be used. If the aroundblast scope is used, a BLAST query must be given with the --query option ๐Ÿ’–

  • --scope <scope> โ€” Graph scope, picked from entire, aroundnodes, aroundblast, or depthrange (default: entire) ๐ŸŒ
  • --nodes <list> โ€” A comma-separated list of starting nodes for the aroundnodes scope (default: none) ๐ŸŽฏ
  • --partial โ€” Use partial node name matching (default: exact node name matching) ๐Ÿงฉ
  • --distance <int> โ€” The number of node steps away to draw for the aroundnodes and aroundblast scopes (0 to 100, default: 0) ๐Ÿ‘ฃ
  • --mindepth <float> โ€” The minimum allowed depth for the depthrange scope (0 to 1e+6, default: 10) ๐Ÿ“‰
  • --maxdepth <float> โ€” The maximum allowed depth for the depthrange scope (0 to 1e+6, default: 100) ๐Ÿ“ˆ
  • --double โ€” Draw graph in double mode (default: off) ๐Ÿ‘ฏ

๐Ÿ“ Graph size ๐Ÿ“

  • --nodelen <float> โ€” Node length per megabase (0 to 1e+6, default: auto) ๐Ÿ“
  • --minnodlen <float> โ€” Minimum node length (1 to 100, default: 5) ๐Ÿค
  • --edgelen <float> โ€” Edge length (0.1 to 100, default: 5) ๐Ÿชข
  • --edgewidth <float> โ€” Edge width (0.1 to 100, default: 1.5) ๐ŸŽ€
  • --doubsep <float> โ€” Double mode separation (0 to 100, default: 2) ๐Ÿซง

๐Ÿฆ‹ Graph layout ๐Ÿฆ‹

  • --nodseglen <float> โ€” Node segment length (1 to 1000, default: 20) ๐Ÿงถ
  • --iter <int> โ€” Graph layout iterations (0 to 4, default: 2) ๐Ÿ”
  • --linear โ€” Linear graph layout (default: off) ๐Ÿ“

๐Ÿ–๏ธ Graph appearance ๐Ÿ–๏ธ

  • --edgecol <col> โ€” Colour for edges (default: black) โฌ›
  • --outcol <col โ€” Colour for node outlines (default: black) ๐Ÿ–ค
  • --outline <float> โ€” Node outline thickness (0 to 100, default: 0) ๐Ÿซฅ
  • --selcol <col> โ€” Colour for selections (default: blue) ๐Ÿ’™
  • --noaa โ€” Disable antialiasing (default: antialiasing on) ๐Ÿšซ
  • --singlearr โ€” Show node arrowheads in single mode (default: nodes are only displayed with arrowheads in double mode) โžก๏ธ

๐Ÿ”ค Text appearance ๐Ÿ”ค

  • --textcol <col> โ€” Colour for label text (default: black) ๐Ÿ–Š๏ธ
  • --toutcol <col> โ€” Colour for text outline (default: white) ๐Ÿค
  • --toutline <float> โ€” Surround text with an outline with this thickness (0 to 10, default: 1.5) โœ๏ธ
  • --centre โ€” Node labels appear at the centre of the node (default: off, node labels appear over visible parts of nodes) ๐ŸŽฏ

๐Ÿ“ Node width ๐Ÿ“

Node widths are determined using the following formula, no cap it's a little math-y but you got this ๐Ÿงฎ

a*b*((c/d)^e-1)+1

a = average node width
b = depth effect on width
c = node depth
d = mean depth
e = power of depth effect on width
  • --nodewidth <float> โ€” Average node width (0.5 to 1000, default: 5) ๐Ÿซง
  • --depwidth <float> โ€” Depth effect on width (0 to 1, default: 0.5) ๐ŸŒŠ
  • --deppower <float> โ€” Power of depth effect on width (0 to 1, default: 0.5) โšก

๐Ÿท๏ธ Node labels ๐Ÿท๏ธ

  • --names โ€” Label nodes with name (default: off) ๐Ÿ“›
  • --lengths โ€” Label nodes with length (default: off) ๐Ÿ“
  • --depth โ€” Label nodes with depth (default: off) ๐Ÿ“Š
  • --blasthits โ€” Label BLAST hits (default: off) ๐ŸŽฏ
  • --fontsize <int> โ€” Font size for node labels (1 to 100, default: 12) ๐Ÿ” 

๐ŸŒˆ Node colours ๐ŸŒˆ

  • --colour <scheme> โ€” Node colouring scheme, picked from random, uniform, depth, blastsolid, or blastrainbow (default: random if --query isn't used, blastsolid if --query is used) ๐ŸŽจ

๐ŸŽฒ Random colour scheme ๐ŸŽฒ

These settings only apply when the random colour scheme is used ๐Ÿคช

  • --ransatpos <int> โ€” Positive node saturation (0 to 255, default: 127) ๐Ÿ’ฆ
  • --ransatneg <int> โ€” Negative node saturation (0 to 255, default: 127) ๐Ÿ’ง
  • --ranligpos <int> โ€” Positive node lightness (0 to 255, default: 150) โ˜€๏ธ
  • --ranligneg <int> โ€” Negative node lightness (0 to 255, default: 90) ๐ŸŒ™
  • --ranopapos <int> โ€” Positive node opacity (0 to 255, default: 255) ๐Ÿ”†
  • --ranopaneg <int> โ€” Negative node opacity (0 to 255, default: 255) ๐Ÿ”…

๐Ÿง Uniform colour scheme ๐Ÿง

These settings only apply when the uniform colour scheme is used ๐Ÿฌ

  • --unicolpos <col> โ€” Positive node colour (default: firebrick) ๐Ÿงฑ
  • --unicolneg <col> โ€” Negative node colour (default: maroon) ๐Ÿท
  • --unicolspe <col> โ€” Special node colour (default: green) ๐Ÿ’š

๐Ÿ‘ Depth colour scheme ๐Ÿ‘

These settings only apply when the depth colour scheme is used ๐Ÿซ 

  • --depcollow <col> โ€” Colour for nodes with depth below the low depth value (default: black) ๐Ÿ–ค
  • --depcolhi <col> โ€” Colour for nodes with depth above the high depth value (default: red) โค๏ธ
  • --depvallow <float> โ€” Low depth value (0 to 1e+6, default: auto) ๐Ÿ”ฝ
  • --depvalhi <float> โ€” High depth value (0 to 1e+6, default: auto) ๐Ÿ”ผ
  • --query <fastafile> โ€” A FASTA file of either nucleotide or protein sequences to use as BLAST queries (default: none) ๐Ÿงฌ
  • --blastp <param> โ€” Parameters to be used by blastn and tblastn when running a BLAST search in Bandage (default: none). Format BLAST parameters exactly as you'd use them for blastn/tblastn on the command line, and wrap them in quotes ๐ŸŽ€
  • --alfilter <int> โ€” Alignment length filter for BLAST hits. Hits with shorter alignments get excluded (1 to 1e+6, default: off) โœ‚๏ธ
  • --qcfilter <float> โ€” Query coverage filter for BLAST hits. Hits with less coverage get excluded (0 to 100, default: off) ๐Ÿ“‰
  • --ifilter <float> โ€” Identity filter for BLAST hits. Hits with less identity get excluded (0 to 100, default: off) ๐Ÿชž
  • --evfilter <sci> โ€” E-value filter for BLAST hits. Hits with larger e-values get excluded (1e-999 to 9.9e1, default: off) ๐Ÿงช
  • --bsfilter <float> โ€” Bit score filter for BLAST hits. Hits with lower bit scores get excluded (0 to 1e+6, default: off) ๐ŸŽฏ

๐Ÿ›ค๏ธ BLAST query paths ๐Ÿ›ค๏ธ

These settings control how Bandage hunts for query paths after running a BLAST search ๐Ÿ•ต๏ธโ€โ™€๏ธ

  • --pathnodes <int> โ€” The number of allowed nodes in a BLAST query path (1 to 50, default: 6) ๐Ÿ”ข
  • --minpatcov <float> โ€” Minimum fraction of a BLAST query that must be covered by a query path (0.3 to 1, default: 0.9) ๐Ÿ“
  • --minhitcov <float> โ€” Minimum fraction of a BLAST query that must be covered by BLAST hits in a query path (0.3 to 1, default: 0.9) ๐Ÿงฉ
  • --minmeanid <float> โ€” Minimum mean identity of BLAST hits in a query path (0 to 1, default: 0.5) ๐Ÿค
  • --maxevprod <sci> โ€” Maximum e-value product for all BLAST hits in a query path (1e-999 to 9.9e1, default: 1e-10) ๐Ÿงซ
  • --minpatlen <float> โ€” Minimum allowed relative path length compared to the query (0 to 10000, default: 0.95) ๐Ÿ“‰
  • --maxpatlen <float> โ€” Maximum allowed relative path length compared to the query (0 to 10000, default: 1.05) ๐Ÿ“ˆ
  • --minlendis <int> โ€” Minimum allowed length discrepancy (in bases) between a BLAST query and its path in the graph (-1e+6 to 1e+6, default: off) โž–
  • --maxlendis <int> โ€” Maximum allowed length discrepancy (in bases) between a BLAST query and its path in the graph (-1e+6 to 1e+6, default: off) โž•

๐Ÿ”— SEE ALSO ๐Ÿ”—

Online Bandage help: https://github.com/rrwick/Bandage/wiki ๐Ÿ“š

๐Ÿ™‹โ€โ™€๏ธ AUTHOR ๐Ÿ™‹โ€โ™€๏ธ

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. Huge thanks to Andreas for the rewrite ๐Ÿซถ


Bandage 0.8.1, August 2018, BANDAGE(1) โ€” go forth and graph responsibly, bestie ๐Ÿ’–๐Ÿฆ‹โœจ