Skip to content

Graph layout and appearance

Ryan Wick edited this page Sep 3, 2015 · 12 revisions

Graph layout

The 'Graph layout' section of Bandage settings controls how the nodes are physically arranged for display.

Each displayed nodes is made up of one or more line segments. The 'Base pairs per segment' setting controls how many line segments are used for each node. High values make nodes shorter, and a very high value will result in all nodes being approximately the same size (one line segment). Low values make nodes longer and result in a tighter relationship between the length of a node's sequence and the node's displayed length.

Base pairs per segment

The 'Graph layout iterations' setting controls how long Bandage spends positioning the nodes. A low value makes graph layout faster, but can result in messier layouts. A high value makes graph layout slower, but can result in cleaner layouts.

Graph layout iterations

Graph appearance

Read depth and node width

The 'Read depth and node width' section of Bandage settings controls the relationship between a node's read depth and its width. Nodes with an average read depth will have the width specified by the 'Node width' setting in the main Bandage window. Nodes with lower read depth will be narrower and nodes with higher read depth will be wider.

To prevent nodes with very high read depth from appearing excessively wide, the relationship uses a function with a power between 0.1 and 1.0.

Node width

Text appearance

Control over the node label text is available in the 'Text appearance' section of Bandage settings:

Text appearance