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 fromentire,aroundnodes,aroundblast, ordepthrange(default:entire) ๐--nodes <list>โ A comma-separated list of starting nodes for thearoundnodesscope (default: none) ๐ฏ--partialโ Use partial node name matching (default: exact node name matching) ๐งฉ--distance <int>โ The number of node steps away to draw for thearoundnodesandaroundblastscopes (0 to 100, default: 0) ๐ฃ--mindepth <float>โ The minimum allowed depth for thedepthrangescope (0 to 1e+6, default: 10) ๐--maxdepth <float>โ The maximum allowed depth for thedepthrangescope (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 fromrandom,uniform,depth,blastsolid, orblastrainbow(default:randomif--queryisn't used,blastsolidif--queryis 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) ๐ผ
๐ BLAST search ๐
--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 ๐๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: bandage 0.9.0-2 ยท GPL-3.0-or-later
- debian trixie: bandage 0.9.0-2+b1 ยท GPL-3.0-or-later
- ubuntu jammy: bandage 0.9.0-1 ยท GPL-3.0-or-later
- ubuntu noble: bandage 0.9.0-2build2 ยท GPL-3.0-or-later
- ubuntu resolute: bandage 0.9.0-2build3 ยท GPL-3.0-or-later
- ubuntu stonking: bandage 0.9.0-2build3 ยท GPL-3.0-or-later
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms